| OLD | NEW |
| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 checkComponentTransform(api.ComponentTransform o) { | 203 checkComponentTransform(api.ComponentTransform o) { |
| 204 buildCounterComponentTransform++; | 204 buildCounterComponentTransform++; |
| 205 if (buildCounterComponentTransform < 3) { | 205 if (buildCounterComponentTransform < 3) { |
| 206 unittest.expect(o.name, unittest.equals('foo')); | 206 unittest.expect(o.name, unittest.equals('foo')); |
| 207 unittest.expect(o.originalTransform, unittest.equals('foo')); | 207 unittest.expect(o.originalTransform, unittest.equals('foo')); |
| 208 unittest.expect(o.userName, unittest.equals('foo')); | 208 unittest.expect(o.userName, unittest.equals('foo')); |
| 209 } | 209 } |
| 210 buildCounterComponentTransform--; | 210 buildCounterComponentTransform--; |
| 211 } | 211 } |
| 212 | 212 |
| 213 buildUnnamed2973() { | 213 buildUnnamed3083() { |
| 214 var o = new core.List<api.StreamLocation>(); | 214 var o = new core.List<api.StreamLocation>(); |
| 215 o.add(buildStreamLocation()); | 215 o.add(buildStreamLocation()); |
| 216 o.add(buildStreamLocation()); | 216 o.add(buildStreamLocation()); |
| 217 return o; | 217 return o; |
| 218 } | 218 } |
| 219 | 219 |
| 220 checkUnnamed2973(core.List<api.StreamLocation> o) { | 220 checkUnnamed3083(core.List<api.StreamLocation> o) { |
| 221 unittest.expect(o, unittest.hasLength(2)); | 221 unittest.expect(o, unittest.hasLength(2)); |
| 222 checkStreamLocation(o[0]); | 222 checkStreamLocation(o[0]); |
| 223 checkStreamLocation(o[1]); | 223 checkStreamLocation(o[1]); |
| 224 } | 224 } |
| 225 | 225 |
| 226 buildUnnamed2974() { | 226 buildUnnamed3084() { |
| 227 var o = new core.List<api.KeyRangeLocation>(); | 227 var o = new core.List<api.KeyRangeLocation>(); |
| 228 o.add(buildKeyRangeLocation()); | 228 o.add(buildKeyRangeLocation()); |
| 229 o.add(buildKeyRangeLocation()); | 229 o.add(buildKeyRangeLocation()); |
| 230 return o; | 230 return o; |
| 231 } | 231 } |
| 232 | 232 |
| 233 checkUnnamed2974(core.List<api.KeyRangeLocation> o) { | 233 checkUnnamed3084(core.List<api.KeyRangeLocation> o) { |
| 234 unittest.expect(o, unittest.hasLength(2)); | 234 unittest.expect(o, unittest.hasLength(2)); |
| 235 checkKeyRangeLocation(o[0]); | 235 checkKeyRangeLocation(o[0]); |
| 236 checkKeyRangeLocation(o[1]); | 236 checkKeyRangeLocation(o[1]); |
| 237 } | 237 } |
| 238 | 238 |
| 239 buildUnnamed2975() { | 239 buildUnnamed3085() { |
| 240 var o = new core.List<api.StreamLocation>(); | 240 var o = new core.List<api.StreamLocation>(); |
| 241 o.add(buildStreamLocation()); | 241 o.add(buildStreamLocation()); |
| 242 o.add(buildStreamLocation()); | 242 o.add(buildStreamLocation()); |
| 243 return o; | 243 return o; |
| 244 } | 244 } |
| 245 | 245 |
| 246 checkUnnamed2975(core.List<api.StreamLocation> o) { | 246 checkUnnamed3085(core.List<api.StreamLocation> o) { |
| 247 unittest.expect(o, unittest.hasLength(2)); | 247 unittest.expect(o, unittest.hasLength(2)); |
| 248 checkStreamLocation(o[0]); | 248 checkStreamLocation(o[0]); |
| 249 checkStreamLocation(o[1]); | 249 checkStreamLocation(o[1]); |
| 250 } | 250 } |
| 251 | 251 |
| 252 buildUnnamed2976() { | 252 buildUnnamed3086() { |
| 253 var o = new core.List<api.StateFamilyConfig>(); | 253 var o = new core.List<api.StateFamilyConfig>(); |
| 254 o.add(buildStateFamilyConfig()); | 254 o.add(buildStateFamilyConfig()); |
| 255 o.add(buildStateFamilyConfig()); | 255 o.add(buildStateFamilyConfig()); |
| 256 return o; | 256 return o; |
| 257 } | 257 } |
| 258 | 258 |
| 259 checkUnnamed2976(core.List<api.StateFamilyConfig> o) { | 259 checkUnnamed3086(core.List<api.StateFamilyConfig> o) { |
| 260 unittest.expect(o, unittest.hasLength(2)); | 260 unittest.expect(o, unittest.hasLength(2)); |
| 261 checkStateFamilyConfig(o[0]); | 261 checkStateFamilyConfig(o[0]); |
| 262 checkStateFamilyConfig(o[1]); | 262 checkStateFamilyConfig(o[1]); |
| 263 } | 263 } |
| 264 | 264 |
| 265 core.int buildCounterComputationTopology = 0; | 265 core.int buildCounterComputationTopology = 0; |
| 266 buildComputationTopology() { | 266 buildComputationTopology() { |
| 267 var o = new api.ComputationTopology(); | 267 var o = new api.ComputationTopology(); |
| 268 buildCounterComputationTopology++; | 268 buildCounterComputationTopology++; |
| 269 if (buildCounterComputationTopology < 3) { | 269 if (buildCounterComputationTopology < 3) { |
| 270 o.computationId = "foo"; | 270 o.computationId = "foo"; |
| 271 o.inputs = buildUnnamed2973(); | 271 o.inputs = buildUnnamed3083(); |
| 272 o.keyRanges = buildUnnamed2974(); | 272 o.keyRanges = buildUnnamed3084(); |
| 273 o.outputs = buildUnnamed2975(); | 273 o.outputs = buildUnnamed3085(); |
| 274 o.stateFamilies = buildUnnamed2976(); | 274 o.stateFamilies = buildUnnamed3086(); |
| 275 o.systemStageName = "foo"; | 275 o.systemStageName = "foo"; |
| 276 o.userStageName = "foo"; | 276 o.userStageName = "foo"; |
| 277 } | 277 } |
| 278 buildCounterComputationTopology--; | 278 buildCounterComputationTopology--; |
| 279 return o; | 279 return o; |
| 280 } | 280 } |
| 281 | 281 |
| 282 checkComputationTopology(api.ComputationTopology o) { | 282 checkComputationTopology(api.ComputationTopology o) { |
| 283 buildCounterComputationTopology++; | 283 buildCounterComputationTopology++; |
| 284 if (buildCounterComputationTopology < 3) { | 284 if (buildCounterComputationTopology < 3) { |
| 285 unittest.expect(o.computationId, unittest.equals('foo')); | 285 unittest.expect(o.computationId, unittest.equals('foo')); |
| 286 checkUnnamed2973(o.inputs); | 286 checkUnnamed3083(o.inputs); |
| 287 checkUnnamed2974(o.keyRanges); | 287 checkUnnamed3084(o.keyRanges); |
| 288 checkUnnamed2975(o.outputs); | 288 checkUnnamed3085(o.outputs); |
| 289 checkUnnamed2976(o.stateFamilies); | 289 checkUnnamed3086(o.stateFamilies); |
| 290 unittest.expect(o.systemStageName, unittest.equals('foo')); | 290 unittest.expect(o.systemStageName, unittest.equals('foo')); |
| 291 unittest.expect(o.userStageName, unittest.equals('foo')); | 291 unittest.expect(o.userStageName, unittest.equals('foo')); |
| 292 } | 292 } |
| 293 buildCounterComputationTopology--; | 293 buildCounterComputationTopology--; |
| 294 } | 294 } |
| 295 | 295 |
| 296 core.int buildCounterConcatPosition = 0; | 296 core.int buildCounterConcatPosition = 0; |
| 297 buildConcatPosition() { | 297 buildConcatPosition() { |
| 298 var o = new api.ConcatPosition(); | 298 var o = new api.ConcatPosition(); |
| 299 buildCounterConcatPosition++; | 299 buildCounterConcatPosition++; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 checkIntegerMean(o.integerMean); | 431 checkIntegerMean(o.integerMean); |
| 432 var casted1 = (o.internal) as core.Map; unittest.expect(casted1, unittest.ha
sLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unitt
est.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["str
ing"], unittest.equals('foo')); | 432 var casted1 = (o.internal) as core.Map; unittest.expect(casted1, unittest.ha
sLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unitt
est.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["str
ing"], unittest.equals('foo')); |
| 433 checkNameAndKind(o.nameAndKind); | 433 checkNameAndKind(o.nameAndKind); |
| 434 unittest.expect(o.shortId, unittest.equals('foo')); | 434 unittest.expect(o.shortId, unittest.equals('foo')); |
| 435 checkStringList(o.stringList); | 435 checkStringList(o.stringList); |
| 436 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); | 436 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); |
| 437 } | 437 } |
| 438 buildCounterCounterUpdate--; | 438 buildCounterCounterUpdate--; |
| 439 } | 439 } |
| 440 | 440 |
| 441 buildUnnamed2977() { | 441 buildUnnamed3087() { |
| 442 var o = new core.Map<core.String, core.String>(); | 442 var o = new core.Map<core.String, core.String>(); |
| 443 o["x"] = "foo"; | 443 o["x"] = "foo"; |
| 444 o["y"] = "foo"; | 444 o["y"] = "foo"; |
| 445 return o; | 445 return o; |
| 446 } | 446 } |
| 447 | 447 |
| 448 checkUnnamed2977(core.Map<core.String, core.String> o) { | 448 checkUnnamed3087(core.Map<core.String, core.String> o) { |
| 449 unittest.expect(o, unittest.hasLength(2)); | 449 unittest.expect(o, unittest.hasLength(2)); |
| 450 unittest.expect(o["x"], unittest.equals('foo')); | 450 unittest.expect(o["x"], unittest.equals('foo')); |
| 451 unittest.expect(o["y"], unittest.equals('foo')); | 451 unittest.expect(o["y"], unittest.equals('foo')); |
| 452 } | 452 } |
| 453 | 453 |
| 454 core.int buildCounterCreateJobFromTemplateRequest = 0; | 454 core.int buildCounterCreateJobFromTemplateRequest = 0; |
| 455 buildCreateJobFromTemplateRequest() { | 455 buildCreateJobFromTemplateRequest() { |
| 456 var o = new api.CreateJobFromTemplateRequest(); | 456 var o = new api.CreateJobFromTemplateRequest(); |
| 457 buildCounterCreateJobFromTemplateRequest++; | 457 buildCounterCreateJobFromTemplateRequest++; |
| 458 if (buildCounterCreateJobFromTemplateRequest < 3) { | 458 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 459 o.environment = buildRuntimeEnvironment(); | 459 o.environment = buildRuntimeEnvironment(); |
| 460 o.gcsPath = "foo"; | 460 o.gcsPath = "foo"; |
| 461 o.jobName = "foo"; | 461 o.jobName = "foo"; |
| 462 o.parameters = buildUnnamed2977(); | 462 o.parameters = buildUnnamed3087(); |
| 463 } | 463 } |
| 464 buildCounterCreateJobFromTemplateRequest--; | 464 buildCounterCreateJobFromTemplateRequest--; |
| 465 return o; | 465 return o; |
| 466 } | 466 } |
| 467 | 467 |
| 468 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { | 468 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { |
| 469 buildCounterCreateJobFromTemplateRequest++; | 469 buildCounterCreateJobFromTemplateRequest++; |
| 470 if (buildCounterCreateJobFromTemplateRequest < 3) { | 470 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 471 checkRuntimeEnvironment(o.environment); | 471 checkRuntimeEnvironment(o.environment); |
| 472 unittest.expect(o.gcsPath, unittest.equals('foo')); | 472 unittest.expect(o.gcsPath, unittest.equals('foo')); |
| 473 unittest.expect(o.jobName, unittest.equals('foo')); | 473 unittest.expect(o.jobName, unittest.equals('foo')); |
| 474 checkUnnamed2977(o.parameters); | 474 checkUnnamed3087(o.parameters); |
| 475 } | 475 } |
| 476 buildCounterCreateJobFromTemplateRequest--; | 476 buildCounterCreateJobFromTemplateRequest--; |
| 477 } | 477 } |
| 478 | 478 |
| 479 core.int buildCounterCustomSourceLocation = 0; | 479 core.int buildCounterCustomSourceLocation = 0; |
| 480 buildCustomSourceLocation() { | 480 buildCustomSourceLocation() { |
| 481 var o = new api.CustomSourceLocation(); | 481 var o = new api.CustomSourceLocation(); |
| 482 buildCounterCustomSourceLocation++; | 482 buildCounterCustomSourceLocation++; |
| 483 if (buildCounterCustomSourceLocation < 3) { | 483 if (buildCounterCustomSourceLocation < 3) { |
| 484 o.stateful = true; | 484 o.stateful = true; |
| 485 } | 485 } |
| 486 buildCounterCustomSourceLocation--; | 486 buildCounterCustomSourceLocation--; |
| 487 return o; | 487 return o; |
| 488 } | 488 } |
| 489 | 489 |
| 490 checkCustomSourceLocation(api.CustomSourceLocation o) { | 490 checkCustomSourceLocation(api.CustomSourceLocation o) { |
| 491 buildCounterCustomSourceLocation++; | 491 buildCounterCustomSourceLocation++; |
| 492 if (buildCounterCustomSourceLocation < 3) { | 492 if (buildCounterCustomSourceLocation < 3) { |
| 493 unittest.expect(o.stateful, unittest.isTrue); | 493 unittest.expect(o.stateful, unittest.isTrue); |
| 494 } | 494 } |
| 495 buildCounterCustomSourceLocation--; | 495 buildCounterCustomSourceLocation--; |
| 496 } | 496 } |
| 497 | 497 |
| 498 buildUnnamed2978() { | 498 buildUnnamed3088() { |
| 499 var o = new core.List<core.String>(); | 499 var o = new core.List<core.String>(); |
| 500 o.add("foo"); | 500 o.add("foo"); |
| 501 o.add("foo"); | 501 o.add("foo"); |
| 502 return o; | 502 return o; |
| 503 } | 503 } |
| 504 | 504 |
| 505 checkUnnamed2978(core.List<core.String> o) { | 505 checkUnnamed3088(core.List<core.String> o) { |
| 506 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
| 507 unittest.expect(o[0], unittest.equals('foo')); | 507 unittest.expect(o[0], unittest.equals('foo')); |
| 508 unittest.expect(o[1], unittest.equals('foo')); | 508 unittest.expect(o[1], unittest.equals('foo')); |
| 509 } | 509 } |
| 510 | 510 |
| 511 core.int buildCounterDataDiskAssignment = 0; | 511 core.int buildCounterDataDiskAssignment = 0; |
| 512 buildDataDiskAssignment() { | 512 buildDataDiskAssignment() { |
| 513 var o = new api.DataDiskAssignment(); | 513 var o = new api.DataDiskAssignment(); |
| 514 buildCounterDataDiskAssignment++; | 514 buildCounterDataDiskAssignment++; |
| 515 if (buildCounterDataDiskAssignment < 3) { | 515 if (buildCounterDataDiskAssignment < 3) { |
| 516 o.dataDisks = buildUnnamed2978(); | 516 o.dataDisks = buildUnnamed3088(); |
| 517 o.vmInstance = "foo"; | 517 o.vmInstance = "foo"; |
| 518 } | 518 } |
| 519 buildCounterDataDiskAssignment--; | 519 buildCounterDataDiskAssignment--; |
| 520 return o; | 520 return o; |
| 521 } | 521 } |
| 522 | 522 |
| 523 checkDataDiskAssignment(api.DataDiskAssignment o) { | 523 checkDataDiskAssignment(api.DataDiskAssignment o) { |
| 524 buildCounterDataDiskAssignment++; | 524 buildCounterDataDiskAssignment++; |
| 525 if (buildCounterDataDiskAssignment < 3) { | 525 if (buildCounterDataDiskAssignment < 3) { |
| 526 checkUnnamed2978(o.dataDisks); | 526 checkUnnamed3088(o.dataDisks); |
| 527 unittest.expect(o.vmInstance, unittest.equals('foo')); | 527 unittest.expect(o.vmInstance, unittest.equals('foo')); |
| 528 } | 528 } |
| 529 buildCounterDataDiskAssignment--; | 529 buildCounterDataDiskAssignment--; |
| 530 } | 530 } |
| 531 | 531 |
| 532 core.int buildCounterDerivedSource = 0; | 532 core.int buildCounterDerivedSource = 0; |
| 533 buildDerivedSource() { | 533 buildDerivedSource() { |
| 534 var o = new api.DerivedSource(); | 534 var o = new api.DerivedSource(); |
| 535 buildCounterDerivedSource++; | 535 buildCounterDerivedSource++; |
| 536 if (buildCounterDerivedSource < 3) { | 536 if (buildCounterDerivedSource < 3) { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 | 655 |
| 656 checkDynamicSourceSplit(api.DynamicSourceSplit o) { | 656 checkDynamicSourceSplit(api.DynamicSourceSplit o) { |
| 657 buildCounterDynamicSourceSplit++; | 657 buildCounterDynamicSourceSplit++; |
| 658 if (buildCounterDynamicSourceSplit < 3) { | 658 if (buildCounterDynamicSourceSplit < 3) { |
| 659 checkDerivedSource(o.primary); | 659 checkDerivedSource(o.primary); |
| 660 checkDerivedSource(o.residual); | 660 checkDerivedSource(o.residual); |
| 661 } | 661 } |
| 662 buildCounterDynamicSourceSplit--; | 662 buildCounterDynamicSourceSplit--; |
| 663 } | 663 } |
| 664 | 664 |
| 665 buildUnnamed2979() { | 665 buildUnnamed3089() { |
| 666 var o = new core.List<core.String>(); | 666 var o = new core.List<core.String>(); |
| 667 o.add("foo"); | 667 o.add("foo"); |
| 668 o.add("foo"); | 668 o.add("foo"); |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkUnnamed2979(core.List<core.String> o) { | 672 checkUnnamed3089(core.List<core.String> o) { |
| 673 unittest.expect(o, unittest.hasLength(2)); | 673 unittest.expect(o, unittest.hasLength(2)); |
| 674 unittest.expect(o[0], unittest.equals('foo')); | 674 unittest.expect(o[0], unittest.equals('foo')); |
| 675 unittest.expect(o[1], unittest.equals('foo')); | 675 unittest.expect(o[1], unittest.equals('foo')); |
| 676 } | 676 } |
| 677 | 677 |
| 678 buildUnnamed2980() { | 678 buildUnnamed3090() { |
| 679 var o = new core.Map<core.String, core.Object>(); | 679 var o = new core.Map<core.String, core.Object>(); |
| 680 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 680 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 681 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 681 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 682 return o; | 682 return o; |
| 683 } | 683 } |
| 684 | 684 |
| 685 checkUnnamed2980(core.Map<core.String, core.Object> o) { | 685 checkUnnamed3090(core.Map<core.String, core.Object> o) { |
| 686 unittest.expect(o, unittest.hasLength(2)); | 686 unittest.expect(o, unittest.hasLength(2)); |
| 687 var casted2 = (o["x"]) 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')); | 687 var casted2 = (o["x"]) 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')); |
| 688 var casted3 = (o["y"]) 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')); | 688 var casted3 = (o["y"]) 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')); |
| 689 } | 689 } |
| 690 | 690 |
| 691 buildUnnamed2981() { | 691 buildUnnamed3091() { |
| 692 var o = new core.Map<core.String, core.Object>(); | 692 var o = new core.Map<core.String, core.Object>(); |
| 693 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 693 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 694 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 694 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 695 return o; | 695 return o; |
| 696 } | 696 } |
| 697 | 697 |
| 698 checkUnnamed2981(core.Map<core.String, core.Object> o) { | 698 checkUnnamed3091(core.Map<core.String, core.Object> o) { |
| 699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
| 700 var casted4 = (o["x"]) 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')); | 700 var casted4 = (o["x"]) 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')); |
| 701 var casted5 = (o["y"]) 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')); | 701 var casted5 = (o["y"]) 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')); |
| 702 } | 702 } |
| 703 | 703 |
| 704 buildUnnamed2982() { | 704 buildUnnamed3092() { |
| 705 var o = new core.Map<core.String, core.Object>(); | 705 var o = new core.Map<core.String, core.Object>(); |
| 706 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 706 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 707 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 707 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 708 return o; | 708 return o; |
| 709 } | 709 } |
| 710 | 710 |
| 711 checkUnnamed2982(core.Map<core.String, core.Object> o) { | 711 checkUnnamed3092(core.Map<core.String, core.Object> o) { |
| 712 unittest.expect(o, unittest.hasLength(2)); | 712 unittest.expect(o, unittest.hasLength(2)); |
| 713 var casted6 = (o["x"]) 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')); | 713 var casted6 = (o["x"]) 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')); |
| 714 var casted7 = (o["y"]) 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')); | 714 var casted7 = (o["y"]) 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')); |
| 715 } | 715 } |
| 716 | 716 |
| 717 buildUnnamed2983() { | 717 buildUnnamed3093() { |
| 718 var o = new core.Map<core.String, core.Object>(); | 718 var o = new core.Map<core.String, core.Object>(); |
| 719 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 719 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 720 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 720 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 721 return o; | 721 return o; |
| 722 } | 722 } |
| 723 | 723 |
| 724 checkUnnamed2983(core.Map<core.String, core.Object> o) { | 724 checkUnnamed3093(core.Map<core.String, core.Object> o) { |
| 725 unittest.expect(o, unittest.hasLength(2)); | 725 unittest.expect(o, unittest.hasLength(2)); |
| 726 var casted8 = (o["x"]) 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')); | 726 var casted8 = (o["x"]) 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')); |
| 727 var casted9 = (o["y"]) 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')); | 727 var casted9 = (o["y"]) 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')); |
| 728 } | 728 } |
| 729 | 729 |
| 730 buildUnnamed2984() { | 730 buildUnnamed3094() { |
| 731 var o = new core.List<api.WorkerPool>(); | 731 var o = new core.List<api.WorkerPool>(); |
| 732 o.add(buildWorkerPool()); | 732 o.add(buildWorkerPool()); |
| 733 o.add(buildWorkerPool()); | 733 o.add(buildWorkerPool()); |
| 734 return o; | 734 return o; |
| 735 } | 735 } |
| 736 | 736 |
| 737 checkUnnamed2984(core.List<api.WorkerPool> o) { | 737 checkUnnamed3094(core.List<api.WorkerPool> o) { |
| 738 unittest.expect(o, unittest.hasLength(2)); | 738 unittest.expect(o, unittest.hasLength(2)); |
| 739 checkWorkerPool(o[0]); | 739 checkWorkerPool(o[0]); |
| 740 checkWorkerPool(o[1]); | 740 checkWorkerPool(o[1]); |
| 741 } | 741 } |
| 742 | 742 |
| 743 core.int buildCounterEnvironment = 0; | 743 core.int buildCounterEnvironment = 0; |
| 744 buildEnvironment() { | 744 buildEnvironment() { |
| 745 var o = new api.Environment(); | 745 var o = new api.Environment(); |
| 746 buildCounterEnvironment++; | 746 buildCounterEnvironment++; |
| 747 if (buildCounterEnvironment < 3) { | 747 if (buildCounterEnvironment < 3) { |
| 748 o.clusterManagerApiService = "foo"; | 748 o.clusterManagerApiService = "foo"; |
| 749 o.dataset = "foo"; | 749 o.dataset = "foo"; |
| 750 o.experiments = buildUnnamed2979(); | 750 o.experiments = buildUnnamed3089(); |
| 751 o.internalExperiments = buildUnnamed2980(); | 751 o.internalExperiments = buildUnnamed3090(); |
| 752 o.sdkPipelineOptions = buildUnnamed2981(); | 752 o.sdkPipelineOptions = buildUnnamed3091(); |
| 753 o.serviceAccountEmail = "foo"; | 753 o.serviceAccountEmail = "foo"; |
| 754 o.tempStoragePrefix = "foo"; | 754 o.tempStoragePrefix = "foo"; |
| 755 o.userAgent = buildUnnamed2982(); | 755 o.userAgent = buildUnnamed3092(); |
| 756 o.version = buildUnnamed2983(); | 756 o.version = buildUnnamed3093(); |
| 757 o.workerPools = buildUnnamed2984(); | 757 o.workerPools = buildUnnamed3094(); |
| 758 } | 758 } |
| 759 buildCounterEnvironment--; | 759 buildCounterEnvironment--; |
| 760 return o; | 760 return o; |
| 761 } | 761 } |
| 762 | 762 |
| 763 checkEnvironment(api.Environment o) { | 763 checkEnvironment(api.Environment o) { |
| 764 buildCounterEnvironment++; | 764 buildCounterEnvironment++; |
| 765 if (buildCounterEnvironment < 3) { | 765 if (buildCounterEnvironment < 3) { |
| 766 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); | 766 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); |
| 767 unittest.expect(o.dataset, unittest.equals('foo')); | 767 unittest.expect(o.dataset, unittest.equals('foo')); |
| 768 checkUnnamed2979(o.experiments); | 768 checkUnnamed3089(o.experiments); |
| 769 checkUnnamed2980(o.internalExperiments); | 769 checkUnnamed3090(o.internalExperiments); |
| 770 checkUnnamed2981(o.sdkPipelineOptions); | 770 checkUnnamed3091(o.sdkPipelineOptions); |
| 771 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); | 771 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); |
| 772 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 772 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 773 checkUnnamed2982(o.userAgent); | 773 checkUnnamed3092(o.userAgent); |
| 774 checkUnnamed2983(o.version); | 774 checkUnnamed3093(o.version); |
| 775 checkUnnamed2984(o.workerPools); | 775 checkUnnamed3094(o.workerPools); |
| 776 } | 776 } |
| 777 buildCounterEnvironment--; | 777 buildCounterEnvironment--; |
| 778 } | 778 } |
| 779 | 779 |
| 780 buildUnnamed2985() { | 780 buildUnnamed3095() { |
| 781 var o = new core.List<api.ComponentSource>(); | 781 var o = new core.List<api.ComponentSource>(); |
| 782 o.add(buildComponentSource()); | 782 o.add(buildComponentSource()); |
| 783 o.add(buildComponentSource()); | 783 o.add(buildComponentSource()); |
| 784 return o; | 784 return o; |
| 785 } | 785 } |
| 786 | 786 |
| 787 checkUnnamed2985(core.List<api.ComponentSource> o) { | 787 checkUnnamed3095(core.List<api.ComponentSource> o) { |
| 788 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
| 789 checkComponentSource(o[0]); | 789 checkComponentSource(o[0]); |
| 790 checkComponentSource(o[1]); | 790 checkComponentSource(o[1]); |
| 791 } | 791 } |
| 792 | 792 |
| 793 buildUnnamed2986() { | 793 buildUnnamed3096() { |
| 794 var o = new core.List<api.ComponentTransform>(); | 794 var o = new core.List<api.ComponentTransform>(); |
| 795 o.add(buildComponentTransform()); | 795 o.add(buildComponentTransform()); |
| 796 o.add(buildComponentTransform()); | 796 o.add(buildComponentTransform()); |
| 797 return o; | 797 return o; |
| 798 } | 798 } |
| 799 | 799 |
| 800 checkUnnamed2986(core.List<api.ComponentTransform> o) { | 800 checkUnnamed3096(core.List<api.ComponentTransform> o) { |
| 801 unittest.expect(o, unittest.hasLength(2)); | 801 unittest.expect(o, unittest.hasLength(2)); |
| 802 checkComponentTransform(o[0]); | 802 checkComponentTransform(o[0]); |
| 803 checkComponentTransform(o[1]); | 803 checkComponentTransform(o[1]); |
| 804 } | 804 } |
| 805 | 805 |
| 806 buildUnnamed2987() { | 806 buildUnnamed3097() { |
| 807 var o = new core.List<api.StageSource>(); | 807 var o = new core.List<api.StageSource>(); |
| 808 o.add(buildStageSource()); | 808 o.add(buildStageSource()); |
| 809 o.add(buildStageSource()); | 809 o.add(buildStageSource()); |
| 810 return o; | 810 return o; |
| 811 } | 811 } |
| 812 | 812 |
| 813 checkUnnamed2987(core.List<api.StageSource> o) { | 813 checkUnnamed3097(core.List<api.StageSource> o) { |
| 814 unittest.expect(o, unittest.hasLength(2)); | 814 unittest.expect(o, unittest.hasLength(2)); |
| 815 checkStageSource(o[0]); | 815 checkStageSource(o[0]); |
| 816 checkStageSource(o[1]); | 816 checkStageSource(o[1]); |
| 817 } | 817 } |
| 818 | 818 |
| 819 buildUnnamed2988() { | 819 buildUnnamed3098() { |
| 820 var o = new core.List<api.StageSource>(); | 820 var o = new core.List<api.StageSource>(); |
| 821 o.add(buildStageSource()); | 821 o.add(buildStageSource()); |
| 822 o.add(buildStageSource()); | 822 o.add(buildStageSource()); |
| 823 return o; | 823 return o; |
| 824 } | 824 } |
| 825 | 825 |
| 826 checkUnnamed2988(core.List<api.StageSource> o) { | 826 checkUnnamed3098(core.List<api.StageSource> o) { |
| 827 unittest.expect(o, unittest.hasLength(2)); | 827 unittest.expect(o, unittest.hasLength(2)); |
| 828 checkStageSource(o[0]); | 828 checkStageSource(o[0]); |
| 829 checkStageSource(o[1]); | 829 checkStageSource(o[1]); |
| 830 } | 830 } |
| 831 | 831 |
| 832 core.int buildCounterExecutionStageSummary = 0; | 832 core.int buildCounterExecutionStageSummary = 0; |
| 833 buildExecutionStageSummary() { | 833 buildExecutionStageSummary() { |
| 834 var o = new api.ExecutionStageSummary(); | 834 var o = new api.ExecutionStageSummary(); |
| 835 buildCounterExecutionStageSummary++; | 835 buildCounterExecutionStageSummary++; |
| 836 if (buildCounterExecutionStageSummary < 3) { | 836 if (buildCounterExecutionStageSummary < 3) { |
| 837 o.componentSource = buildUnnamed2985(); | 837 o.componentSource = buildUnnamed3095(); |
| 838 o.componentTransform = buildUnnamed2986(); | 838 o.componentTransform = buildUnnamed3096(); |
| 839 o.id = "foo"; | 839 o.id = "foo"; |
| 840 o.inputSource = buildUnnamed2987(); | 840 o.inputSource = buildUnnamed3097(); |
| 841 o.kind = "foo"; | 841 o.kind = "foo"; |
| 842 o.name = "foo"; | 842 o.name = "foo"; |
| 843 o.outputSource = buildUnnamed2988(); | 843 o.outputSource = buildUnnamed3098(); |
| 844 } | 844 } |
| 845 buildCounterExecutionStageSummary--; | 845 buildCounterExecutionStageSummary--; |
| 846 return o; | 846 return o; |
| 847 } | 847 } |
| 848 | 848 |
| 849 checkExecutionStageSummary(api.ExecutionStageSummary o) { | 849 checkExecutionStageSummary(api.ExecutionStageSummary o) { |
| 850 buildCounterExecutionStageSummary++; | 850 buildCounterExecutionStageSummary++; |
| 851 if (buildCounterExecutionStageSummary < 3) { | 851 if (buildCounterExecutionStageSummary < 3) { |
| 852 checkUnnamed2985(o.componentSource); | 852 checkUnnamed3095(o.componentSource); |
| 853 checkUnnamed2986(o.componentTransform); | 853 checkUnnamed3096(o.componentTransform); |
| 854 unittest.expect(o.id, unittest.equals('foo')); | 854 unittest.expect(o.id, unittest.equals('foo')); |
| 855 checkUnnamed2987(o.inputSource); | 855 checkUnnamed3097(o.inputSource); |
| 856 unittest.expect(o.kind, unittest.equals('foo')); | 856 unittest.expect(o.kind, unittest.equals('foo')); |
| 857 unittest.expect(o.name, unittest.equals('foo')); | 857 unittest.expect(o.name, unittest.equals('foo')); |
| 858 checkUnnamed2988(o.outputSource); | 858 checkUnnamed3098(o.outputSource); |
| 859 } | 859 } |
| 860 buildCounterExecutionStageSummary--; | 860 buildCounterExecutionStageSummary--; |
| 861 } | 861 } |
| 862 | 862 |
| 863 core.int buildCounterFailedLocation = 0; | 863 core.int buildCounterFailedLocation = 0; |
| 864 buildFailedLocation() { | 864 buildFailedLocation() { |
| 865 var o = new api.FailedLocation(); | 865 var o = new api.FailedLocation(); |
| 866 buildCounterFailedLocation++; | 866 buildCounterFailedLocation++; |
| 867 if (buildCounterFailedLocation < 3) { | 867 if (buildCounterFailedLocation < 3) { |
| 868 o.name = "foo"; | 868 o.name = "foo"; |
| 869 } | 869 } |
| 870 buildCounterFailedLocation--; | 870 buildCounterFailedLocation--; |
| 871 return o; | 871 return o; |
| 872 } | 872 } |
| 873 | 873 |
| 874 checkFailedLocation(api.FailedLocation o) { | 874 checkFailedLocation(api.FailedLocation o) { |
| 875 buildCounterFailedLocation++; | 875 buildCounterFailedLocation++; |
| 876 if (buildCounterFailedLocation < 3) { | 876 if (buildCounterFailedLocation < 3) { |
| 877 unittest.expect(o.name, unittest.equals('foo')); | 877 unittest.expect(o.name, unittest.equals('foo')); |
| 878 } | 878 } |
| 879 buildCounterFailedLocation--; | 879 buildCounterFailedLocation--; |
| 880 } | 880 } |
| 881 | 881 |
| 882 buildUnnamed2989() { | 882 buildUnnamed3099() { |
| 883 var o = new core.List<api.InstructionInput>(); | 883 var o = new core.List<api.InstructionInput>(); |
| 884 o.add(buildInstructionInput()); | 884 o.add(buildInstructionInput()); |
| 885 o.add(buildInstructionInput()); | 885 o.add(buildInstructionInput()); |
| 886 return o; | 886 return o; |
| 887 } | 887 } |
| 888 | 888 |
| 889 checkUnnamed2989(core.List<api.InstructionInput> o) { | 889 checkUnnamed3099(core.List<api.InstructionInput> o) { |
| 890 unittest.expect(o, unittest.hasLength(2)); | 890 unittest.expect(o, unittest.hasLength(2)); |
| 891 checkInstructionInput(o[0]); | 891 checkInstructionInput(o[0]); |
| 892 checkInstructionInput(o[1]); | 892 checkInstructionInput(o[1]); |
| 893 } | 893 } |
| 894 | 894 |
| 895 core.int buildCounterFlattenInstruction = 0; | 895 core.int buildCounterFlattenInstruction = 0; |
| 896 buildFlattenInstruction() { | 896 buildFlattenInstruction() { |
| 897 var o = new api.FlattenInstruction(); | 897 var o = new api.FlattenInstruction(); |
| 898 buildCounterFlattenInstruction++; | 898 buildCounterFlattenInstruction++; |
| 899 if (buildCounterFlattenInstruction < 3) { | 899 if (buildCounterFlattenInstruction < 3) { |
| 900 o.inputs = buildUnnamed2989(); | 900 o.inputs = buildUnnamed3099(); |
| 901 } | 901 } |
| 902 buildCounterFlattenInstruction--; | 902 buildCounterFlattenInstruction--; |
| 903 return o; | 903 return o; |
| 904 } | 904 } |
| 905 | 905 |
| 906 checkFlattenInstruction(api.FlattenInstruction o) { | 906 checkFlattenInstruction(api.FlattenInstruction o) { |
| 907 buildCounterFlattenInstruction++; | 907 buildCounterFlattenInstruction++; |
| 908 if (buildCounterFlattenInstruction < 3) { | 908 if (buildCounterFlattenInstruction < 3) { |
| 909 checkUnnamed2989(o.inputs); | 909 checkUnnamed3099(o.inputs); |
| 910 } | 910 } |
| 911 buildCounterFlattenInstruction--; | 911 buildCounterFlattenInstruction--; |
| 912 } | 912 } |
| 913 | 913 |
| 914 buildUnnamed2990() { | 914 buildUnnamed3100() { |
| 915 var o = new core.List<core.double>(); | 915 var o = new core.List<core.double>(); |
| 916 o.add(42.0); | 916 o.add(42.0); |
| 917 o.add(42.0); | 917 o.add(42.0); |
| 918 return o; | 918 return o; |
| 919 } | 919 } |
| 920 | 920 |
| 921 checkUnnamed2990(core.List<core.double> o) { | 921 checkUnnamed3100(core.List<core.double> o) { |
| 922 unittest.expect(o, unittest.hasLength(2)); | 922 unittest.expect(o, unittest.hasLength(2)); |
| 923 unittest.expect(o[0], unittest.equals(42.0)); | 923 unittest.expect(o[0], unittest.equals(42.0)); |
| 924 unittest.expect(o[1], unittest.equals(42.0)); | 924 unittest.expect(o[1], unittest.equals(42.0)); |
| 925 } | 925 } |
| 926 | 926 |
| 927 core.int buildCounterFloatingPointList = 0; | 927 core.int buildCounterFloatingPointList = 0; |
| 928 buildFloatingPointList() { | 928 buildFloatingPointList() { |
| 929 var o = new api.FloatingPointList(); | 929 var o = new api.FloatingPointList(); |
| 930 buildCounterFloatingPointList++; | 930 buildCounterFloatingPointList++; |
| 931 if (buildCounterFloatingPointList < 3) { | 931 if (buildCounterFloatingPointList < 3) { |
| 932 o.elements = buildUnnamed2990(); | 932 o.elements = buildUnnamed3100(); |
| 933 } | 933 } |
| 934 buildCounterFloatingPointList--; | 934 buildCounterFloatingPointList--; |
| 935 return o; | 935 return o; |
| 936 } | 936 } |
| 937 | 937 |
| 938 checkFloatingPointList(api.FloatingPointList o) { | 938 checkFloatingPointList(api.FloatingPointList o) { |
| 939 buildCounterFloatingPointList++; | 939 buildCounterFloatingPointList++; |
| 940 if (buildCounterFloatingPointList < 3) { | 940 if (buildCounterFloatingPointList < 3) { |
| 941 checkUnnamed2990(o.elements); | 941 checkUnnamed3100(o.elements); |
| 942 } | 942 } |
| 943 buildCounterFloatingPointList--; | 943 buildCounterFloatingPointList--; |
| 944 } | 944 } |
| 945 | 945 |
| 946 core.int buildCounterFloatingPointMean = 0; | 946 core.int buildCounterFloatingPointMean = 0; |
| 947 buildFloatingPointMean() { | 947 buildFloatingPointMean() { |
| 948 var o = new api.FloatingPointMean(); | 948 var o = new api.FloatingPointMean(); |
| 949 buildCounterFloatingPointMean++; | 949 buildCounterFloatingPointMean++; |
| 950 if (buildCounterFloatingPointMean < 3) { | 950 if (buildCounterFloatingPointMean < 3) { |
| 951 o.count = buildSplitInt64(); | 951 o.count = buildSplitInt64(); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1039 | 1039 |
| 1040 checkInstructionInput(api.InstructionInput o) { | 1040 checkInstructionInput(api.InstructionInput o) { |
| 1041 buildCounterInstructionInput++; | 1041 buildCounterInstructionInput++; |
| 1042 if (buildCounterInstructionInput < 3) { | 1042 if (buildCounterInstructionInput < 3) { |
| 1043 unittest.expect(o.outputNum, unittest.equals(42)); | 1043 unittest.expect(o.outputNum, unittest.equals(42)); |
| 1044 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); | 1044 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); |
| 1045 } | 1045 } |
| 1046 buildCounterInstructionInput--; | 1046 buildCounterInstructionInput--; |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 buildUnnamed2991() { | 1049 buildUnnamed3101() { |
| 1050 var o = new core.Map<core.String, core.Object>(); | 1050 var o = new core.Map<core.String, core.Object>(); |
| 1051 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1051 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1052 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1052 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1053 return o; | 1053 return o; |
| 1054 } | 1054 } |
| 1055 | 1055 |
| 1056 checkUnnamed2991(core.Map<core.String, core.Object> o) { | 1056 checkUnnamed3101(core.Map<core.String, core.Object> o) { |
| 1057 unittest.expect(o, unittest.hasLength(2)); | 1057 unittest.expect(o, unittest.hasLength(2)); |
| 1058 var casted10 = (o["x"]) 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')); | 1058 var casted10 = (o["x"]) 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')); |
| 1059 var casted11 = (o["y"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); | 1059 var casted11 = (o["y"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 core.int buildCounterInstructionOutput = 0; | 1062 core.int buildCounterInstructionOutput = 0; |
| 1063 buildInstructionOutput() { | 1063 buildInstructionOutput() { |
| 1064 var o = new api.InstructionOutput(); | 1064 var o = new api.InstructionOutput(); |
| 1065 buildCounterInstructionOutput++; | 1065 buildCounterInstructionOutput++; |
| 1066 if (buildCounterInstructionOutput < 3) { | 1066 if (buildCounterInstructionOutput < 3) { |
| 1067 o.codec = buildUnnamed2991(); | 1067 o.codec = buildUnnamed3101(); |
| 1068 o.name = "foo"; | 1068 o.name = "foo"; |
| 1069 o.onlyCountKeyBytes = true; | 1069 o.onlyCountKeyBytes = true; |
| 1070 o.onlyCountValueBytes = true; | 1070 o.onlyCountValueBytes = true; |
| 1071 o.originalName = "foo"; | 1071 o.originalName = "foo"; |
| 1072 o.systemName = "foo"; | 1072 o.systemName = "foo"; |
| 1073 } | 1073 } |
| 1074 buildCounterInstructionOutput--; | 1074 buildCounterInstructionOutput--; |
| 1075 return o; | 1075 return o; |
| 1076 } | 1076 } |
| 1077 | 1077 |
| 1078 checkInstructionOutput(api.InstructionOutput o) { | 1078 checkInstructionOutput(api.InstructionOutput o) { |
| 1079 buildCounterInstructionOutput++; | 1079 buildCounterInstructionOutput++; |
| 1080 if (buildCounterInstructionOutput < 3) { | 1080 if (buildCounterInstructionOutput < 3) { |
| 1081 checkUnnamed2991(o.codec); | 1081 checkUnnamed3101(o.codec); |
| 1082 unittest.expect(o.name, unittest.equals('foo')); | 1082 unittest.expect(o.name, unittest.equals('foo')); |
| 1083 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); | 1083 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); |
| 1084 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); | 1084 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); |
| 1085 unittest.expect(o.originalName, unittest.equals('foo')); | 1085 unittest.expect(o.originalName, unittest.equals('foo')); |
| 1086 unittest.expect(o.systemName, unittest.equals('foo')); | 1086 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1087 } | 1087 } |
| 1088 buildCounterInstructionOutput--; | 1088 buildCounterInstructionOutput--; |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 buildUnnamed2992() { | 1091 buildUnnamed3102() { |
| 1092 var o = new core.List<api.SplitInt64>(); | 1092 var o = new core.List<api.SplitInt64>(); |
| 1093 o.add(buildSplitInt64()); | 1093 o.add(buildSplitInt64()); |
| 1094 o.add(buildSplitInt64()); | 1094 o.add(buildSplitInt64()); |
| 1095 return o; | 1095 return o; |
| 1096 } | 1096 } |
| 1097 | 1097 |
| 1098 checkUnnamed2992(core.List<api.SplitInt64> o) { | 1098 checkUnnamed3102(core.List<api.SplitInt64> o) { |
| 1099 unittest.expect(o, unittest.hasLength(2)); | 1099 unittest.expect(o, unittest.hasLength(2)); |
| 1100 checkSplitInt64(o[0]); | 1100 checkSplitInt64(o[0]); |
| 1101 checkSplitInt64(o[1]); | 1101 checkSplitInt64(o[1]); |
| 1102 } | 1102 } |
| 1103 | 1103 |
| 1104 core.int buildCounterIntegerList = 0; | 1104 core.int buildCounterIntegerList = 0; |
| 1105 buildIntegerList() { | 1105 buildIntegerList() { |
| 1106 var o = new api.IntegerList(); | 1106 var o = new api.IntegerList(); |
| 1107 buildCounterIntegerList++; | 1107 buildCounterIntegerList++; |
| 1108 if (buildCounterIntegerList < 3) { | 1108 if (buildCounterIntegerList < 3) { |
| 1109 o.elements = buildUnnamed2992(); | 1109 o.elements = buildUnnamed3102(); |
| 1110 } | 1110 } |
| 1111 buildCounterIntegerList--; | 1111 buildCounterIntegerList--; |
| 1112 return o; | 1112 return o; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 checkIntegerList(api.IntegerList o) { | 1115 checkIntegerList(api.IntegerList o) { |
| 1116 buildCounterIntegerList++; | 1116 buildCounterIntegerList++; |
| 1117 if (buildCounterIntegerList < 3) { | 1117 if (buildCounterIntegerList < 3) { |
| 1118 checkUnnamed2992(o.elements); | 1118 checkUnnamed3102(o.elements); |
| 1119 } | 1119 } |
| 1120 buildCounterIntegerList--; | 1120 buildCounterIntegerList--; |
| 1121 } | 1121 } |
| 1122 | 1122 |
| 1123 core.int buildCounterIntegerMean = 0; | 1123 core.int buildCounterIntegerMean = 0; |
| 1124 buildIntegerMean() { | 1124 buildIntegerMean() { |
| 1125 var o = new api.IntegerMean(); | 1125 var o = new api.IntegerMean(); |
| 1126 buildCounterIntegerMean++; | 1126 buildCounterIntegerMean++; |
| 1127 if (buildCounterIntegerMean < 3) { | 1127 if (buildCounterIntegerMean < 3) { |
| 1128 o.count = buildSplitInt64(); | 1128 o.count = buildSplitInt64(); |
| 1129 o.sum = buildSplitInt64(); | 1129 o.sum = buildSplitInt64(); |
| 1130 } | 1130 } |
| 1131 buildCounterIntegerMean--; | 1131 buildCounterIntegerMean--; |
| 1132 return o; | 1132 return o; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 checkIntegerMean(api.IntegerMean o) { | 1135 checkIntegerMean(api.IntegerMean o) { |
| 1136 buildCounterIntegerMean++; | 1136 buildCounterIntegerMean++; |
| 1137 if (buildCounterIntegerMean < 3) { | 1137 if (buildCounterIntegerMean < 3) { |
| 1138 checkSplitInt64(o.count); | 1138 checkSplitInt64(o.count); |
| 1139 checkSplitInt64(o.sum); | 1139 checkSplitInt64(o.sum); |
| 1140 } | 1140 } |
| 1141 buildCounterIntegerMean--; | 1141 buildCounterIntegerMean--; |
| 1142 } | 1142 } |
| 1143 | 1143 |
| 1144 buildUnnamed2993() { | 1144 buildUnnamed3103() { |
| 1145 var o = new core.Map<core.String, core.String>(); | 1145 var o = new core.Map<core.String, core.String>(); |
| 1146 o["x"] = "foo"; | 1146 o["x"] = "foo"; |
| 1147 o["y"] = "foo"; | 1147 o["y"] = "foo"; |
| 1148 return o; | 1148 return o; |
| 1149 } | 1149 } |
| 1150 | 1150 |
| 1151 checkUnnamed2993(core.Map<core.String, core.String> o) { | 1151 checkUnnamed3103(core.Map<core.String, core.String> o) { |
| 1152 unittest.expect(o, unittest.hasLength(2)); | 1152 unittest.expect(o, unittest.hasLength(2)); |
| 1153 unittest.expect(o["x"], unittest.equals('foo')); | 1153 unittest.expect(o["x"], unittest.equals('foo')); |
| 1154 unittest.expect(o["y"], unittest.equals('foo')); | 1154 unittest.expect(o["y"], unittest.equals('foo')); |
| 1155 } | 1155 } |
| 1156 | 1156 |
| 1157 buildUnnamed2994() { | 1157 buildUnnamed3104() { |
| 1158 var o = new core.List<api.Step>(); | 1158 var o = new core.List<api.Step>(); |
| 1159 o.add(buildStep()); | 1159 o.add(buildStep()); |
| 1160 o.add(buildStep()); | 1160 o.add(buildStep()); |
| 1161 return o; | 1161 return o; |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 checkUnnamed2994(core.List<api.Step> o) { | 1164 checkUnnamed3104(core.List<api.Step> o) { |
| 1165 unittest.expect(o, unittest.hasLength(2)); | 1165 unittest.expect(o, unittest.hasLength(2)); |
| 1166 checkStep(o[0]); | 1166 checkStep(o[0]); |
| 1167 checkStep(o[1]); | 1167 checkStep(o[1]); |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 buildUnnamed2995() { | 1170 buildUnnamed3105() { |
| 1171 var o = new core.List<core.String>(); | 1171 var o = new core.List<core.String>(); |
| 1172 o.add("foo"); | 1172 o.add("foo"); |
| 1173 o.add("foo"); | 1173 o.add("foo"); |
| 1174 return o; | 1174 return o; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 checkUnnamed2995(core.List<core.String> o) { | 1177 checkUnnamed3105(core.List<core.String> o) { |
| 1178 unittest.expect(o, unittest.hasLength(2)); | 1178 unittest.expect(o, unittest.hasLength(2)); |
| 1179 unittest.expect(o[0], unittest.equals('foo')); | 1179 unittest.expect(o[0], unittest.equals('foo')); |
| 1180 unittest.expect(o[1], unittest.equals('foo')); | 1180 unittest.expect(o[1], unittest.equals('foo')); |
| 1181 } | 1181 } |
| 1182 | 1182 |
| 1183 buildUnnamed2996() { | 1183 buildUnnamed3106() { |
| 1184 var o = new core.Map<core.String, core.String>(); | 1184 var o = new core.Map<core.String, core.String>(); |
| 1185 o["x"] = "foo"; | 1185 o["x"] = "foo"; |
| 1186 o["y"] = "foo"; | 1186 o["y"] = "foo"; |
| 1187 return o; | 1187 return o; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 checkUnnamed2996(core.Map<core.String, core.String> o) { | 1190 checkUnnamed3106(core.Map<core.String, core.String> o) { |
| 1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
| 1192 unittest.expect(o["x"], unittest.equals('foo')); | 1192 unittest.expect(o["x"], unittest.equals('foo')); |
| 1193 unittest.expect(o["y"], unittest.equals('foo')); | 1193 unittest.expect(o["y"], unittest.equals('foo')); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 core.int buildCounterJob = 0; | 1196 core.int buildCounterJob = 0; |
| 1197 buildJob() { | 1197 buildJob() { |
| 1198 var o = new api.Job(); | 1198 var o = new api.Job(); |
| 1199 buildCounterJob++; | 1199 buildCounterJob++; |
| 1200 if (buildCounterJob < 3) { | 1200 if (buildCounterJob < 3) { |
| 1201 o.clientRequestId = "foo"; | 1201 o.clientRequestId = "foo"; |
| 1202 o.createTime = "foo"; | 1202 o.createTime = "foo"; |
| 1203 o.currentState = "foo"; | 1203 o.currentState = "foo"; |
| 1204 o.currentStateTime = "foo"; | 1204 o.currentStateTime = "foo"; |
| 1205 o.environment = buildEnvironment(); | 1205 o.environment = buildEnvironment(); |
| 1206 o.executionInfo = buildJobExecutionInfo(); | 1206 o.executionInfo = buildJobExecutionInfo(); |
| 1207 o.id = "foo"; | 1207 o.id = "foo"; |
| 1208 o.labels = buildUnnamed2993(); | 1208 o.labels = buildUnnamed3103(); |
| 1209 o.location = "foo"; | 1209 o.location = "foo"; |
| 1210 o.name = "foo"; | 1210 o.name = "foo"; |
| 1211 o.pipelineDescription = buildPipelineDescription(); | 1211 o.pipelineDescription = buildPipelineDescription(); |
| 1212 o.projectId = "foo"; | 1212 o.projectId = "foo"; |
| 1213 o.replaceJobId = "foo"; | 1213 o.replaceJobId = "foo"; |
| 1214 o.replacedByJobId = "foo"; | 1214 o.replacedByJobId = "foo"; |
| 1215 o.requestedState = "foo"; | 1215 o.requestedState = "foo"; |
| 1216 o.steps = buildUnnamed2994(); | 1216 o.steps = buildUnnamed3104(); |
| 1217 o.tempFiles = buildUnnamed2995(); | 1217 o.tempFiles = buildUnnamed3105(); |
| 1218 o.transformNameMapping = buildUnnamed2996(); | 1218 o.transformNameMapping = buildUnnamed3106(); |
| 1219 o.type = "foo"; | 1219 o.type = "foo"; |
| 1220 } | 1220 } |
| 1221 buildCounterJob--; | 1221 buildCounterJob--; |
| 1222 return o; | 1222 return o; |
| 1223 } | 1223 } |
| 1224 | 1224 |
| 1225 checkJob(api.Job o) { | 1225 checkJob(api.Job o) { |
| 1226 buildCounterJob++; | 1226 buildCounterJob++; |
| 1227 if (buildCounterJob < 3) { | 1227 if (buildCounterJob < 3) { |
| 1228 unittest.expect(o.clientRequestId, unittest.equals('foo')); | 1228 unittest.expect(o.clientRequestId, unittest.equals('foo')); |
| 1229 unittest.expect(o.createTime, unittest.equals('foo')); | 1229 unittest.expect(o.createTime, unittest.equals('foo')); |
| 1230 unittest.expect(o.currentState, unittest.equals('foo')); | 1230 unittest.expect(o.currentState, unittest.equals('foo')); |
| 1231 unittest.expect(o.currentStateTime, unittest.equals('foo')); | 1231 unittest.expect(o.currentStateTime, unittest.equals('foo')); |
| 1232 checkEnvironment(o.environment); | 1232 checkEnvironment(o.environment); |
| 1233 checkJobExecutionInfo(o.executionInfo); | 1233 checkJobExecutionInfo(o.executionInfo); |
| 1234 unittest.expect(o.id, unittest.equals('foo')); | 1234 unittest.expect(o.id, unittest.equals('foo')); |
| 1235 checkUnnamed2993(o.labels); | 1235 checkUnnamed3103(o.labels); |
| 1236 unittest.expect(o.location, unittest.equals('foo')); | 1236 unittest.expect(o.location, unittest.equals('foo')); |
| 1237 unittest.expect(o.name, unittest.equals('foo')); | 1237 unittest.expect(o.name, unittest.equals('foo')); |
| 1238 checkPipelineDescription(o.pipelineDescription); | 1238 checkPipelineDescription(o.pipelineDescription); |
| 1239 unittest.expect(o.projectId, unittest.equals('foo')); | 1239 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1240 unittest.expect(o.replaceJobId, unittest.equals('foo')); | 1240 unittest.expect(o.replaceJobId, unittest.equals('foo')); |
| 1241 unittest.expect(o.replacedByJobId, unittest.equals('foo')); | 1241 unittest.expect(o.replacedByJobId, unittest.equals('foo')); |
| 1242 unittest.expect(o.requestedState, unittest.equals('foo')); | 1242 unittest.expect(o.requestedState, unittest.equals('foo')); |
| 1243 checkUnnamed2994(o.steps); | 1243 checkUnnamed3104(o.steps); |
| 1244 checkUnnamed2995(o.tempFiles); | 1244 checkUnnamed3105(o.tempFiles); |
| 1245 checkUnnamed2996(o.transformNameMapping); | 1245 checkUnnamed3106(o.transformNameMapping); |
| 1246 unittest.expect(o.type, unittest.equals('foo')); | 1246 unittest.expect(o.type, unittest.equals('foo')); |
| 1247 } | 1247 } |
| 1248 buildCounterJob--; | 1248 buildCounterJob--; |
| 1249 } | 1249 } |
| 1250 | 1250 |
| 1251 buildUnnamed2997() { | 1251 buildUnnamed3107() { |
| 1252 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); | 1252 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); |
| 1253 o["x"] = buildJobExecutionStageInfo(); | 1253 o["x"] = buildJobExecutionStageInfo(); |
| 1254 o["y"] = buildJobExecutionStageInfo(); | 1254 o["y"] = buildJobExecutionStageInfo(); |
| 1255 return o; | 1255 return o; |
| 1256 } | 1256 } |
| 1257 | 1257 |
| 1258 checkUnnamed2997(core.Map<core.String, api.JobExecutionStageInfo> o) { | 1258 checkUnnamed3107(core.Map<core.String, api.JobExecutionStageInfo> o) { |
| 1259 unittest.expect(o, unittest.hasLength(2)); | 1259 unittest.expect(o, unittest.hasLength(2)); |
| 1260 checkJobExecutionStageInfo(o["x"]); | 1260 checkJobExecutionStageInfo(o["x"]); |
| 1261 checkJobExecutionStageInfo(o["y"]); | 1261 checkJobExecutionStageInfo(o["y"]); |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 core.int buildCounterJobExecutionInfo = 0; | 1264 core.int buildCounterJobExecutionInfo = 0; |
| 1265 buildJobExecutionInfo() { | 1265 buildJobExecutionInfo() { |
| 1266 var o = new api.JobExecutionInfo(); | 1266 var o = new api.JobExecutionInfo(); |
| 1267 buildCounterJobExecutionInfo++; | 1267 buildCounterJobExecutionInfo++; |
| 1268 if (buildCounterJobExecutionInfo < 3) { | 1268 if (buildCounterJobExecutionInfo < 3) { |
| 1269 o.stages = buildUnnamed2997(); | 1269 o.stages = buildUnnamed3107(); |
| 1270 } | 1270 } |
| 1271 buildCounterJobExecutionInfo--; | 1271 buildCounterJobExecutionInfo--; |
| 1272 return o; | 1272 return o; |
| 1273 } | 1273 } |
| 1274 | 1274 |
| 1275 checkJobExecutionInfo(api.JobExecutionInfo o) { | 1275 checkJobExecutionInfo(api.JobExecutionInfo o) { |
| 1276 buildCounterJobExecutionInfo++; | 1276 buildCounterJobExecutionInfo++; |
| 1277 if (buildCounterJobExecutionInfo < 3) { | 1277 if (buildCounterJobExecutionInfo < 3) { |
| 1278 checkUnnamed2997(o.stages); | 1278 checkUnnamed3107(o.stages); |
| 1279 } | 1279 } |
| 1280 buildCounterJobExecutionInfo--; | 1280 buildCounterJobExecutionInfo--; |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 buildUnnamed2998() { | 1283 buildUnnamed3108() { |
| 1284 var o = new core.List<core.String>(); | 1284 var o = new core.List<core.String>(); |
| 1285 o.add("foo"); | 1285 o.add("foo"); |
| 1286 o.add("foo"); | 1286 o.add("foo"); |
| 1287 return o; | 1287 return o; |
| 1288 } | 1288 } |
| 1289 | 1289 |
| 1290 checkUnnamed2998(core.List<core.String> o) { | 1290 checkUnnamed3108(core.List<core.String> o) { |
| 1291 unittest.expect(o, unittest.hasLength(2)); | 1291 unittest.expect(o, unittest.hasLength(2)); |
| 1292 unittest.expect(o[0], unittest.equals('foo')); | 1292 unittest.expect(o[0], unittest.equals('foo')); |
| 1293 unittest.expect(o[1], unittest.equals('foo')); | 1293 unittest.expect(o[1], unittest.equals('foo')); |
| 1294 } | 1294 } |
| 1295 | 1295 |
| 1296 core.int buildCounterJobExecutionStageInfo = 0; | 1296 core.int buildCounterJobExecutionStageInfo = 0; |
| 1297 buildJobExecutionStageInfo() { | 1297 buildJobExecutionStageInfo() { |
| 1298 var o = new api.JobExecutionStageInfo(); | 1298 var o = new api.JobExecutionStageInfo(); |
| 1299 buildCounterJobExecutionStageInfo++; | 1299 buildCounterJobExecutionStageInfo++; |
| 1300 if (buildCounterJobExecutionStageInfo < 3) { | 1300 if (buildCounterJobExecutionStageInfo < 3) { |
| 1301 o.stepName = buildUnnamed2998(); | 1301 o.stepName = buildUnnamed3108(); |
| 1302 } | 1302 } |
| 1303 buildCounterJobExecutionStageInfo--; | 1303 buildCounterJobExecutionStageInfo--; |
| 1304 return o; | 1304 return o; |
| 1305 } | 1305 } |
| 1306 | 1306 |
| 1307 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { | 1307 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { |
| 1308 buildCounterJobExecutionStageInfo++; | 1308 buildCounterJobExecutionStageInfo++; |
| 1309 if (buildCounterJobExecutionStageInfo < 3) { | 1309 if (buildCounterJobExecutionStageInfo < 3) { |
| 1310 checkUnnamed2998(o.stepName); | 1310 checkUnnamed3108(o.stepName); |
| 1311 } | 1311 } |
| 1312 buildCounterJobExecutionStageInfo--; | 1312 buildCounterJobExecutionStageInfo--; |
| 1313 } | 1313 } |
| 1314 | 1314 |
| 1315 core.int buildCounterJobMessage = 0; | 1315 core.int buildCounterJobMessage = 0; |
| 1316 buildJobMessage() { | 1316 buildJobMessage() { |
| 1317 var o = new api.JobMessage(); | 1317 var o = new api.JobMessage(); |
| 1318 buildCounterJobMessage++; | 1318 buildCounterJobMessage++; |
| 1319 if (buildCounterJobMessage < 3) { | 1319 if (buildCounterJobMessage < 3) { |
| 1320 o.id = "foo"; | 1320 o.id = "foo"; |
| 1321 o.messageImportance = "foo"; | 1321 o.messageImportance = "foo"; |
| 1322 o.messageText = "foo"; | 1322 o.messageText = "foo"; |
| 1323 o.time = "foo"; | 1323 o.time = "foo"; |
| 1324 } | 1324 } |
| 1325 buildCounterJobMessage--; | 1325 buildCounterJobMessage--; |
| 1326 return o; | 1326 return o; |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 checkJobMessage(api.JobMessage o) { | 1329 checkJobMessage(api.JobMessage o) { |
| 1330 buildCounterJobMessage++; | 1330 buildCounterJobMessage++; |
| 1331 if (buildCounterJobMessage < 3) { | 1331 if (buildCounterJobMessage < 3) { |
| 1332 unittest.expect(o.id, unittest.equals('foo')); | 1332 unittest.expect(o.id, unittest.equals('foo')); |
| 1333 unittest.expect(o.messageImportance, unittest.equals('foo')); | 1333 unittest.expect(o.messageImportance, unittest.equals('foo')); |
| 1334 unittest.expect(o.messageText, unittest.equals('foo')); | 1334 unittest.expect(o.messageText, unittest.equals('foo')); |
| 1335 unittest.expect(o.time, unittest.equals('foo')); | 1335 unittest.expect(o.time, unittest.equals('foo')); |
| 1336 } | 1336 } |
| 1337 buildCounterJobMessage--; | 1337 buildCounterJobMessage--; |
| 1338 } | 1338 } |
| 1339 | 1339 |
| 1340 buildUnnamed2999() { | 1340 buildUnnamed3109() { |
| 1341 var o = new core.List<api.MetricUpdate>(); | 1341 var o = new core.List<api.MetricUpdate>(); |
| 1342 o.add(buildMetricUpdate()); | 1342 o.add(buildMetricUpdate()); |
| 1343 o.add(buildMetricUpdate()); | 1343 o.add(buildMetricUpdate()); |
| 1344 return o; | 1344 return o; |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 checkUnnamed2999(core.List<api.MetricUpdate> o) { | 1347 checkUnnamed3109(core.List<api.MetricUpdate> o) { |
| 1348 unittest.expect(o, unittest.hasLength(2)); | 1348 unittest.expect(o, unittest.hasLength(2)); |
| 1349 checkMetricUpdate(o[0]); | 1349 checkMetricUpdate(o[0]); |
| 1350 checkMetricUpdate(o[1]); | 1350 checkMetricUpdate(o[1]); |
| 1351 } | 1351 } |
| 1352 | 1352 |
| 1353 core.int buildCounterJobMetrics = 0; | 1353 core.int buildCounterJobMetrics = 0; |
| 1354 buildJobMetrics() { | 1354 buildJobMetrics() { |
| 1355 var o = new api.JobMetrics(); | 1355 var o = new api.JobMetrics(); |
| 1356 buildCounterJobMetrics++; | 1356 buildCounterJobMetrics++; |
| 1357 if (buildCounterJobMetrics < 3) { | 1357 if (buildCounterJobMetrics < 3) { |
| 1358 o.metricTime = "foo"; | 1358 o.metricTime = "foo"; |
| 1359 o.metrics = buildUnnamed2999(); | 1359 o.metrics = buildUnnamed3109(); |
| 1360 } | 1360 } |
| 1361 buildCounterJobMetrics--; | 1361 buildCounterJobMetrics--; |
| 1362 return o; | 1362 return o; |
| 1363 } | 1363 } |
| 1364 | 1364 |
| 1365 checkJobMetrics(api.JobMetrics o) { | 1365 checkJobMetrics(api.JobMetrics o) { |
| 1366 buildCounterJobMetrics++; | 1366 buildCounterJobMetrics++; |
| 1367 if (buildCounterJobMetrics < 3) { | 1367 if (buildCounterJobMetrics < 3) { |
| 1368 unittest.expect(o.metricTime, unittest.equals('foo')); | 1368 unittest.expect(o.metricTime, unittest.equals('foo')); |
| 1369 checkUnnamed2999(o.metrics); | 1369 checkUnnamed3109(o.metrics); |
| 1370 } | 1370 } |
| 1371 buildCounterJobMetrics--; | 1371 buildCounterJobMetrics--; |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 core.int buildCounterKeyRangeDataDiskAssignment = 0; | 1374 core.int buildCounterKeyRangeDataDiskAssignment = 0; |
| 1375 buildKeyRangeDataDiskAssignment() { | 1375 buildKeyRangeDataDiskAssignment() { |
| 1376 var o = new api.KeyRangeDataDiskAssignment(); | 1376 var o = new api.KeyRangeDataDiskAssignment(); |
| 1377 buildCounterKeyRangeDataDiskAssignment++; | 1377 buildCounterKeyRangeDataDiskAssignment++; |
| 1378 if (buildCounterKeyRangeDataDiskAssignment < 3) { | 1378 if (buildCounterKeyRangeDataDiskAssignment < 3) { |
| 1379 o.dataDisk = "foo"; | 1379 o.dataDisk = "foo"; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1394 buildCounterKeyRangeDataDiskAssignment--; | 1394 buildCounterKeyRangeDataDiskAssignment--; |
| 1395 } | 1395 } |
| 1396 | 1396 |
| 1397 core.int buildCounterKeyRangeLocation = 0; | 1397 core.int buildCounterKeyRangeLocation = 0; |
| 1398 buildKeyRangeLocation() { | 1398 buildKeyRangeLocation() { |
| 1399 var o = new api.KeyRangeLocation(); | 1399 var o = new api.KeyRangeLocation(); |
| 1400 buildCounterKeyRangeLocation++; | 1400 buildCounterKeyRangeLocation++; |
| 1401 if (buildCounterKeyRangeLocation < 3) { | 1401 if (buildCounterKeyRangeLocation < 3) { |
| 1402 o.dataDisk = "foo"; | 1402 o.dataDisk = "foo"; |
| 1403 o.deliveryEndpoint = "foo"; | 1403 o.deliveryEndpoint = "foo"; |
| 1404 o.deprecatedPersistentDirectory = "foo"; |
| 1404 o.end = "foo"; | 1405 o.end = "foo"; |
| 1405 o.persistentDirectory = "foo"; | |
| 1406 o.start = "foo"; | 1406 o.start = "foo"; |
| 1407 } | 1407 } |
| 1408 buildCounterKeyRangeLocation--; | 1408 buildCounterKeyRangeLocation--; |
| 1409 return o; | 1409 return o; |
| 1410 } | 1410 } |
| 1411 | 1411 |
| 1412 checkKeyRangeLocation(api.KeyRangeLocation o) { | 1412 checkKeyRangeLocation(api.KeyRangeLocation o) { |
| 1413 buildCounterKeyRangeLocation++; | 1413 buildCounterKeyRangeLocation++; |
| 1414 if (buildCounterKeyRangeLocation < 3) { | 1414 if (buildCounterKeyRangeLocation < 3) { |
| 1415 unittest.expect(o.dataDisk, unittest.equals('foo')); | 1415 unittest.expect(o.dataDisk, unittest.equals('foo')); |
| 1416 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); | 1416 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); |
| 1417 unittest.expect(o.deprecatedPersistentDirectory, unittest.equals('foo')); |
| 1417 unittest.expect(o.end, unittest.equals('foo')); | 1418 unittest.expect(o.end, unittest.equals('foo')); |
| 1418 unittest.expect(o.persistentDirectory, unittest.equals('foo')); | |
| 1419 unittest.expect(o.start, unittest.equals('foo')); | 1419 unittest.expect(o.start, unittest.equals('foo')); |
| 1420 } | 1420 } |
| 1421 buildCounterKeyRangeLocation--; | 1421 buildCounterKeyRangeLocation--; |
| 1422 } | 1422 } |
| 1423 | 1423 |
| 1424 buildUnnamed3000() { | 1424 buildUnnamed3110() { |
| 1425 var o = new core.Map<core.String, core.String>(); | 1425 var o = new core.Map<core.String, core.String>(); |
| 1426 o["x"] = "foo"; | 1426 o["x"] = "foo"; |
| 1427 o["y"] = "foo"; | 1427 o["y"] = "foo"; |
| 1428 return o; | 1428 return o; |
| 1429 } | 1429 } |
| 1430 | 1430 |
| 1431 checkUnnamed3000(core.Map<core.String, core.String> o) { | 1431 checkUnnamed3110(core.Map<core.String, core.String> o) { |
| 1432 unittest.expect(o, unittest.hasLength(2)); | 1432 unittest.expect(o, unittest.hasLength(2)); |
| 1433 unittest.expect(o["x"], unittest.equals('foo')); | 1433 unittest.expect(o["x"], unittest.equals('foo')); |
| 1434 unittest.expect(o["y"], unittest.equals('foo')); | 1434 unittest.expect(o["y"], unittest.equals('foo')); |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 core.int buildCounterLaunchTemplateParameters = 0; | 1437 core.int buildCounterLaunchTemplateParameters = 0; |
| 1438 buildLaunchTemplateParameters() { | 1438 buildLaunchTemplateParameters() { |
| 1439 var o = new api.LaunchTemplateParameters(); | 1439 var o = new api.LaunchTemplateParameters(); |
| 1440 buildCounterLaunchTemplateParameters++; | 1440 buildCounterLaunchTemplateParameters++; |
| 1441 if (buildCounterLaunchTemplateParameters < 3) { | 1441 if (buildCounterLaunchTemplateParameters < 3) { |
| 1442 o.environment = buildRuntimeEnvironment(); | 1442 o.environment = buildRuntimeEnvironment(); |
| 1443 o.jobName = "foo"; | 1443 o.jobName = "foo"; |
| 1444 o.parameters = buildUnnamed3000(); | 1444 o.parameters = buildUnnamed3110(); |
| 1445 } | 1445 } |
| 1446 buildCounterLaunchTemplateParameters--; | 1446 buildCounterLaunchTemplateParameters--; |
| 1447 return o; | 1447 return o; |
| 1448 } | 1448 } |
| 1449 | 1449 |
| 1450 checkLaunchTemplateParameters(api.LaunchTemplateParameters o) { | 1450 checkLaunchTemplateParameters(api.LaunchTemplateParameters o) { |
| 1451 buildCounterLaunchTemplateParameters++; | 1451 buildCounterLaunchTemplateParameters++; |
| 1452 if (buildCounterLaunchTemplateParameters < 3) { | 1452 if (buildCounterLaunchTemplateParameters < 3) { |
| 1453 checkRuntimeEnvironment(o.environment); | 1453 checkRuntimeEnvironment(o.environment); |
| 1454 unittest.expect(o.jobName, unittest.equals('foo')); | 1454 unittest.expect(o.jobName, unittest.equals('foo')); |
| 1455 checkUnnamed3000(o.parameters); | 1455 checkUnnamed3110(o.parameters); |
| 1456 } | 1456 } |
| 1457 buildCounterLaunchTemplateParameters--; | 1457 buildCounterLaunchTemplateParameters--; |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 core.int buildCounterLaunchTemplateResponse = 0; | 1460 core.int buildCounterLaunchTemplateResponse = 0; |
| 1461 buildLaunchTemplateResponse() { | 1461 buildLaunchTemplateResponse() { |
| 1462 var o = new api.LaunchTemplateResponse(); | 1462 var o = new api.LaunchTemplateResponse(); |
| 1463 buildCounterLaunchTemplateResponse++; | 1463 buildCounterLaunchTemplateResponse++; |
| 1464 if (buildCounterLaunchTemplateResponse < 3) { | 1464 if (buildCounterLaunchTemplateResponse < 3) { |
| 1465 o.job = buildJob(); | 1465 o.job = buildJob(); |
| 1466 o.status = buildStatus(); | |
| 1467 } | 1466 } |
| 1468 buildCounterLaunchTemplateResponse--; | 1467 buildCounterLaunchTemplateResponse--; |
| 1469 return o; | 1468 return o; |
| 1470 } | 1469 } |
| 1471 | 1470 |
| 1472 checkLaunchTemplateResponse(api.LaunchTemplateResponse o) { | 1471 checkLaunchTemplateResponse(api.LaunchTemplateResponse o) { |
| 1473 buildCounterLaunchTemplateResponse++; | 1472 buildCounterLaunchTemplateResponse++; |
| 1474 if (buildCounterLaunchTemplateResponse < 3) { | 1473 if (buildCounterLaunchTemplateResponse < 3) { |
| 1475 checkJob(o.job); | 1474 checkJob(o.job); |
| 1476 checkStatus(o.status); | |
| 1477 } | 1475 } |
| 1478 buildCounterLaunchTemplateResponse--; | 1476 buildCounterLaunchTemplateResponse--; |
| 1479 } | 1477 } |
| 1480 | 1478 |
| 1481 buildUnnamed3001() { | 1479 buildUnnamed3111() { |
| 1482 var o = new core.List<core.String>(); | 1480 var o = new core.List<core.String>(); |
| 1483 o.add("foo"); | 1481 o.add("foo"); |
| 1484 o.add("foo"); | 1482 o.add("foo"); |
| 1485 return o; | 1483 return o; |
| 1486 } | 1484 } |
| 1487 | 1485 |
| 1488 checkUnnamed3001(core.List<core.String> o) { | 1486 checkUnnamed3111(core.List<core.String> o) { |
| 1489 unittest.expect(o, unittest.hasLength(2)); | 1487 unittest.expect(o, unittest.hasLength(2)); |
| 1490 unittest.expect(o[0], unittest.equals('foo')); | 1488 unittest.expect(o[0], unittest.equals('foo')); |
| 1491 unittest.expect(o[1], unittest.equals('foo')); | 1489 unittest.expect(o[1], unittest.equals('foo')); |
| 1492 } | 1490 } |
| 1493 | 1491 |
| 1494 buildUnnamed3002() { | 1492 buildUnnamed3112() { |
| 1495 var o = new core.List<core.String>(); | 1493 var o = new core.List<core.String>(); |
| 1496 o.add("foo"); | 1494 o.add("foo"); |
| 1497 o.add("foo"); | 1495 o.add("foo"); |
| 1498 return o; | 1496 return o; |
| 1499 } | 1497 } |
| 1500 | 1498 |
| 1501 checkUnnamed3002(core.List<core.String> o) { | 1499 checkUnnamed3112(core.List<core.String> o) { |
| 1502 unittest.expect(o, unittest.hasLength(2)); | 1500 unittest.expect(o, unittest.hasLength(2)); |
| 1503 unittest.expect(o[0], unittest.equals('foo')); | 1501 unittest.expect(o[0], unittest.equals('foo')); |
| 1504 unittest.expect(o[1], unittest.equals('foo')); | 1502 unittest.expect(o[1], unittest.equals('foo')); |
| 1505 } | 1503 } |
| 1506 | 1504 |
| 1507 core.int buildCounterLeaseWorkItemRequest = 0; | 1505 core.int buildCounterLeaseWorkItemRequest = 0; |
| 1508 buildLeaseWorkItemRequest() { | 1506 buildLeaseWorkItemRequest() { |
| 1509 var o = new api.LeaseWorkItemRequest(); | 1507 var o = new api.LeaseWorkItemRequest(); |
| 1510 buildCounterLeaseWorkItemRequest++; | 1508 buildCounterLeaseWorkItemRequest++; |
| 1511 if (buildCounterLeaseWorkItemRequest < 3) { | 1509 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1512 o.currentWorkerTime = "foo"; | 1510 o.currentWorkerTime = "foo"; |
| 1513 o.location = "foo"; | 1511 o.location = "foo"; |
| 1514 o.requestedLeaseDuration = "foo"; | 1512 o.requestedLeaseDuration = "foo"; |
| 1515 o.workItemTypes = buildUnnamed3001(); | 1513 o.workItemTypes = buildUnnamed3111(); |
| 1516 o.workerCapabilities = buildUnnamed3002(); | 1514 o.workerCapabilities = buildUnnamed3112(); |
| 1517 o.workerId = "foo"; | 1515 o.workerId = "foo"; |
| 1518 } | 1516 } |
| 1519 buildCounterLeaseWorkItemRequest--; | 1517 buildCounterLeaseWorkItemRequest--; |
| 1520 return o; | 1518 return o; |
| 1521 } | 1519 } |
| 1522 | 1520 |
| 1523 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { | 1521 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { |
| 1524 buildCounterLeaseWorkItemRequest++; | 1522 buildCounterLeaseWorkItemRequest++; |
| 1525 if (buildCounterLeaseWorkItemRequest < 3) { | 1523 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1526 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1524 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1527 unittest.expect(o.location, unittest.equals('foo')); | 1525 unittest.expect(o.location, unittest.equals('foo')); |
| 1528 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 1526 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 1529 checkUnnamed3001(o.workItemTypes); | 1527 checkUnnamed3111(o.workItemTypes); |
| 1530 checkUnnamed3002(o.workerCapabilities); | 1528 checkUnnamed3112(o.workerCapabilities); |
| 1531 unittest.expect(o.workerId, unittest.equals('foo')); | 1529 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1532 } | 1530 } |
| 1533 buildCounterLeaseWorkItemRequest--; | 1531 buildCounterLeaseWorkItemRequest--; |
| 1534 } | 1532 } |
| 1535 | 1533 |
| 1536 buildUnnamed3003() { | 1534 buildUnnamed3113() { |
| 1537 var o = new core.List<api.WorkItem>(); | 1535 var o = new core.List<api.WorkItem>(); |
| 1538 o.add(buildWorkItem()); | 1536 o.add(buildWorkItem()); |
| 1539 o.add(buildWorkItem()); | 1537 o.add(buildWorkItem()); |
| 1540 return o; | 1538 return o; |
| 1541 } | 1539 } |
| 1542 | 1540 |
| 1543 checkUnnamed3003(core.List<api.WorkItem> o) { | 1541 checkUnnamed3113(core.List<api.WorkItem> o) { |
| 1544 unittest.expect(o, unittest.hasLength(2)); | 1542 unittest.expect(o, unittest.hasLength(2)); |
| 1545 checkWorkItem(o[0]); | 1543 checkWorkItem(o[0]); |
| 1546 checkWorkItem(o[1]); | 1544 checkWorkItem(o[1]); |
| 1547 } | 1545 } |
| 1548 | 1546 |
| 1549 core.int buildCounterLeaseWorkItemResponse = 0; | 1547 core.int buildCounterLeaseWorkItemResponse = 0; |
| 1550 buildLeaseWorkItemResponse() { | 1548 buildLeaseWorkItemResponse() { |
| 1551 var o = new api.LeaseWorkItemResponse(); | 1549 var o = new api.LeaseWorkItemResponse(); |
| 1552 buildCounterLeaseWorkItemResponse++; | 1550 buildCounterLeaseWorkItemResponse++; |
| 1553 if (buildCounterLeaseWorkItemResponse < 3) { | 1551 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1554 o.workItems = buildUnnamed3003(); | 1552 o.workItems = buildUnnamed3113(); |
| 1555 } | 1553 } |
| 1556 buildCounterLeaseWorkItemResponse--; | 1554 buildCounterLeaseWorkItemResponse--; |
| 1557 return o; | 1555 return o; |
| 1558 } | 1556 } |
| 1559 | 1557 |
| 1560 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { | 1558 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { |
| 1561 buildCounterLeaseWorkItemResponse++; | 1559 buildCounterLeaseWorkItemResponse++; |
| 1562 if (buildCounterLeaseWorkItemResponse < 3) { | 1560 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1563 checkUnnamed3003(o.workItems); | 1561 checkUnnamed3113(o.workItems); |
| 1564 } | 1562 } |
| 1565 buildCounterLeaseWorkItemResponse--; | 1563 buildCounterLeaseWorkItemResponse--; |
| 1566 } | 1564 } |
| 1567 | 1565 |
| 1568 buildUnnamed3004() { | 1566 buildUnnamed3114() { |
| 1569 var o = new core.List<api.JobMessage>(); | 1567 var o = new core.List<api.JobMessage>(); |
| 1570 o.add(buildJobMessage()); | 1568 o.add(buildJobMessage()); |
| 1571 o.add(buildJobMessage()); | 1569 o.add(buildJobMessage()); |
| 1572 return o; | 1570 return o; |
| 1573 } | 1571 } |
| 1574 | 1572 |
| 1575 checkUnnamed3004(core.List<api.JobMessage> o) { | 1573 checkUnnamed3114(core.List<api.JobMessage> o) { |
| 1576 unittest.expect(o, unittest.hasLength(2)); | 1574 unittest.expect(o, unittest.hasLength(2)); |
| 1577 checkJobMessage(o[0]); | 1575 checkJobMessage(o[0]); |
| 1578 checkJobMessage(o[1]); | 1576 checkJobMessage(o[1]); |
| 1579 } | 1577 } |
| 1580 | 1578 |
| 1581 core.int buildCounterListJobMessagesResponse = 0; | 1579 core.int buildCounterListJobMessagesResponse = 0; |
| 1582 buildListJobMessagesResponse() { | 1580 buildListJobMessagesResponse() { |
| 1583 var o = new api.ListJobMessagesResponse(); | 1581 var o = new api.ListJobMessagesResponse(); |
| 1584 buildCounterListJobMessagesResponse++; | 1582 buildCounterListJobMessagesResponse++; |
| 1585 if (buildCounterListJobMessagesResponse < 3) { | 1583 if (buildCounterListJobMessagesResponse < 3) { |
| 1586 o.jobMessages = buildUnnamed3004(); | 1584 o.jobMessages = buildUnnamed3114(); |
| 1587 o.nextPageToken = "foo"; | 1585 o.nextPageToken = "foo"; |
| 1588 } | 1586 } |
| 1589 buildCounterListJobMessagesResponse--; | 1587 buildCounterListJobMessagesResponse--; |
| 1590 return o; | 1588 return o; |
| 1591 } | 1589 } |
| 1592 | 1590 |
| 1593 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { | 1591 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { |
| 1594 buildCounterListJobMessagesResponse++; | 1592 buildCounterListJobMessagesResponse++; |
| 1595 if (buildCounterListJobMessagesResponse < 3) { | 1593 if (buildCounterListJobMessagesResponse < 3) { |
| 1596 checkUnnamed3004(o.jobMessages); | 1594 checkUnnamed3114(o.jobMessages); |
| 1597 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1595 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1598 } | 1596 } |
| 1599 buildCounterListJobMessagesResponse--; | 1597 buildCounterListJobMessagesResponse--; |
| 1600 } | 1598 } |
| 1601 | 1599 |
| 1602 buildUnnamed3005() { | 1600 buildUnnamed3115() { |
| 1603 var o = new core.List<api.FailedLocation>(); | 1601 var o = new core.List<api.FailedLocation>(); |
| 1604 o.add(buildFailedLocation()); | 1602 o.add(buildFailedLocation()); |
| 1605 o.add(buildFailedLocation()); | 1603 o.add(buildFailedLocation()); |
| 1606 return o; | 1604 return o; |
| 1607 } | 1605 } |
| 1608 | 1606 |
| 1609 checkUnnamed3005(core.List<api.FailedLocation> o) { | 1607 checkUnnamed3115(core.List<api.FailedLocation> o) { |
| 1610 unittest.expect(o, unittest.hasLength(2)); | 1608 unittest.expect(o, unittest.hasLength(2)); |
| 1611 checkFailedLocation(o[0]); | 1609 checkFailedLocation(o[0]); |
| 1612 checkFailedLocation(o[1]); | 1610 checkFailedLocation(o[1]); |
| 1613 } | 1611 } |
| 1614 | 1612 |
| 1615 buildUnnamed3006() { | 1613 buildUnnamed3116() { |
| 1616 var o = new core.List<api.Job>(); | 1614 var o = new core.List<api.Job>(); |
| 1617 o.add(buildJob()); | 1615 o.add(buildJob()); |
| 1618 o.add(buildJob()); | 1616 o.add(buildJob()); |
| 1619 return o; | 1617 return o; |
| 1620 } | 1618 } |
| 1621 | 1619 |
| 1622 checkUnnamed3006(core.List<api.Job> o) { | 1620 checkUnnamed3116(core.List<api.Job> o) { |
| 1623 unittest.expect(o, unittest.hasLength(2)); | 1621 unittest.expect(o, unittest.hasLength(2)); |
| 1624 checkJob(o[0]); | 1622 checkJob(o[0]); |
| 1625 checkJob(o[1]); | 1623 checkJob(o[1]); |
| 1626 } | 1624 } |
| 1627 | 1625 |
| 1628 core.int buildCounterListJobsResponse = 0; | 1626 core.int buildCounterListJobsResponse = 0; |
| 1629 buildListJobsResponse() { | 1627 buildListJobsResponse() { |
| 1630 var o = new api.ListJobsResponse(); | 1628 var o = new api.ListJobsResponse(); |
| 1631 buildCounterListJobsResponse++; | 1629 buildCounterListJobsResponse++; |
| 1632 if (buildCounterListJobsResponse < 3) { | 1630 if (buildCounterListJobsResponse < 3) { |
| 1633 o.failedLocation = buildUnnamed3005(); | 1631 o.failedLocation = buildUnnamed3115(); |
| 1634 o.jobs = buildUnnamed3006(); | 1632 o.jobs = buildUnnamed3116(); |
| 1635 o.nextPageToken = "foo"; | 1633 o.nextPageToken = "foo"; |
| 1636 } | 1634 } |
| 1637 buildCounterListJobsResponse--; | 1635 buildCounterListJobsResponse--; |
| 1638 return o; | 1636 return o; |
| 1639 } | 1637 } |
| 1640 | 1638 |
| 1641 checkListJobsResponse(api.ListJobsResponse o) { | 1639 checkListJobsResponse(api.ListJobsResponse o) { |
| 1642 buildCounterListJobsResponse++; | 1640 buildCounterListJobsResponse++; |
| 1643 if (buildCounterListJobsResponse < 3) { | 1641 if (buildCounterListJobsResponse < 3) { |
| 1644 checkUnnamed3005(o.failedLocation); | 1642 checkUnnamed3115(o.failedLocation); |
| 1645 checkUnnamed3006(o.jobs); | 1643 checkUnnamed3116(o.jobs); |
| 1646 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1644 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1647 } | 1645 } |
| 1648 buildCounterListJobsResponse--; | 1646 buildCounterListJobsResponse--; |
| 1649 } | 1647 } |
| 1650 | 1648 |
| 1651 buildUnnamed3007() { | 1649 buildUnnamed3117() { |
| 1652 var o = new core.List<api.ParallelInstruction>(); | 1650 var o = new core.List<api.ParallelInstruction>(); |
| 1653 o.add(buildParallelInstruction()); | 1651 o.add(buildParallelInstruction()); |
| 1654 o.add(buildParallelInstruction()); | 1652 o.add(buildParallelInstruction()); |
| 1655 return o; | 1653 return o; |
| 1656 } | 1654 } |
| 1657 | 1655 |
| 1658 checkUnnamed3007(core.List<api.ParallelInstruction> o) { | 1656 checkUnnamed3117(core.List<api.ParallelInstruction> o) { |
| 1659 unittest.expect(o, unittest.hasLength(2)); | 1657 unittest.expect(o, unittest.hasLength(2)); |
| 1660 checkParallelInstruction(o[0]); | 1658 checkParallelInstruction(o[0]); |
| 1661 checkParallelInstruction(o[1]); | 1659 checkParallelInstruction(o[1]); |
| 1662 } | 1660 } |
| 1663 | 1661 |
| 1664 core.int buildCounterMapTask = 0; | 1662 core.int buildCounterMapTask = 0; |
| 1665 buildMapTask() { | 1663 buildMapTask() { |
| 1666 var o = new api.MapTask(); | 1664 var o = new api.MapTask(); |
| 1667 buildCounterMapTask++; | 1665 buildCounterMapTask++; |
| 1668 if (buildCounterMapTask < 3) { | 1666 if (buildCounterMapTask < 3) { |
| 1669 o.instructions = buildUnnamed3007(); | 1667 o.instructions = buildUnnamed3117(); |
| 1670 o.stageName = "foo"; | 1668 o.stageName = "foo"; |
| 1671 o.systemName = "foo"; | 1669 o.systemName = "foo"; |
| 1672 } | 1670 } |
| 1673 buildCounterMapTask--; | 1671 buildCounterMapTask--; |
| 1674 return o; | 1672 return o; |
| 1675 } | 1673 } |
| 1676 | 1674 |
| 1677 checkMapTask(api.MapTask o) { | 1675 checkMapTask(api.MapTask o) { |
| 1678 buildCounterMapTask++; | 1676 buildCounterMapTask++; |
| 1679 if (buildCounterMapTask < 3) { | 1677 if (buildCounterMapTask < 3) { |
| 1680 checkUnnamed3007(o.instructions); | 1678 checkUnnamed3117(o.instructions); |
| 1681 unittest.expect(o.stageName, unittest.equals('foo')); | 1679 unittest.expect(o.stageName, unittest.equals('foo')); |
| 1682 unittest.expect(o.systemName, unittest.equals('foo')); | 1680 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1683 } | 1681 } |
| 1684 buildCounterMapTask--; | 1682 buildCounterMapTask--; |
| 1685 } | 1683 } |
| 1686 | 1684 |
| 1687 core.int buildCounterMetricShortId = 0; | 1685 core.int buildCounterMetricShortId = 0; |
| 1688 buildMetricShortId() { | 1686 buildMetricShortId() { |
| 1689 var o = new api.MetricShortId(); | 1687 var o = new api.MetricShortId(); |
| 1690 buildCounterMetricShortId++; | 1688 buildCounterMetricShortId++; |
| 1691 if (buildCounterMetricShortId < 3) { | 1689 if (buildCounterMetricShortId < 3) { |
| 1692 o.metricIndex = 42; | 1690 o.metricIndex = 42; |
| 1693 o.shortId = "foo"; | 1691 o.shortId = "foo"; |
| 1694 } | 1692 } |
| 1695 buildCounterMetricShortId--; | 1693 buildCounterMetricShortId--; |
| 1696 return o; | 1694 return o; |
| 1697 } | 1695 } |
| 1698 | 1696 |
| 1699 checkMetricShortId(api.MetricShortId o) { | 1697 checkMetricShortId(api.MetricShortId o) { |
| 1700 buildCounterMetricShortId++; | 1698 buildCounterMetricShortId++; |
| 1701 if (buildCounterMetricShortId < 3) { | 1699 if (buildCounterMetricShortId < 3) { |
| 1702 unittest.expect(o.metricIndex, unittest.equals(42)); | 1700 unittest.expect(o.metricIndex, unittest.equals(42)); |
| 1703 unittest.expect(o.shortId, unittest.equals('foo')); | 1701 unittest.expect(o.shortId, unittest.equals('foo')); |
| 1704 } | 1702 } |
| 1705 buildCounterMetricShortId--; | 1703 buildCounterMetricShortId--; |
| 1706 } | 1704 } |
| 1707 | 1705 |
| 1708 buildUnnamed3008() { | 1706 buildUnnamed3118() { |
| 1709 var o = new core.Map<core.String, core.String>(); | 1707 var o = new core.Map<core.String, core.String>(); |
| 1710 o["x"] = "foo"; | 1708 o["x"] = "foo"; |
| 1711 o["y"] = "foo"; | 1709 o["y"] = "foo"; |
| 1712 return o; | 1710 return o; |
| 1713 } | 1711 } |
| 1714 | 1712 |
| 1715 checkUnnamed3008(core.Map<core.String, core.String> o) { | 1713 checkUnnamed3118(core.Map<core.String, core.String> o) { |
| 1716 unittest.expect(o, unittest.hasLength(2)); | 1714 unittest.expect(o, unittest.hasLength(2)); |
| 1717 unittest.expect(o["x"], unittest.equals('foo')); | 1715 unittest.expect(o["x"], unittest.equals('foo')); |
| 1718 unittest.expect(o["y"], unittest.equals('foo')); | 1716 unittest.expect(o["y"], unittest.equals('foo')); |
| 1719 } | 1717 } |
| 1720 | 1718 |
| 1721 core.int buildCounterMetricStructuredName = 0; | 1719 core.int buildCounterMetricStructuredName = 0; |
| 1722 buildMetricStructuredName() { | 1720 buildMetricStructuredName() { |
| 1723 var o = new api.MetricStructuredName(); | 1721 var o = new api.MetricStructuredName(); |
| 1724 buildCounterMetricStructuredName++; | 1722 buildCounterMetricStructuredName++; |
| 1725 if (buildCounterMetricStructuredName < 3) { | 1723 if (buildCounterMetricStructuredName < 3) { |
| 1726 o.context = buildUnnamed3008(); | 1724 o.context = buildUnnamed3118(); |
| 1727 o.name = "foo"; | 1725 o.name = "foo"; |
| 1728 o.origin = "foo"; | 1726 o.origin = "foo"; |
| 1729 } | 1727 } |
| 1730 buildCounterMetricStructuredName--; | 1728 buildCounterMetricStructuredName--; |
| 1731 return o; | 1729 return o; |
| 1732 } | 1730 } |
| 1733 | 1731 |
| 1734 checkMetricStructuredName(api.MetricStructuredName o) { | 1732 checkMetricStructuredName(api.MetricStructuredName o) { |
| 1735 buildCounterMetricStructuredName++; | 1733 buildCounterMetricStructuredName++; |
| 1736 if (buildCounterMetricStructuredName < 3) { | 1734 if (buildCounterMetricStructuredName < 3) { |
| 1737 checkUnnamed3008(o.context); | 1735 checkUnnamed3118(o.context); |
| 1738 unittest.expect(o.name, unittest.equals('foo')); | 1736 unittest.expect(o.name, unittest.equals('foo')); |
| 1739 unittest.expect(o.origin, unittest.equals('foo')); | 1737 unittest.expect(o.origin, unittest.equals('foo')); |
| 1740 } | 1738 } |
| 1741 buildCounterMetricStructuredName--; | 1739 buildCounterMetricStructuredName--; |
| 1742 } | 1740 } |
| 1743 | 1741 |
| 1744 core.int buildCounterMetricUpdate = 0; | 1742 core.int buildCounterMetricUpdate = 0; |
| 1745 buildMetricUpdate() { | 1743 buildMetricUpdate() { |
| 1746 var o = new api.MetricUpdate(); | 1744 var o = new api.MetricUpdate(); |
| 1747 buildCounterMetricUpdate++; | 1745 buildCounterMetricUpdate++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 | 1847 |
| 1850 checkPackage(api.Package o) { | 1848 checkPackage(api.Package o) { |
| 1851 buildCounterPackage++; | 1849 buildCounterPackage++; |
| 1852 if (buildCounterPackage < 3) { | 1850 if (buildCounterPackage < 3) { |
| 1853 unittest.expect(o.location, unittest.equals('foo')); | 1851 unittest.expect(o.location, unittest.equals('foo')); |
| 1854 unittest.expect(o.name, unittest.equals('foo')); | 1852 unittest.expect(o.name, unittest.equals('foo')); |
| 1855 } | 1853 } |
| 1856 buildCounterPackage--; | 1854 buildCounterPackage--; |
| 1857 } | 1855 } |
| 1858 | 1856 |
| 1859 buildUnnamed3009() { | 1857 buildUnnamed3119() { |
| 1860 var o = new core.List<api.MultiOutputInfo>(); | 1858 var o = new core.List<api.MultiOutputInfo>(); |
| 1861 o.add(buildMultiOutputInfo()); | 1859 o.add(buildMultiOutputInfo()); |
| 1862 o.add(buildMultiOutputInfo()); | 1860 o.add(buildMultiOutputInfo()); |
| 1863 return o; | 1861 return o; |
| 1864 } | 1862 } |
| 1865 | 1863 |
| 1866 checkUnnamed3009(core.List<api.MultiOutputInfo> o) { | 1864 checkUnnamed3119(core.List<api.MultiOutputInfo> o) { |
| 1867 unittest.expect(o, unittest.hasLength(2)); | 1865 unittest.expect(o, unittest.hasLength(2)); |
| 1868 checkMultiOutputInfo(o[0]); | 1866 checkMultiOutputInfo(o[0]); |
| 1869 checkMultiOutputInfo(o[1]); | 1867 checkMultiOutputInfo(o[1]); |
| 1870 } | 1868 } |
| 1871 | 1869 |
| 1872 buildUnnamed3010() { | 1870 buildUnnamed3120() { |
| 1873 var o = new core.List<api.SideInputInfo>(); | 1871 var o = new core.List<api.SideInputInfo>(); |
| 1874 o.add(buildSideInputInfo()); | 1872 o.add(buildSideInputInfo()); |
| 1875 o.add(buildSideInputInfo()); | 1873 o.add(buildSideInputInfo()); |
| 1876 return o; | 1874 return o; |
| 1877 } | 1875 } |
| 1878 | 1876 |
| 1879 checkUnnamed3010(core.List<api.SideInputInfo> o) { | 1877 checkUnnamed3120(core.List<api.SideInputInfo> o) { |
| 1880 unittest.expect(o, unittest.hasLength(2)); | 1878 unittest.expect(o, unittest.hasLength(2)); |
| 1881 checkSideInputInfo(o[0]); | 1879 checkSideInputInfo(o[0]); |
| 1882 checkSideInputInfo(o[1]); | 1880 checkSideInputInfo(o[1]); |
| 1883 } | 1881 } |
| 1884 | 1882 |
| 1885 buildUnnamed3011() { | 1883 buildUnnamed3121() { |
| 1886 var o = new core.Map<core.String, core.Object>(); | 1884 var o = new core.Map<core.String, core.Object>(); |
| 1887 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1885 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1888 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1886 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1889 return o; | 1887 return o; |
| 1890 } | 1888 } |
| 1891 | 1889 |
| 1892 checkUnnamed3011(core.Map<core.String, core.Object> o) { | 1890 checkUnnamed3121(core.Map<core.String, core.Object> o) { |
| 1893 unittest.expect(o, unittest.hasLength(2)); | 1891 unittest.expect(o, unittest.hasLength(2)); |
| 1894 var casted17 = (o["x"]) 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')); | 1892 var casted17 = (o["x"]) 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')); |
| 1895 var casted18 = (o["y"]) 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')); | 1893 var casted18 = (o["y"]) 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')); |
| 1896 } | 1894 } |
| 1897 | 1895 |
| 1898 core.int buildCounterParDoInstruction = 0; | 1896 core.int buildCounterParDoInstruction = 0; |
| 1899 buildParDoInstruction() { | 1897 buildParDoInstruction() { |
| 1900 var o = new api.ParDoInstruction(); | 1898 var o = new api.ParDoInstruction(); |
| 1901 buildCounterParDoInstruction++; | 1899 buildCounterParDoInstruction++; |
| 1902 if (buildCounterParDoInstruction < 3) { | 1900 if (buildCounterParDoInstruction < 3) { |
| 1903 o.input = buildInstructionInput(); | 1901 o.input = buildInstructionInput(); |
| 1904 o.multiOutputInfos = buildUnnamed3009(); | 1902 o.multiOutputInfos = buildUnnamed3119(); |
| 1905 o.numOutputs = 42; | 1903 o.numOutputs = 42; |
| 1906 o.sideInputs = buildUnnamed3010(); | 1904 o.sideInputs = buildUnnamed3120(); |
| 1907 o.userFn = buildUnnamed3011(); | 1905 o.userFn = buildUnnamed3121(); |
| 1908 } | 1906 } |
| 1909 buildCounterParDoInstruction--; | 1907 buildCounterParDoInstruction--; |
| 1910 return o; | 1908 return o; |
| 1911 } | 1909 } |
| 1912 | 1910 |
| 1913 checkParDoInstruction(api.ParDoInstruction o) { | 1911 checkParDoInstruction(api.ParDoInstruction o) { |
| 1914 buildCounterParDoInstruction++; | 1912 buildCounterParDoInstruction++; |
| 1915 if (buildCounterParDoInstruction < 3) { | 1913 if (buildCounterParDoInstruction < 3) { |
| 1916 checkInstructionInput(o.input); | 1914 checkInstructionInput(o.input); |
| 1917 checkUnnamed3009(o.multiOutputInfos); | 1915 checkUnnamed3119(o.multiOutputInfos); |
| 1918 unittest.expect(o.numOutputs, unittest.equals(42)); | 1916 unittest.expect(o.numOutputs, unittest.equals(42)); |
| 1919 checkUnnamed3010(o.sideInputs); | 1917 checkUnnamed3120(o.sideInputs); |
| 1920 checkUnnamed3011(o.userFn); | 1918 checkUnnamed3121(o.userFn); |
| 1921 } | 1919 } |
| 1922 buildCounterParDoInstruction--; | 1920 buildCounterParDoInstruction--; |
| 1923 } | 1921 } |
| 1924 | 1922 |
| 1925 buildUnnamed3012() { | 1923 buildUnnamed3122() { |
| 1926 var o = new core.List<api.InstructionOutput>(); | 1924 var o = new core.List<api.InstructionOutput>(); |
| 1927 o.add(buildInstructionOutput()); | 1925 o.add(buildInstructionOutput()); |
| 1928 o.add(buildInstructionOutput()); | 1926 o.add(buildInstructionOutput()); |
| 1929 return o; | 1927 return o; |
| 1930 } | 1928 } |
| 1931 | 1929 |
| 1932 checkUnnamed3012(core.List<api.InstructionOutput> o) { | 1930 checkUnnamed3122(core.List<api.InstructionOutput> o) { |
| 1933 unittest.expect(o, unittest.hasLength(2)); | 1931 unittest.expect(o, unittest.hasLength(2)); |
| 1934 checkInstructionOutput(o[0]); | 1932 checkInstructionOutput(o[0]); |
| 1935 checkInstructionOutput(o[1]); | 1933 checkInstructionOutput(o[1]); |
| 1936 } | 1934 } |
| 1937 | 1935 |
| 1938 core.int buildCounterParallelInstruction = 0; | 1936 core.int buildCounterParallelInstruction = 0; |
| 1939 buildParallelInstruction() { | 1937 buildParallelInstruction() { |
| 1940 var o = new api.ParallelInstruction(); | 1938 var o = new api.ParallelInstruction(); |
| 1941 buildCounterParallelInstruction++; | 1939 buildCounterParallelInstruction++; |
| 1942 if (buildCounterParallelInstruction < 3) { | 1940 if (buildCounterParallelInstruction < 3) { |
| 1943 o.flatten = buildFlattenInstruction(); | 1941 o.flatten = buildFlattenInstruction(); |
| 1944 o.name = "foo"; | 1942 o.name = "foo"; |
| 1945 o.originalName = "foo"; | 1943 o.originalName = "foo"; |
| 1946 o.outputs = buildUnnamed3012(); | 1944 o.outputs = buildUnnamed3122(); |
| 1947 o.parDo = buildParDoInstruction(); | 1945 o.parDo = buildParDoInstruction(); |
| 1948 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); | 1946 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); |
| 1949 o.read = buildReadInstruction(); | 1947 o.read = buildReadInstruction(); |
| 1950 o.systemName = "foo"; | 1948 o.systemName = "foo"; |
| 1951 o.write = buildWriteInstruction(); | 1949 o.write = buildWriteInstruction(); |
| 1952 } | 1950 } |
| 1953 buildCounterParallelInstruction--; | 1951 buildCounterParallelInstruction--; |
| 1954 return o; | 1952 return o; |
| 1955 } | 1953 } |
| 1956 | 1954 |
| 1957 checkParallelInstruction(api.ParallelInstruction o) { | 1955 checkParallelInstruction(api.ParallelInstruction o) { |
| 1958 buildCounterParallelInstruction++; | 1956 buildCounterParallelInstruction++; |
| 1959 if (buildCounterParallelInstruction < 3) { | 1957 if (buildCounterParallelInstruction < 3) { |
| 1960 checkFlattenInstruction(o.flatten); | 1958 checkFlattenInstruction(o.flatten); |
| 1961 unittest.expect(o.name, unittest.equals('foo')); | 1959 unittest.expect(o.name, unittest.equals('foo')); |
| 1962 unittest.expect(o.originalName, unittest.equals('foo')); | 1960 unittest.expect(o.originalName, unittest.equals('foo')); |
| 1963 checkUnnamed3012(o.outputs); | 1961 checkUnnamed3122(o.outputs); |
| 1964 checkParDoInstruction(o.parDo); | 1962 checkParDoInstruction(o.parDo); |
| 1965 checkPartialGroupByKeyInstruction(o.partialGroupByKey); | 1963 checkPartialGroupByKeyInstruction(o.partialGroupByKey); |
| 1966 checkReadInstruction(o.read); | 1964 checkReadInstruction(o.read); |
| 1967 unittest.expect(o.systemName, unittest.equals('foo')); | 1965 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1968 checkWriteInstruction(o.write); | 1966 checkWriteInstruction(o.write); |
| 1969 } | 1967 } |
| 1970 buildCounterParallelInstruction--; | 1968 buildCounterParallelInstruction--; |
| 1971 } | 1969 } |
| 1972 | 1970 |
| 1973 buildUnnamed3013() { | 1971 buildUnnamed3123() { |
| 1974 var o = new core.List<core.String>(); | 1972 var o = new core.List<core.String>(); |
| 1975 o.add("foo"); | 1973 o.add("foo"); |
| 1976 o.add("foo"); | 1974 o.add("foo"); |
| 1977 return o; | 1975 return o; |
| 1978 } | 1976 } |
| 1979 | 1977 |
| 1980 checkUnnamed3013(core.List<core.String> o) { | 1978 checkUnnamed3123(core.List<core.String> o) { |
| 1981 unittest.expect(o, unittest.hasLength(2)); | 1979 unittest.expect(o, unittest.hasLength(2)); |
| 1982 unittest.expect(o[0], unittest.equals('foo')); | 1980 unittest.expect(o[0], unittest.equals('foo')); |
| 1983 unittest.expect(o[1], unittest.equals('foo')); | 1981 unittest.expect(o[1], unittest.equals('foo')); |
| 1984 } | 1982 } |
| 1985 | 1983 |
| 1986 core.int buildCounterParameterMetadata = 0; | 1984 core.int buildCounterParameterMetadata = 0; |
| 1987 buildParameterMetadata() { | 1985 buildParameterMetadata() { |
| 1988 var o = new api.ParameterMetadata(); | 1986 var o = new api.ParameterMetadata(); |
| 1989 buildCounterParameterMetadata++; | 1987 buildCounterParameterMetadata++; |
| 1990 if (buildCounterParameterMetadata < 3) { | 1988 if (buildCounterParameterMetadata < 3) { |
| 1991 o.helpText = "foo"; | 1989 o.helpText = "foo"; |
| 1992 o.isOptional = true; | 1990 o.isOptional = true; |
| 1993 o.label = "foo"; | 1991 o.label = "foo"; |
| 1994 o.name = "foo"; | 1992 o.name = "foo"; |
| 1995 o.regexes = buildUnnamed3013(); | 1993 o.regexes = buildUnnamed3123(); |
| 1996 } | 1994 } |
| 1997 buildCounterParameterMetadata--; | 1995 buildCounterParameterMetadata--; |
| 1998 return o; | 1996 return o; |
| 1999 } | 1997 } |
| 2000 | 1998 |
| 2001 checkParameterMetadata(api.ParameterMetadata o) { | 1999 checkParameterMetadata(api.ParameterMetadata o) { |
| 2002 buildCounterParameterMetadata++; | 2000 buildCounterParameterMetadata++; |
| 2003 if (buildCounterParameterMetadata < 3) { | 2001 if (buildCounterParameterMetadata < 3) { |
| 2004 unittest.expect(o.helpText, unittest.equals('foo')); | 2002 unittest.expect(o.helpText, unittest.equals('foo')); |
| 2005 unittest.expect(o.isOptional, unittest.isTrue); | 2003 unittest.expect(o.isOptional, unittest.isTrue); |
| 2006 unittest.expect(o.label, unittest.equals('foo')); | 2004 unittest.expect(o.label, unittest.equals('foo')); |
| 2007 unittest.expect(o.name, unittest.equals('foo')); | 2005 unittest.expect(o.name, unittest.equals('foo')); |
| 2008 checkUnnamed3013(o.regexes); | 2006 checkUnnamed3123(o.regexes); |
| 2009 } | 2007 } |
| 2010 buildCounterParameterMetadata--; | 2008 buildCounterParameterMetadata--; |
| 2011 } | 2009 } |
| 2012 | 2010 |
| 2013 buildUnnamed3014() { | 2011 buildUnnamed3124() { |
| 2014 var o = new core.Map<core.String, core.Object>(); | 2012 var o = new core.Map<core.String, core.Object>(); |
| 2015 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2013 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2016 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2014 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2017 return o; | 2015 return o; |
| 2018 } | 2016 } |
| 2019 | 2017 |
| 2020 checkUnnamed3014(core.Map<core.String, core.Object> o) { | 2018 checkUnnamed3124(core.Map<core.String, core.Object> o) { |
| 2021 unittest.expect(o, unittest.hasLength(2)); | 2019 unittest.expect(o, unittest.hasLength(2)); |
| 2022 var casted19 = (o["x"]) 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')); | 2020 var casted19 = (o["x"]) 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')); |
| 2023 var casted20 = (o["y"]) 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')); | 2021 var casted20 = (o["y"]) 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')); |
| 2024 } | 2022 } |
| 2025 | 2023 |
| 2026 buildUnnamed3015() { | 2024 buildUnnamed3125() { |
| 2027 var o = new core.List<api.SideInputInfo>(); | 2025 var o = new core.List<api.SideInputInfo>(); |
| 2028 o.add(buildSideInputInfo()); | 2026 o.add(buildSideInputInfo()); |
| 2029 o.add(buildSideInputInfo()); | 2027 o.add(buildSideInputInfo()); |
| 2030 return o; | 2028 return o; |
| 2031 } | 2029 } |
| 2032 | 2030 |
| 2033 checkUnnamed3015(core.List<api.SideInputInfo> o) { | 2031 checkUnnamed3125(core.List<api.SideInputInfo> o) { |
| 2034 unittest.expect(o, unittest.hasLength(2)); | 2032 unittest.expect(o, unittest.hasLength(2)); |
| 2035 checkSideInputInfo(o[0]); | 2033 checkSideInputInfo(o[0]); |
| 2036 checkSideInputInfo(o[1]); | 2034 checkSideInputInfo(o[1]); |
| 2037 } | 2035 } |
| 2038 | 2036 |
| 2039 buildUnnamed3016() { | 2037 buildUnnamed3126() { |
| 2040 var o = new core.Map<core.String, core.Object>(); | 2038 var o = new core.Map<core.String, core.Object>(); |
| 2041 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2039 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2042 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2040 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2043 return o; | 2041 return o; |
| 2044 } | 2042 } |
| 2045 | 2043 |
| 2046 checkUnnamed3016(core.Map<core.String, core.Object> o) { | 2044 checkUnnamed3126(core.Map<core.String, core.Object> o) { |
| 2047 unittest.expect(o, unittest.hasLength(2)); | 2045 unittest.expect(o, unittest.hasLength(2)); |
| 2048 var casted21 = (o["x"]) 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')); | 2046 var casted21 = (o["x"]) 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')); |
| 2049 var casted22 = (o["y"]) 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')); | 2047 var casted22 = (o["y"]) 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')); |
| 2050 } | 2048 } |
| 2051 | 2049 |
| 2052 core.int buildCounterPartialGroupByKeyInstruction = 0; | 2050 core.int buildCounterPartialGroupByKeyInstruction = 0; |
| 2053 buildPartialGroupByKeyInstruction() { | 2051 buildPartialGroupByKeyInstruction() { |
| 2054 var o = new api.PartialGroupByKeyInstruction(); | 2052 var o = new api.PartialGroupByKeyInstruction(); |
| 2055 buildCounterPartialGroupByKeyInstruction++; | 2053 buildCounterPartialGroupByKeyInstruction++; |
| 2056 if (buildCounterPartialGroupByKeyInstruction < 3) { | 2054 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 2057 o.input = buildInstructionInput(); | 2055 o.input = buildInstructionInput(); |
| 2058 o.inputElementCodec = buildUnnamed3014(); | 2056 o.inputElementCodec = buildUnnamed3124(); |
| 2059 o.originalCombineValuesInputStoreName = "foo"; | 2057 o.originalCombineValuesInputStoreName = "foo"; |
| 2060 o.originalCombineValuesStepName = "foo"; | 2058 o.originalCombineValuesStepName = "foo"; |
| 2061 o.sideInputs = buildUnnamed3015(); | 2059 o.sideInputs = buildUnnamed3125(); |
| 2062 o.valueCombiningFn = buildUnnamed3016(); | 2060 o.valueCombiningFn = buildUnnamed3126(); |
| 2063 } | 2061 } |
| 2064 buildCounterPartialGroupByKeyInstruction--; | 2062 buildCounterPartialGroupByKeyInstruction--; |
| 2065 return o; | 2063 return o; |
| 2066 } | 2064 } |
| 2067 | 2065 |
| 2068 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { | 2066 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { |
| 2069 buildCounterPartialGroupByKeyInstruction++; | 2067 buildCounterPartialGroupByKeyInstruction++; |
| 2070 if (buildCounterPartialGroupByKeyInstruction < 3) { | 2068 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 2071 checkInstructionInput(o.input); | 2069 checkInstructionInput(o.input); |
| 2072 checkUnnamed3014(o.inputElementCodec); | 2070 checkUnnamed3124(o.inputElementCodec); |
| 2073 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); | 2071 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); |
| 2074 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); | 2072 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); |
| 2075 checkUnnamed3015(o.sideInputs); | 2073 checkUnnamed3125(o.sideInputs); |
| 2076 checkUnnamed3016(o.valueCombiningFn); | 2074 checkUnnamed3126(o.valueCombiningFn); |
| 2077 } | 2075 } |
| 2078 buildCounterPartialGroupByKeyInstruction--; | 2076 buildCounterPartialGroupByKeyInstruction--; |
| 2079 } | 2077 } |
| 2080 | 2078 |
| 2081 buildUnnamed3017() { | 2079 buildUnnamed3127() { |
| 2082 var o = new core.List<api.DisplayData>(); | 2080 var o = new core.List<api.DisplayData>(); |
| 2083 o.add(buildDisplayData()); | 2081 o.add(buildDisplayData()); |
| 2084 o.add(buildDisplayData()); | 2082 o.add(buildDisplayData()); |
| 2085 return o; | 2083 return o; |
| 2086 } | 2084 } |
| 2087 | 2085 |
| 2088 checkUnnamed3017(core.List<api.DisplayData> o) { | 2086 checkUnnamed3127(core.List<api.DisplayData> o) { |
| 2089 unittest.expect(o, unittest.hasLength(2)); | 2087 unittest.expect(o, unittest.hasLength(2)); |
| 2090 checkDisplayData(o[0]); | 2088 checkDisplayData(o[0]); |
| 2091 checkDisplayData(o[1]); | 2089 checkDisplayData(o[1]); |
| 2092 } | 2090 } |
| 2093 | 2091 |
| 2094 buildUnnamed3018() { | 2092 buildUnnamed3128() { |
| 2095 var o = new core.List<api.ExecutionStageSummary>(); | 2093 var o = new core.List<api.ExecutionStageSummary>(); |
| 2096 o.add(buildExecutionStageSummary()); | 2094 o.add(buildExecutionStageSummary()); |
| 2097 o.add(buildExecutionStageSummary()); | 2095 o.add(buildExecutionStageSummary()); |
| 2098 return o; | 2096 return o; |
| 2099 } | 2097 } |
| 2100 | 2098 |
| 2101 checkUnnamed3018(core.List<api.ExecutionStageSummary> o) { | 2099 checkUnnamed3128(core.List<api.ExecutionStageSummary> o) { |
| 2102 unittest.expect(o, unittest.hasLength(2)); | 2100 unittest.expect(o, unittest.hasLength(2)); |
| 2103 checkExecutionStageSummary(o[0]); | 2101 checkExecutionStageSummary(o[0]); |
| 2104 checkExecutionStageSummary(o[1]); | 2102 checkExecutionStageSummary(o[1]); |
| 2105 } | 2103 } |
| 2106 | 2104 |
| 2107 buildUnnamed3019() { | 2105 buildUnnamed3129() { |
| 2108 var o = new core.List<api.TransformSummary>(); | 2106 var o = new core.List<api.TransformSummary>(); |
| 2109 o.add(buildTransformSummary()); | 2107 o.add(buildTransformSummary()); |
| 2110 o.add(buildTransformSummary()); | 2108 o.add(buildTransformSummary()); |
| 2111 return o; | 2109 return o; |
| 2112 } | 2110 } |
| 2113 | 2111 |
| 2114 checkUnnamed3019(core.List<api.TransformSummary> o) { | 2112 checkUnnamed3129(core.List<api.TransformSummary> o) { |
| 2115 unittest.expect(o, unittest.hasLength(2)); | 2113 unittest.expect(o, unittest.hasLength(2)); |
| 2116 checkTransformSummary(o[0]); | 2114 checkTransformSummary(o[0]); |
| 2117 checkTransformSummary(o[1]); | 2115 checkTransformSummary(o[1]); |
| 2118 } | 2116 } |
| 2119 | 2117 |
| 2120 core.int buildCounterPipelineDescription = 0; | 2118 core.int buildCounterPipelineDescription = 0; |
| 2121 buildPipelineDescription() { | 2119 buildPipelineDescription() { |
| 2122 var o = new api.PipelineDescription(); | 2120 var o = new api.PipelineDescription(); |
| 2123 buildCounterPipelineDescription++; | 2121 buildCounterPipelineDescription++; |
| 2124 if (buildCounterPipelineDescription < 3) { | 2122 if (buildCounterPipelineDescription < 3) { |
| 2125 o.displayData = buildUnnamed3017(); | 2123 o.displayData = buildUnnamed3127(); |
| 2126 o.executionPipelineStage = buildUnnamed3018(); | 2124 o.executionPipelineStage = buildUnnamed3128(); |
| 2127 o.originalPipelineTransform = buildUnnamed3019(); | 2125 o.originalPipelineTransform = buildUnnamed3129(); |
| 2128 } | 2126 } |
| 2129 buildCounterPipelineDescription--; | 2127 buildCounterPipelineDescription--; |
| 2130 return o; | 2128 return o; |
| 2131 } | 2129 } |
| 2132 | 2130 |
| 2133 checkPipelineDescription(api.PipelineDescription o) { | 2131 checkPipelineDescription(api.PipelineDescription o) { |
| 2134 buildCounterPipelineDescription++; | 2132 buildCounterPipelineDescription++; |
| 2135 if (buildCounterPipelineDescription < 3) { | 2133 if (buildCounterPipelineDescription < 3) { |
| 2136 checkUnnamed3017(o.displayData); | 2134 checkUnnamed3127(o.displayData); |
| 2137 checkUnnamed3018(o.executionPipelineStage); | 2135 checkUnnamed3128(o.executionPipelineStage); |
| 2138 checkUnnamed3019(o.originalPipelineTransform); | 2136 checkUnnamed3129(o.originalPipelineTransform); |
| 2139 } | 2137 } |
| 2140 buildCounterPipelineDescription--; | 2138 buildCounterPipelineDescription--; |
| 2141 } | 2139 } |
| 2142 | 2140 |
| 2143 core.int buildCounterPosition = 0; | 2141 core.int buildCounterPosition = 0; |
| 2144 buildPosition() { | 2142 buildPosition() { |
| 2145 var o = new api.Position(); | 2143 var o = new api.Position(); |
| 2146 buildCounterPosition++; | 2144 buildCounterPosition++; |
| 2147 if (buildCounterPosition < 3) { | 2145 if (buildCounterPosition < 3) { |
| 2148 o.byteOffset = "foo"; | 2146 o.byteOffset = "foo"; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2212 } | 2210 } |
| 2213 | 2211 |
| 2214 checkReadInstruction(api.ReadInstruction o) { | 2212 checkReadInstruction(api.ReadInstruction o) { |
| 2215 buildCounterReadInstruction++; | 2213 buildCounterReadInstruction++; |
| 2216 if (buildCounterReadInstruction < 3) { | 2214 if (buildCounterReadInstruction < 3) { |
| 2217 checkSource(o.source); | 2215 checkSource(o.source); |
| 2218 } | 2216 } |
| 2219 buildCounterReadInstruction--; | 2217 buildCounterReadInstruction--; |
| 2220 } | 2218 } |
| 2221 | 2219 |
| 2222 buildUnnamed3020() { | 2220 buildUnnamed3130() { |
| 2223 var o = new core.List<api.WorkItemStatus>(); | 2221 var o = new core.List<api.WorkItemStatus>(); |
| 2224 o.add(buildWorkItemStatus()); | 2222 o.add(buildWorkItemStatus()); |
| 2225 o.add(buildWorkItemStatus()); | 2223 o.add(buildWorkItemStatus()); |
| 2226 return o; | 2224 return o; |
| 2227 } | 2225 } |
| 2228 | 2226 |
| 2229 checkUnnamed3020(core.List<api.WorkItemStatus> o) { | 2227 checkUnnamed3130(core.List<api.WorkItemStatus> o) { |
| 2230 unittest.expect(o, unittest.hasLength(2)); | 2228 unittest.expect(o, unittest.hasLength(2)); |
| 2231 checkWorkItemStatus(o[0]); | 2229 checkWorkItemStatus(o[0]); |
| 2232 checkWorkItemStatus(o[1]); | 2230 checkWorkItemStatus(o[1]); |
| 2233 } | 2231 } |
| 2234 | 2232 |
| 2235 core.int buildCounterReportWorkItemStatusRequest = 0; | 2233 core.int buildCounterReportWorkItemStatusRequest = 0; |
| 2236 buildReportWorkItemStatusRequest() { | 2234 buildReportWorkItemStatusRequest() { |
| 2237 var o = new api.ReportWorkItemStatusRequest(); | 2235 var o = new api.ReportWorkItemStatusRequest(); |
| 2238 buildCounterReportWorkItemStatusRequest++; | 2236 buildCounterReportWorkItemStatusRequest++; |
| 2239 if (buildCounterReportWorkItemStatusRequest < 3) { | 2237 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 2240 o.currentWorkerTime = "foo"; | 2238 o.currentWorkerTime = "foo"; |
| 2241 o.location = "foo"; | 2239 o.location = "foo"; |
| 2242 o.workItemStatuses = buildUnnamed3020(); | 2240 o.workItemStatuses = buildUnnamed3130(); |
| 2243 o.workerId = "foo"; | 2241 o.workerId = "foo"; |
| 2244 } | 2242 } |
| 2245 buildCounterReportWorkItemStatusRequest--; | 2243 buildCounterReportWorkItemStatusRequest--; |
| 2246 return o; | 2244 return o; |
| 2247 } | 2245 } |
| 2248 | 2246 |
| 2249 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { | 2247 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { |
| 2250 buildCounterReportWorkItemStatusRequest++; | 2248 buildCounterReportWorkItemStatusRequest++; |
| 2251 if (buildCounterReportWorkItemStatusRequest < 3) { | 2249 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 2252 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 2250 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 2253 unittest.expect(o.location, unittest.equals('foo')); | 2251 unittest.expect(o.location, unittest.equals('foo')); |
| 2254 checkUnnamed3020(o.workItemStatuses); | 2252 checkUnnamed3130(o.workItemStatuses); |
| 2255 unittest.expect(o.workerId, unittest.equals('foo')); | 2253 unittest.expect(o.workerId, unittest.equals('foo')); |
| 2256 } | 2254 } |
| 2257 buildCounterReportWorkItemStatusRequest--; | 2255 buildCounterReportWorkItemStatusRequest--; |
| 2258 } | 2256 } |
| 2259 | 2257 |
| 2260 buildUnnamed3021() { | 2258 buildUnnamed3131() { |
| 2261 var o = new core.List<api.WorkItemServiceState>(); | 2259 var o = new core.List<api.WorkItemServiceState>(); |
| 2262 o.add(buildWorkItemServiceState()); | 2260 o.add(buildWorkItemServiceState()); |
| 2263 o.add(buildWorkItemServiceState()); | 2261 o.add(buildWorkItemServiceState()); |
| 2264 return o; | 2262 return o; |
| 2265 } | 2263 } |
| 2266 | 2264 |
| 2267 checkUnnamed3021(core.List<api.WorkItemServiceState> o) { | 2265 checkUnnamed3131(core.List<api.WorkItemServiceState> o) { |
| 2268 unittest.expect(o, unittest.hasLength(2)); | 2266 unittest.expect(o, unittest.hasLength(2)); |
| 2269 checkWorkItemServiceState(o[0]); | 2267 checkWorkItemServiceState(o[0]); |
| 2270 checkWorkItemServiceState(o[1]); | 2268 checkWorkItemServiceState(o[1]); |
| 2271 } | 2269 } |
| 2272 | 2270 |
| 2273 core.int buildCounterReportWorkItemStatusResponse = 0; | 2271 core.int buildCounterReportWorkItemStatusResponse = 0; |
| 2274 buildReportWorkItemStatusResponse() { | 2272 buildReportWorkItemStatusResponse() { |
| 2275 var o = new api.ReportWorkItemStatusResponse(); | 2273 var o = new api.ReportWorkItemStatusResponse(); |
| 2276 buildCounterReportWorkItemStatusResponse++; | 2274 buildCounterReportWorkItemStatusResponse++; |
| 2277 if (buildCounterReportWorkItemStatusResponse < 3) { | 2275 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 2278 o.workItemServiceStates = buildUnnamed3021(); | 2276 o.workItemServiceStates = buildUnnamed3131(); |
| 2279 } | 2277 } |
| 2280 buildCounterReportWorkItemStatusResponse--; | 2278 buildCounterReportWorkItemStatusResponse--; |
| 2281 return o; | 2279 return o; |
| 2282 } | 2280 } |
| 2283 | 2281 |
| 2284 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { | 2282 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { |
| 2285 buildCounterReportWorkItemStatusResponse++; | 2283 buildCounterReportWorkItemStatusResponse++; |
| 2286 if (buildCounterReportWorkItemStatusResponse < 3) { | 2284 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 2287 checkUnnamed3021(o.workItemServiceStates); | 2285 checkUnnamed3131(o.workItemServiceStates); |
| 2288 } | 2286 } |
| 2289 buildCounterReportWorkItemStatusResponse--; | 2287 buildCounterReportWorkItemStatusResponse--; |
| 2290 } | 2288 } |
| 2291 | 2289 |
| 2292 core.int buildCounterReportedParallelism = 0; | 2290 core.int buildCounterReportedParallelism = 0; |
| 2293 buildReportedParallelism() { | 2291 buildReportedParallelism() { |
| 2294 var o = new api.ReportedParallelism(); | 2292 var o = new api.ReportedParallelism(); |
| 2295 buildCounterReportedParallelism++; | 2293 buildCounterReportedParallelism++; |
| 2296 if (buildCounterReportedParallelism < 3) { | 2294 if (buildCounterReportedParallelism < 3) { |
| 2297 o.isInfinite = true; | 2295 o.isInfinite = true; |
| 2298 o.value = 42.0; | 2296 o.value = 42.0; |
| 2299 } | 2297 } |
| 2300 buildCounterReportedParallelism--; | 2298 buildCounterReportedParallelism--; |
| 2301 return o; | 2299 return o; |
| 2302 } | 2300 } |
| 2303 | 2301 |
| 2304 checkReportedParallelism(api.ReportedParallelism o) { | 2302 checkReportedParallelism(api.ReportedParallelism o) { |
| 2305 buildCounterReportedParallelism++; | 2303 buildCounterReportedParallelism++; |
| 2306 if (buildCounterReportedParallelism < 3) { | 2304 if (buildCounterReportedParallelism < 3) { |
| 2307 unittest.expect(o.isInfinite, unittest.isTrue); | 2305 unittest.expect(o.isInfinite, unittest.isTrue); |
| 2308 unittest.expect(o.value, unittest.equals(42.0)); | 2306 unittest.expect(o.value, unittest.equals(42.0)); |
| 2309 } | 2307 } |
| 2310 buildCounterReportedParallelism--; | 2308 buildCounterReportedParallelism--; |
| 2311 } | 2309 } |
| 2312 | 2310 |
| 2313 buildUnnamed3022() { | 2311 buildUnnamed3132() { |
| 2314 var o = new core.List<api.CPUTime>(); | 2312 var o = new core.List<api.CPUTime>(); |
| 2315 o.add(buildCPUTime()); | 2313 o.add(buildCPUTime()); |
| 2316 o.add(buildCPUTime()); | 2314 o.add(buildCPUTime()); |
| 2317 return o; | 2315 return o; |
| 2318 } | 2316 } |
| 2319 | 2317 |
| 2320 checkUnnamed3022(core.List<api.CPUTime> o) { | 2318 checkUnnamed3132(core.List<api.CPUTime> o) { |
| 2321 unittest.expect(o, unittest.hasLength(2)); | 2319 unittest.expect(o, unittest.hasLength(2)); |
| 2322 checkCPUTime(o[0]); | 2320 checkCPUTime(o[0]); |
| 2323 checkCPUTime(o[1]); | 2321 checkCPUTime(o[1]); |
| 2324 } | 2322 } |
| 2325 | 2323 |
| 2326 core.int buildCounterResourceUtilizationReport = 0; | 2324 core.int buildCounterResourceUtilizationReport = 0; |
| 2327 buildResourceUtilizationReport() { | 2325 buildResourceUtilizationReport() { |
| 2328 var o = new api.ResourceUtilizationReport(); | 2326 var o = new api.ResourceUtilizationReport(); |
| 2329 buildCounterResourceUtilizationReport++; | 2327 buildCounterResourceUtilizationReport++; |
| 2330 if (buildCounterResourceUtilizationReport < 3) { | 2328 if (buildCounterResourceUtilizationReport < 3) { |
| 2331 o.cpuTime = buildUnnamed3022(); | 2329 o.cpuTime = buildUnnamed3132(); |
| 2332 } | 2330 } |
| 2333 buildCounterResourceUtilizationReport--; | 2331 buildCounterResourceUtilizationReport--; |
| 2334 return o; | 2332 return o; |
| 2335 } | 2333 } |
| 2336 | 2334 |
| 2337 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { | 2335 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { |
| 2338 buildCounterResourceUtilizationReport++; | 2336 buildCounterResourceUtilizationReport++; |
| 2339 if (buildCounterResourceUtilizationReport < 3) { | 2337 if (buildCounterResourceUtilizationReport < 3) { |
| 2340 checkUnnamed3022(o.cpuTime); | 2338 checkUnnamed3132(o.cpuTime); |
| 2341 } | 2339 } |
| 2342 buildCounterResourceUtilizationReport--; | 2340 buildCounterResourceUtilizationReport--; |
| 2343 } | 2341 } |
| 2344 | 2342 |
| 2345 core.int buildCounterResourceUtilizationReportResponse = 0; | 2343 core.int buildCounterResourceUtilizationReportResponse = 0; |
| 2346 buildResourceUtilizationReportResponse() { | 2344 buildResourceUtilizationReportResponse() { |
| 2347 var o = new api.ResourceUtilizationReportResponse(); | 2345 var o = new api.ResourceUtilizationReportResponse(); |
| 2348 buildCounterResourceUtilizationReportResponse++; | 2346 buildCounterResourceUtilizationReportResponse++; |
| 2349 if (buildCounterResourceUtilizationReportResponse < 3) { | 2347 if (buildCounterResourceUtilizationReportResponse < 3) { |
| 2350 } | 2348 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2419 return o; | 2417 return o; |
| 2420 } | 2418 } |
| 2421 | 2419 |
| 2422 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { | 2420 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { |
| 2423 buildCounterSendDebugCaptureResponse++; | 2421 buildCounterSendDebugCaptureResponse++; |
| 2424 if (buildCounterSendDebugCaptureResponse < 3) { | 2422 if (buildCounterSendDebugCaptureResponse < 3) { |
| 2425 } | 2423 } |
| 2426 buildCounterSendDebugCaptureResponse--; | 2424 buildCounterSendDebugCaptureResponse--; |
| 2427 } | 2425 } |
| 2428 | 2426 |
| 2429 buildUnnamed3023() { | 2427 buildUnnamed3133() { |
| 2430 var o = new core.List<api.WorkerMessage>(); | 2428 var o = new core.List<api.WorkerMessage>(); |
| 2431 o.add(buildWorkerMessage()); | 2429 o.add(buildWorkerMessage()); |
| 2432 o.add(buildWorkerMessage()); | 2430 o.add(buildWorkerMessage()); |
| 2433 return o; | 2431 return o; |
| 2434 } | 2432 } |
| 2435 | 2433 |
| 2436 checkUnnamed3023(core.List<api.WorkerMessage> o) { | 2434 checkUnnamed3133(core.List<api.WorkerMessage> o) { |
| 2437 unittest.expect(o, unittest.hasLength(2)); | 2435 unittest.expect(o, unittest.hasLength(2)); |
| 2438 checkWorkerMessage(o[0]); | 2436 checkWorkerMessage(o[0]); |
| 2439 checkWorkerMessage(o[1]); | 2437 checkWorkerMessage(o[1]); |
| 2440 } | 2438 } |
| 2441 | 2439 |
| 2442 core.int buildCounterSendWorkerMessagesRequest = 0; | 2440 core.int buildCounterSendWorkerMessagesRequest = 0; |
| 2443 buildSendWorkerMessagesRequest() { | 2441 buildSendWorkerMessagesRequest() { |
| 2444 var o = new api.SendWorkerMessagesRequest(); | 2442 var o = new api.SendWorkerMessagesRequest(); |
| 2445 buildCounterSendWorkerMessagesRequest++; | 2443 buildCounterSendWorkerMessagesRequest++; |
| 2446 if (buildCounterSendWorkerMessagesRequest < 3) { | 2444 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 2447 o.workerMessages = buildUnnamed3023(); | 2445 o.workerMessages = buildUnnamed3133(); |
| 2448 } | 2446 } |
| 2449 buildCounterSendWorkerMessagesRequest--; | 2447 buildCounterSendWorkerMessagesRequest--; |
| 2450 return o; | 2448 return o; |
| 2451 } | 2449 } |
| 2452 | 2450 |
| 2453 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { | 2451 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { |
| 2454 buildCounterSendWorkerMessagesRequest++; | 2452 buildCounterSendWorkerMessagesRequest++; |
| 2455 if (buildCounterSendWorkerMessagesRequest < 3) { | 2453 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 2456 checkUnnamed3023(o.workerMessages); | 2454 checkUnnamed3133(o.workerMessages); |
| 2457 } | 2455 } |
| 2458 buildCounterSendWorkerMessagesRequest--; | 2456 buildCounterSendWorkerMessagesRequest--; |
| 2459 } | 2457 } |
| 2460 | 2458 |
| 2461 buildUnnamed3024() { | 2459 buildUnnamed3134() { |
| 2462 var o = new core.List<api.WorkerMessageResponse>(); | 2460 var o = new core.List<api.WorkerMessageResponse>(); |
| 2463 o.add(buildWorkerMessageResponse()); | 2461 o.add(buildWorkerMessageResponse()); |
| 2464 o.add(buildWorkerMessageResponse()); | 2462 o.add(buildWorkerMessageResponse()); |
| 2465 return o; | 2463 return o; |
| 2466 } | 2464 } |
| 2467 | 2465 |
| 2468 checkUnnamed3024(core.List<api.WorkerMessageResponse> o) { | 2466 checkUnnamed3134(core.List<api.WorkerMessageResponse> o) { |
| 2469 unittest.expect(o, unittest.hasLength(2)); | 2467 unittest.expect(o, unittest.hasLength(2)); |
| 2470 checkWorkerMessageResponse(o[0]); | 2468 checkWorkerMessageResponse(o[0]); |
| 2471 checkWorkerMessageResponse(o[1]); | 2469 checkWorkerMessageResponse(o[1]); |
| 2472 } | 2470 } |
| 2473 | 2471 |
| 2474 core.int buildCounterSendWorkerMessagesResponse = 0; | 2472 core.int buildCounterSendWorkerMessagesResponse = 0; |
| 2475 buildSendWorkerMessagesResponse() { | 2473 buildSendWorkerMessagesResponse() { |
| 2476 var o = new api.SendWorkerMessagesResponse(); | 2474 var o = new api.SendWorkerMessagesResponse(); |
| 2477 buildCounterSendWorkerMessagesResponse++; | 2475 buildCounterSendWorkerMessagesResponse++; |
| 2478 if (buildCounterSendWorkerMessagesResponse < 3) { | 2476 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2479 o.workerMessageResponses = buildUnnamed3024(); | 2477 o.workerMessageResponses = buildUnnamed3134(); |
| 2480 } | 2478 } |
| 2481 buildCounterSendWorkerMessagesResponse--; | 2479 buildCounterSendWorkerMessagesResponse--; |
| 2482 return o; | 2480 return o; |
| 2483 } | 2481 } |
| 2484 | 2482 |
| 2485 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { | 2483 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { |
| 2486 buildCounterSendWorkerMessagesResponse++; | 2484 buildCounterSendWorkerMessagesResponse++; |
| 2487 if (buildCounterSendWorkerMessagesResponse < 3) { | 2485 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2488 checkUnnamed3024(o.workerMessageResponses); | 2486 checkUnnamed3134(o.workerMessageResponses); |
| 2489 } | 2487 } |
| 2490 buildCounterSendWorkerMessagesResponse--; | 2488 buildCounterSendWorkerMessagesResponse--; |
| 2491 } | 2489 } |
| 2492 | 2490 |
| 2493 buildUnnamed3025() { | 2491 buildUnnamed3135() { |
| 2494 var o = new core.List<api.SideInputInfo>(); | 2492 var o = new core.List<api.SideInputInfo>(); |
| 2495 o.add(buildSideInputInfo()); | 2493 o.add(buildSideInputInfo()); |
| 2496 o.add(buildSideInputInfo()); | 2494 o.add(buildSideInputInfo()); |
| 2497 return o; | 2495 return o; |
| 2498 } | 2496 } |
| 2499 | 2497 |
| 2500 checkUnnamed3025(core.List<api.SideInputInfo> o) { | 2498 checkUnnamed3135(core.List<api.SideInputInfo> o) { |
| 2501 unittest.expect(o, unittest.hasLength(2)); | 2499 unittest.expect(o, unittest.hasLength(2)); |
| 2502 checkSideInputInfo(o[0]); | 2500 checkSideInputInfo(o[0]); |
| 2503 checkSideInputInfo(o[1]); | 2501 checkSideInputInfo(o[1]); |
| 2504 } | 2502 } |
| 2505 | 2503 |
| 2506 buildUnnamed3026() { | 2504 buildUnnamed3136() { |
| 2507 var o = new core.List<api.SeqMapTaskOutputInfo>(); | 2505 var o = new core.List<api.SeqMapTaskOutputInfo>(); |
| 2508 o.add(buildSeqMapTaskOutputInfo()); | 2506 o.add(buildSeqMapTaskOutputInfo()); |
| 2509 o.add(buildSeqMapTaskOutputInfo()); | 2507 o.add(buildSeqMapTaskOutputInfo()); |
| 2510 return o; | 2508 return o; |
| 2511 } | 2509 } |
| 2512 | 2510 |
| 2513 checkUnnamed3026(core.List<api.SeqMapTaskOutputInfo> o) { | 2511 checkUnnamed3136(core.List<api.SeqMapTaskOutputInfo> o) { |
| 2514 unittest.expect(o, unittest.hasLength(2)); | 2512 unittest.expect(o, unittest.hasLength(2)); |
| 2515 checkSeqMapTaskOutputInfo(o[0]); | 2513 checkSeqMapTaskOutputInfo(o[0]); |
| 2516 checkSeqMapTaskOutputInfo(o[1]); | 2514 checkSeqMapTaskOutputInfo(o[1]); |
| 2517 } | 2515 } |
| 2518 | 2516 |
| 2519 buildUnnamed3027() { | 2517 buildUnnamed3137() { |
| 2520 var o = new core.Map<core.String, core.Object>(); | 2518 var o = new core.Map<core.String, core.Object>(); |
| 2521 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2519 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2522 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2520 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2523 return o; | 2521 return o; |
| 2524 } | 2522 } |
| 2525 | 2523 |
| 2526 checkUnnamed3027(core.Map<core.String, core.Object> o) { | 2524 checkUnnamed3137(core.Map<core.String, core.Object> o) { |
| 2527 unittest.expect(o, unittest.hasLength(2)); | 2525 unittest.expect(o, unittest.hasLength(2)); |
| 2528 var casted23 = (o["x"]) 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')); | 2526 var casted23 = (o["x"]) 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')); |
| 2529 var casted24 = (o["y"]) 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')); | 2527 var casted24 = (o["y"]) 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')); |
| 2530 } | 2528 } |
| 2531 | 2529 |
| 2532 core.int buildCounterSeqMapTask = 0; | 2530 core.int buildCounterSeqMapTask = 0; |
| 2533 buildSeqMapTask() { | 2531 buildSeqMapTask() { |
| 2534 var o = new api.SeqMapTask(); | 2532 var o = new api.SeqMapTask(); |
| 2535 buildCounterSeqMapTask++; | 2533 buildCounterSeqMapTask++; |
| 2536 if (buildCounterSeqMapTask < 3) { | 2534 if (buildCounterSeqMapTask < 3) { |
| 2537 o.inputs = buildUnnamed3025(); | 2535 o.inputs = buildUnnamed3135(); |
| 2538 o.name = "foo"; | 2536 o.name = "foo"; |
| 2539 o.outputInfos = buildUnnamed3026(); | 2537 o.outputInfos = buildUnnamed3136(); |
| 2540 o.stageName = "foo"; | 2538 o.stageName = "foo"; |
| 2541 o.systemName = "foo"; | 2539 o.systemName = "foo"; |
| 2542 o.userFn = buildUnnamed3027(); | 2540 o.userFn = buildUnnamed3137(); |
| 2543 } | 2541 } |
| 2544 buildCounterSeqMapTask--; | 2542 buildCounterSeqMapTask--; |
| 2545 return o; | 2543 return o; |
| 2546 } | 2544 } |
| 2547 | 2545 |
| 2548 checkSeqMapTask(api.SeqMapTask o) { | 2546 checkSeqMapTask(api.SeqMapTask o) { |
| 2549 buildCounterSeqMapTask++; | 2547 buildCounterSeqMapTask++; |
| 2550 if (buildCounterSeqMapTask < 3) { | 2548 if (buildCounterSeqMapTask < 3) { |
| 2551 checkUnnamed3025(o.inputs); | 2549 checkUnnamed3135(o.inputs); |
| 2552 unittest.expect(o.name, unittest.equals('foo')); | 2550 unittest.expect(o.name, unittest.equals('foo')); |
| 2553 checkUnnamed3026(o.outputInfos); | 2551 checkUnnamed3136(o.outputInfos); |
| 2554 unittest.expect(o.stageName, unittest.equals('foo')); | 2552 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2555 unittest.expect(o.systemName, unittest.equals('foo')); | 2553 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2556 checkUnnamed3027(o.userFn); | 2554 checkUnnamed3137(o.userFn); |
| 2557 } | 2555 } |
| 2558 buildCounterSeqMapTask--; | 2556 buildCounterSeqMapTask--; |
| 2559 } | 2557 } |
| 2560 | 2558 |
| 2561 core.int buildCounterSeqMapTaskOutputInfo = 0; | 2559 core.int buildCounterSeqMapTaskOutputInfo = 0; |
| 2562 buildSeqMapTaskOutputInfo() { | 2560 buildSeqMapTaskOutputInfo() { |
| 2563 var o = new api.SeqMapTaskOutputInfo(); | 2561 var o = new api.SeqMapTaskOutputInfo(); |
| 2564 buildCounterSeqMapTaskOutputInfo++; | 2562 buildCounterSeqMapTaskOutputInfo++; |
| 2565 if (buildCounterSeqMapTaskOutputInfo < 3) { | 2563 if (buildCounterSeqMapTaskOutputInfo < 3) { |
| 2566 o.sink = buildSink(); | 2564 o.sink = buildSink(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2593 | 2591 |
| 2594 checkShellTask(api.ShellTask o) { | 2592 checkShellTask(api.ShellTask o) { |
| 2595 buildCounterShellTask++; | 2593 buildCounterShellTask++; |
| 2596 if (buildCounterShellTask < 3) { | 2594 if (buildCounterShellTask < 3) { |
| 2597 unittest.expect(o.command, unittest.equals('foo')); | 2595 unittest.expect(o.command, unittest.equals('foo')); |
| 2598 unittest.expect(o.exitCode, unittest.equals(42)); | 2596 unittest.expect(o.exitCode, unittest.equals(42)); |
| 2599 } | 2597 } |
| 2600 buildCounterShellTask--; | 2598 buildCounterShellTask--; |
| 2601 } | 2599 } |
| 2602 | 2600 |
| 2603 buildUnnamed3028() { | 2601 buildUnnamed3138() { |
| 2604 var o = new core.Map<core.String, core.Object>(); | 2602 var o = new core.Map<core.String, core.Object>(); |
| 2605 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2603 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2606 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2604 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2607 return o; | 2605 return o; |
| 2608 } | 2606 } |
| 2609 | 2607 |
| 2610 checkUnnamed3028(core.Map<core.String, core.Object> o) { | 2608 checkUnnamed3138(core.Map<core.String, core.Object> o) { |
| 2611 unittest.expect(o, unittest.hasLength(2)); | 2609 unittest.expect(o, unittest.hasLength(2)); |
| 2612 var casted25 = (o["x"]) 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')); | 2610 var casted25 = (o["x"]) 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')); |
| 2613 var casted26 = (o["y"]) 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')); | 2611 var casted26 = (o["y"]) 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')); |
| 2614 } | 2612 } |
| 2615 | 2613 |
| 2616 buildUnnamed3029() { | 2614 buildUnnamed3139() { |
| 2617 var o = new core.List<api.Source>(); | 2615 var o = new core.List<api.Source>(); |
| 2618 o.add(buildSource()); | 2616 o.add(buildSource()); |
| 2619 o.add(buildSource()); | 2617 o.add(buildSource()); |
| 2620 return o; | 2618 return o; |
| 2621 } | 2619 } |
| 2622 | 2620 |
| 2623 checkUnnamed3029(core.List<api.Source> o) { | 2621 checkUnnamed3139(core.List<api.Source> o) { |
| 2624 unittest.expect(o, unittest.hasLength(2)); | 2622 unittest.expect(o, unittest.hasLength(2)); |
| 2625 checkSource(o[0]); | 2623 checkSource(o[0]); |
| 2626 checkSource(o[1]); | 2624 checkSource(o[1]); |
| 2627 } | 2625 } |
| 2628 | 2626 |
| 2629 core.int buildCounterSideInputInfo = 0; | 2627 core.int buildCounterSideInputInfo = 0; |
| 2630 buildSideInputInfo() { | 2628 buildSideInputInfo() { |
| 2631 var o = new api.SideInputInfo(); | 2629 var o = new api.SideInputInfo(); |
| 2632 buildCounterSideInputInfo++; | 2630 buildCounterSideInputInfo++; |
| 2633 if (buildCounterSideInputInfo < 3) { | 2631 if (buildCounterSideInputInfo < 3) { |
| 2634 o.kind = buildUnnamed3028(); | 2632 o.kind = buildUnnamed3138(); |
| 2635 o.sources = buildUnnamed3029(); | 2633 o.sources = buildUnnamed3139(); |
| 2636 o.tag = "foo"; | 2634 o.tag = "foo"; |
| 2637 } | 2635 } |
| 2638 buildCounterSideInputInfo--; | 2636 buildCounterSideInputInfo--; |
| 2639 return o; | 2637 return o; |
| 2640 } | 2638 } |
| 2641 | 2639 |
| 2642 checkSideInputInfo(api.SideInputInfo o) { | 2640 checkSideInputInfo(api.SideInputInfo o) { |
| 2643 buildCounterSideInputInfo++; | 2641 buildCounterSideInputInfo++; |
| 2644 if (buildCounterSideInputInfo < 3) { | 2642 if (buildCounterSideInputInfo < 3) { |
| 2645 checkUnnamed3028(o.kind); | 2643 checkUnnamed3138(o.kind); |
| 2646 checkUnnamed3029(o.sources); | 2644 checkUnnamed3139(o.sources); |
| 2647 unittest.expect(o.tag, unittest.equals('foo')); | 2645 unittest.expect(o.tag, unittest.equals('foo')); |
| 2648 } | 2646 } |
| 2649 buildCounterSideInputInfo--; | 2647 buildCounterSideInputInfo--; |
| 2650 } | 2648 } |
| 2651 | 2649 |
| 2652 buildUnnamed3030() { | 2650 buildUnnamed3140() { |
| 2653 var o = new core.Map<core.String, core.Object>(); | 2651 var o = new core.Map<core.String, core.Object>(); |
| 2654 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2652 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2655 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2653 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2656 return o; | 2654 return o; |
| 2657 } | 2655 } |
| 2658 | 2656 |
| 2659 checkUnnamed3030(core.Map<core.String, core.Object> o) { | 2657 checkUnnamed3140(core.Map<core.String, core.Object> o) { |
| 2660 unittest.expect(o, unittest.hasLength(2)); | 2658 unittest.expect(o, unittest.hasLength(2)); |
| 2661 var casted27 = (o["x"]) 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')); | 2659 var casted27 = (o["x"]) 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')); |
| 2662 var casted28 = (o["y"]) 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')); | 2660 var casted28 = (o["y"]) 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')); |
| 2663 } | 2661 } |
| 2664 | 2662 |
| 2665 buildUnnamed3031() { | 2663 buildUnnamed3141() { |
| 2666 var o = new core.Map<core.String, core.Object>(); | 2664 var o = new core.Map<core.String, core.Object>(); |
| 2667 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2665 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2668 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2666 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2669 return o; | 2667 return o; |
| 2670 } | 2668 } |
| 2671 | 2669 |
| 2672 checkUnnamed3031(core.Map<core.String, core.Object> o) { | 2670 checkUnnamed3141(core.Map<core.String, core.Object> o) { |
| 2673 unittest.expect(o, unittest.hasLength(2)); | 2671 unittest.expect(o, unittest.hasLength(2)); |
| 2674 var casted29 = (o["x"]) 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')); | 2672 var casted29 = (o["x"]) 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')); |
| 2675 var casted30 = (o["y"]) 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')); | 2673 var casted30 = (o["y"]) 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')); |
| 2676 } | 2674 } |
| 2677 | 2675 |
| 2678 core.int buildCounterSink = 0; | 2676 core.int buildCounterSink = 0; |
| 2679 buildSink() { | 2677 buildSink() { |
| 2680 var o = new api.Sink(); | 2678 var o = new api.Sink(); |
| 2681 buildCounterSink++; | 2679 buildCounterSink++; |
| 2682 if (buildCounterSink < 3) { | 2680 if (buildCounterSink < 3) { |
| 2683 o.codec = buildUnnamed3030(); | 2681 o.codec = buildUnnamed3140(); |
| 2684 o.spec = buildUnnamed3031(); | 2682 o.spec = buildUnnamed3141(); |
| 2685 } | 2683 } |
| 2686 buildCounterSink--; | 2684 buildCounterSink--; |
| 2687 return o; | 2685 return o; |
| 2688 } | 2686 } |
| 2689 | 2687 |
| 2690 checkSink(api.Sink o) { | 2688 checkSink(api.Sink o) { |
| 2691 buildCounterSink++; | 2689 buildCounterSink++; |
| 2692 if (buildCounterSink < 3) { | 2690 if (buildCounterSink < 3) { |
| 2693 checkUnnamed3030(o.codec); | 2691 checkUnnamed3140(o.codec); |
| 2694 checkUnnamed3031(o.spec); | 2692 checkUnnamed3141(o.spec); |
| 2695 } | 2693 } |
| 2696 buildCounterSink--; | 2694 buildCounterSink--; |
| 2697 } | 2695 } |
| 2698 | 2696 |
| 2699 buildUnnamed3032() { | 2697 buildUnnamed3142() { |
| 2700 var o = new core.Map<core.String, core.Object>(); | 2698 var o = new core.Map<core.String, core.Object>(); |
| 2701 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2699 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2702 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2700 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2703 return o; | 2701 return o; |
| 2704 } | 2702 } |
| 2705 | 2703 |
| 2706 checkUnnamed3032(core.Map<core.String, core.Object> o) { | 2704 checkUnnamed3142(core.Map<core.String, core.Object> o) { |
| 2707 unittest.expect(o, unittest.hasLength(2)); | 2705 unittest.expect(o, unittest.hasLength(2)); |
| 2708 var casted31 = (o["x"]) 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')); | 2706 var casted31 = (o["x"]) 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')); |
| 2709 var casted32 = (o["y"]) 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')); | 2707 var casted32 = (o["y"]) 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')); |
| 2710 } | 2708 } |
| 2711 | 2709 |
| 2712 buildUnnamed3033() { | 2710 buildUnnamed3143() { |
| 2713 var o = new core.List<core.Map<core.String, core.Object>>(); | 2711 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2714 o.add(buildUnnamed3032()); | 2712 o.add(buildUnnamed3142()); |
| 2715 o.add(buildUnnamed3032()); | 2713 o.add(buildUnnamed3142()); |
| 2716 return o; | 2714 return o; |
| 2717 } | 2715 } |
| 2718 | 2716 |
| 2719 checkUnnamed3033(core.List<core.Map<core.String, core.Object>> o) { | 2717 checkUnnamed3143(core.List<core.Map<core.String, core.Object>> o) { |
| 2720 unittest.expect(o, unittest.hasLength(2)); | 2718 unittest.expect(o, unittest.hasLength(2)); |
| 2721 checkUnnamed3032(o[0]); | 2719 checkUnnamed3142(o[0]); |
| 2722 checkUnnamed3032(o[1]); | 2720 checkUnnamed3142(o[1]); |
| 2723 } | 2721 } |
| 2724 | 2722 |
| 2725 buildUnnamed3034() { | 2723 buildUnnamed3144() { |
| 2726 var o = new core.Map<core.String, core.Object>(); | 2724 var o = new core.Map<core.String, core.Object>(); |
| 2727 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2725 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2728 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2726 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2729 return o; | 2727 return o; |
| 2730 } | 2728 } |
| 2731 | 2729 |
| 2732 checkUnnamed3034(core.Map<core.String, core.Object> o) { | 2730 checkUnnamed3144(core.Map<core.String, core.Object> o) { |
| 2733 unittest.expect(o, unittest.hasLength(2)); | 2731 unittest.expect(o, unittest.hasLength(2)); |
| 2734 var casted33 = (o["x"]) 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')); | 2732 var casted33 = (o["x"]) 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')); |
| 2735 var casted34 = (o["y"]) 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')); | 2733 var casted34 = (o["y"]) 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')); |
| 2736 } | 2734 } |
| 2737 | 2735 |
| 2738 buildUnnamed3035() { | 2736 buildUnnamed3145() { |
| 2739 var o = new core.Map<core.String, core.Object>(); | 2737 var o = new core.Map<core.String, core.Object>(); |
| 2740 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2738 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2741 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2739 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2742 return o; | 2740 return o; |
| 2743 } | 2741 } |
| 2744 | 2742 |
| 2745 checkUnnamed3035(core.Map<core.String, core.Object> o) { | 2743 checkUnnamed3145(core.Map<core.String, core.Object> o) { |
| 2746 unittest.expect(o, unittest.hasLength(2)); | 2744 unittest.expect(o, unittest.hasLength(2)); |
| 2747 var casted35 = (o["x"]) 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')); | 2745 var casted35 = (o["x"]) 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')); |
| 2748 var casted36 = (o["y"]) 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')); | 2746 var casted36 = (o["y"]) 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')); |
| 2749 } | 2747 } |
| 2750 | 2748 |
| 2751 core.int buildCounterSource = 0; | 2749 core.int buildCounterSource = 0; |
| 2752 buildSource() { | 2750 buildSource() { |
| 2753 var o = new api.Source(); | 2751 var o = new api.Source(); |
| 2754 buildCounterSource++; | 2752 buildCounterSource++; |
| 2755 if (buildCounterSource < 3) { | 2753 if (buildCounterSource < 3) { |
| 2756 o.baseSpecs = buildUnnamed3033(); | 2754 o.baseSpecs = buildUnnamed3143(); |
| 2757 o.codec = buildUnnamed3034(); | 2755 o.codec = buildUnnamed3144(); |
| 2758 o.doesNotNeedSplitting = true; | 2756 o.doesNotNeedSplitting = true; |
| 2759 o.metadata = buildSourceMetadata(); | 2757 o.metadata = buildSourceMetadata(); |
| 2760 o.spec = buildUnnamed3035(); | 2758 o.spec = buildUnnamed3145(); |
| 2761 } | 2759 } |
| 2762 buildCounterSource--; | 2760 buildCounterSource--; |
| 2763 return o; | 2761 return o; |
| 2764 } | 2762 } |
| 2765 | 2763 |
| 2766 checkSource(api.Source o) { | 2764 checkSource(api.Source o) { |
| 2767 buildCounterSource++; | 2765 buildCounterSource++; |
| 2768 if (buildCounterSource < 3) { | 2766 if (buildCounterSource < 3) { |
| 2769 checkUnnamed3033(o.baseSpecs); | 2767 checkUnnamed3143(o.baseSpecs); |
| 2770 checkUnnamed3034(o.codec); | 2768 checkUnnamed3144(o.codec); |
| 2771 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); | 2769 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); |
| 2772 checkSourceMetadata(o.metadata); | 2770 checkSourceMetadata(o.metadata); |
| 2773 checkUnnamed3035(o.spec); | 2771 checkUnnamed3145(o.spec); |
| 2774 } | 2772 } |
| 2775 buildCounterSource--; | 2773 buildCounterSource--; |
| 2776 } | 2774 } |
| 2777 | 2775 |
| 2778 core.int buildCounterSourceFork = 0; | 2776 core.int buildCounterSourceFork = 0; |
| 2779 buildSourceFork() { | 2777 buildSourceFork() { |
| 2780 var o = new api.SourceFork(); | 2778 var o = new api.SourceFork(); |
| 2781 buildCounterSourceFork++; | 2779 buildCounterSourceFork++; |
| 2782 if (buildCounterSourceFork < 3) { | 2780 if (buildCounterSourceFork < 3) { |
| 2783 o.primary = buildSourceSplitShard(); | 2781 o.primary = buildSourceSplitShard(); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2938 | 2936 |
| 2939 checkSourceSplitRequest(api.SourceSplitRequest o) { | 2937 checkSourceSplitRequest(api.SourceSplitRequest o) { |
| 2940 buildCounterSourceSplitRequest++; | 2938 buildCounterSourceSplitRequest++; |
| 2941 if (buildCounterSourceSplitRequest < 3) { | 2939 if (buildCounterSourceSplitRequest < 3) { |
| 2942 checkSourceSplitOptions(o.options); | 2940 checkSourceSplitOptions(o.options); |
| 2943 checkSource(o.source); | 2941 checkSource(o.source); |
| 2944 } | 2942 } |
| 2945 buildCounterSourceSplitRequest--; | 2943 buildCounterSourceSplitRequest--; |
| 2946 } | 2944 } |
| 2947 | 2945 |
| 2948 buildUnnamed3036() { | 2946 buildUnnamed3146() { |
| 2949 var o = new core.List<api.DerivedSource>(); | 2947 var o = new core.List<api.DerivedSource>(); |
| 2950 o.add(buildDerivedSource()); | 2948 o.add(buildDerivedSource()); |
| 2951 o.add(buildDerivedSource()); | 2949 o.add(buildDerivedSource()); |
| 2952 return o; | 2950 return o; |
| 2953 } | 2951 } |
| 2954 | 2952 |
| 2955 checkUnnamed3036(core.List<api.DerivedSource> o) { | 2953 checkUnnamed3146(core.List<api.DerivedSource> o) { |
| 2956 unittest.expect(o, unittest.hasLength(2)); | 2954 unittest.expect(o, unittest.hasLength(2)); |
| 2957 checkDerivedSource(o[0]); | 2955 checkDerivedSource(o[0]); |
| 2958 checkDerivedSource(o[1]); | 2956 checkDerivedSource(o[1]); |
| 2959 } | 2957 } |
| 2960 | 2958 |
| 2961 buildUnnamed3037() { | 2959 buildUnnamed3147() { |
| 2962 var o = new core.List<api.SourceSplitShard>(); | 2960 var o = new core.List<api.SourceSplitShard>(); |
| 2963 o.add(buildSourceSplitShard()); | 2961 o.add(buildSourceSplitShard()); |
| 2964 o.add(buildSourceSplitShard()); | 2962 o.add(buildSourceSplitShard()); |
| 2965 return o; | 2963 return o; |
| 2966 } | 2964 } |
| 2967 | 2965 |
| 2968 checkUnnamed3037(core.List<api.SourceSplitShard> o) { | 2966 checkUnnamed3147(core.List<api.SourceSplitShard> o) { |
| 2969 unittest.expect(o, unittest.hasLength(2)); | 2967 unittest.expect(o, unittest.hasLength(2)); |
| 2970 checkSourceSplitShard(o[0]); | 2968 checkSourceSplitShard(o[0]); |
| 2971 checkSourceSplitShard(o[1]); | 2969 checkSourceSplitShard(o[1]); |
| 2972 } | 2970 } |
| 2973 | 2971 |
| 2974 core.int buildCounterSourceSplitResponse = 0; | 2972 core.int buildCounterSourceSplitResponse = 0; |
| 2975 buildSourceSplitResponse() { | 2973 buildSourceSplitResponse() { |
| 2976 var o = new api.SourceSplitResponse(); | 2974 var o = new api.SourceSplitResponse(); |
| 2977 buildCounterSourceSplitResponse++; | 2975 buildCounterSourceSplitResponse++; |
| 2978 if (buildCounterSourceSplitResponse < 3) { | 2976 if (buildCounterSourceSplitResponse < 3) { |
| 2979 o.bundles = buildUnnamed3036(); | 2977 o.bundles = buildUnnamed3146(); |
| 2980 o.outcome = "foo"; | 2978 o.outcome = "foo"; |
| 2981 o.shards = buildUnnamed3037(); | 2979 o.shards = buildUnnamed3147(); |
| 2982 } | 2980 } |
| 2983 buildCounterSourceSplitResponse--; | 2981 buildCounterSourceSplitResponse--; |
| 2984 return o; | 2982 return o; |
| 2985 } | 2983 } |
| 2986 | 2984 |
| 2987 checkSourceSplitResponse(api.SourceSplitResponse o) { | 2985 checkSourceSplitResponse(api.SourceSplitResponse o) { |
| 2988 buildCounterSourceSplitResponse++; | 2986 buildCounterSourceSplitResponse++; |
| 2989 if (buildCounterSourceSplitResponse < 3) { | 2987 if (buildCounterSourceSplitResponse < 3) { |
| 2990 checkUnnamed3036(o.bundles); | 2988 checkUnnamed3146(o.bundles); |
| 2991 unittest.expect(o.outcome, unittest.equals('foo')); | 2989 unittest.expect(o.outcome, unittest.equals('foo')); |
| 2992 checkUnnamed3037(o.shards); | 2990 checkUnnamed3147(o.shards); |
| 2993 } | 2991 } |
| 2994 buildCounterSourceSplitResponse--; | 2992 buildCounterSourceSplitResponse--; |
| 2995 } | 2993 } |
| 2996 | 2994 |
| 2997 core.int buildCounterSourceSplitShard = 0; | 2995 core.int buildCounterSourceSplitShard = 0; |
| 2998 buildSourceSplitShard() { | 2996 buildSourceSplitShard() { |
| 2999 var o = new api.SourceSplitShard(); | 2997 var o = new api.SourceSplitShard(); |
| 3000 buildCounterSourceSplitShard++; | 2998 buildCounterSourceSplitShard++; |
| 3001 if (buildCounterSourceSplitShard < 3) { | 2999 if (buildCounterSourceSplitShard < 3) { |
| 3002 o.derivationMode = "foo"; | 3000 o.derivationMode = "foo"; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 | 3073 |
| 3076 checkStateFamilyConfig(api.StateFamilyConfig o) { | 3074 checkStateFamilyConfig(api.StateFamilyConfig o) { |
| 3077 buildCounterStateFamilyConfig++; | 3075 buildCounterStateFamilyConfig++; |
| 3078 if (buildCounterStateFamilyConfig < 3) { | 3076 if (buildCounterStateFamilyConfig < 3) { |
| 3079 unittest.expect(o.isRead, unittest.isTrue); | 3077 unittest.expect(o.isRead, unittest.isTrue); |
| 3080 unittest.expect(o.stateFamily, unittest.equals('foo')); | 3078 unittest.expect(o.stateFamily, unittest.equals('foo')); |
| 3081 } | 3079 } |
| 3082 buildCounterStateFamilyConfig--; | 3080 buildCounterStateFamilyConfig--; |
| 3083 } | 3081 } |
| 3084 | 3082 |
| 3085 buildUnnamed3038() { | 3083 buildUnnamed3148() { |
| 3086 var o = new core.Map<core.String, core.Object>(); | 3084 var o = new core.Map<core.String, core.Object>(); |
| 3087 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3085 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3088 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3086 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3089 return o; | 3087 return o; |
| 3090 } | 3088 } |
| 3091 | 3089 |
| 3092 checkUnnamed3038(core.Map<core.String, core.Object> o) { | 3090 checkUnnamed3148(core.Map<core.String, core.Object> o) { |
| 3093 unittest.expect(o, unittest.hasLength(2)); | 3091 unittest.expect(o, unittest.hasLength(2)); |
| 3094 var casted37 = (o["x"]) 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')); | 3092 var casted37 = (o["x"]) 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')); |
| 3095 var casted38 = (o["y"]) 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')); | 3093 var casted38 = (o["y"]) 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')); |
| 3096 } | 3094 } |
| 3097 | 3095 |
| 3098 buildUnnamed3039() { | 3096 buildUnnamed3149() { |
| 3099 var o = new core.List<core.Map<core.String, core.Object>>(); | 3097 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3100 o.add(buildUnnamed3038()); | 3098 o.add(buildUnnamed3148()); |
| 3101 o.add(buildUnnamed3038()); | 3099 o.add(buildUnnamed3148()); |
| 3102 return o; | 3100 return o; |
| 3103 } | 3101 } |
| 3104 | 3102 |
| 3105 checkUnnamed3039(core.List<core.Map<core.String, core.Object>> o) { | 3103 checkUnnamed3149(core.List<core.Map<core.String, core.Object>> o) { |
| 3106 unittest.expect(o, unittest.hasLength(2)); | 3104 unittest.expect(o, unittest.hasLength(2)); |
| 3107 checkUnnamed3038(o[0]); | 3105 checkUnnamed3148(o[0]); |
| 3108 checkUnnamed3038(o[1]); | 3106 checkUnnamed3148(o[1]); |
| 3109 } | 3107 } |
| 3110 | 3108 |
| 3111 core.int buildCounterStatus = 0; | 3109 core.int buildCounterStatus = 0; |
| 3112 buildStatus() { | 3110 buildStatus() { |
| 3113 var o = new api.Status(); | 3111 var o = new api.Status(); |
| 3114 buildCounterStatus++; | 3112 buildCounterStatus++; |
| 3115 if (buildCounterStatus < 3) { | 3113 if (buildCounterStatus < 3) { |
| 3116 o.code = 42; | 3114 o.code = 42; |
| 3117 o.details = buildUnnamed3039(); | 3115 o.details = buildUnnamed3149(); |
| 3118 o.message = "foo"; | 3116 o.message = "foo"; |
| 3119 } | 3117 } |
| 3120 buildCounterStatus--; | 3118 buildCounterStatus--; |
| 3121 return o; | 3119 return o; |
| 3122 } | 3120 } |
| 3123 | 3121 |
| 3124 checkStatus(api.Status o) { | 3122 checkStatus(api.Status o) { |
| 3125 buildCounterStatus++; | 3123 buildCounterStatus++; |
| 3126 if (buildCounterStatus < 3) { | 3124 if (buildCounterStatus < 3) { |
| 3127 unittest.expect(o.code, unittest.equals(42)); | 3125 unittest.expect(o.code, unittest.equals(42)); |
| 3128 checkUnnamed3039(o.details); | 3126 checkUnnamed3149(o.details); |
| 3129 unittest.expect(o.message, unittest.equals('foo')); | 3127 unittest.expect(o.message, unittest.equals('foo')); |
| 3130 } | 3128 } |
| 3131 buildCounterStatus--; | 3129 buildCounterStatus--; |
| 3132 } | 3130 } |
| 3133 | 3131 |
| 3134 buildUnnamed3040() { | 3132 buildUnnamed3150() { |
| 3135 var o = new core.Map<core.String, core.Object>(); | 3133 var o = new core.Map<core.String, core.Object>(); |
| 3136 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3134 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3137 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3135 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3138 return o; | 3136 return o; |
| 3139 } | 3137 } |
| 3140 | 3138 |
| 3141 checkUnnamed3040(core.Map<core.String, core.Object> o) { | 3139 checkUnnamed3150(core.Map<core.String, core.Object> o) { |
| 3142 unittest.expect(o, unittest.hasLength(2)); | 3140 unittest.expect(o, unittest.hasLength(2)); |
| 3143 var casted39 = (o["x"]) 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')); | 3141 var casted39 = (o["x"]) 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')); |
| 3144 var casted40 = (o["y"]) 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')); | 3142 var casted40 = (o["y"]) 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')); |
| 3145 } | 3143 } |
| 3146 | 3144 |
| 3147 core.int buildCounterStep = 0; | 3145 core.int buildCounterStep = 0; |
| 3148 buildStep() { | 3146 buildStep() { |
| 3149 var o = new api.Step(); | 3147 var o = new api.Step(); |
| 3150 buildCounterStep++; | 3148 buildCounterStep++; |
| 3151 if (buildCounterStep < 3) { | 3149 if (buildCounterStep < 3) { |
| 3152 o.kind = "foo"; | 3150 o.kind = "foo"; |
| 3153 o.name = "foo"; | 3151 o.name = "foo"; |
| 3154 o.properties = buildUnnamed3040(); | 3152 o.properties = buildUnnamed3150(); |
| 3155 } | 3153 } |
| 3156 buildCounterStep--; | 3154 buildCounterStep--; |
| 3157 return o; | 3155 return o; |
| 3158 } | 3156 } |
| 3159 | 3157 |
| 3160 checkStep(api.Step o) { | 3158 checkStep(api.Step o) { |
| 3161 buildCounterStep++; | 3159 buildCounterStep++; |
| 3162 if (buildCounterStep < 3) { | 3160 if (buildCounterStep < 3) { |
| 3163 unittest.expect(o.kind, unittest.equals('foo')); | 3161 unittest.expect(o.kind, unittest.equals('foo')); |
| 3164 unittest.expect(o.name, unittest.equals('foo')); | 3162 unittest.expect(o.name, unittest.equals('foo')); |
| 3165 checkUnnamed3040(o.properties); | 3163 checkUnnamed3150(o.properties); |
| 3166 } | 3164 } |
| 3167 buildCounterStep--; | 3165 buildCounterStep--; |
| 3168 } | 3166 } |
| 3169 | 3167 |
| 3170 core.int buildCounterStreamLocation = 0; | 3168 core.int buildCounterStreamLocation = 0; |
| 3171 buildStreamLocation() { | 3169 buildStreamLocation() { |
| 3172 var o = new api.StreamLocation(); | 3170 var o = new api.StreamLocation(); |
| 3173 buildCounterStreamLocation++; | 3171 buildCounterStreamLocation++; |
| 3174 if (buildCounterStreamLocation < 3) { | 3172 if (buildCounterStreamLocation < 3) { |
| 3175 o.customSourceLocation = buildCustomSourceLocation(); | 3173 o.customSourceLocation = buildCustomSourceLocation(); |
| 3176 o.pubsubLocation = buildPubsubLocation(); | 3174 o.pubsubLocation = buildPubsubLocation(); |
| 3177 o.sideInputLocation = buildStreamingSideInputLocation(); | 3175 o.sideInputLocation = buildStreamingSideInputLocation(); |
| 3178 o.streamingStageLocation = buildStreamingStageLocation(); | 3176 o.streamingStageLocation = buildStreamingStageLocation(); |
| 3179 } | 3177 } |
| 3180 buildCounterStreamLocation--; | 3178 buildCounterStreamLocation--; |
| 3181 return o; | 3179 return o; |
| 3182 } | 3180 } |
| 3183 | 3181 |
| 3184 checkStreamLocation(api.StreamLocation o) { | 3182 checkStreamLocation(api.StreamLocation o) { |
| 3185 buildCounterStreamLocation++; | 3183 buildCounterStreamLocation++; |
| 3186 if (buildCounterStreamLocation < 3) { | 3184 if (buildCounterStreamLocation < 3) { |
| 3187 checkCustomSourceLocation(o.customSourceLocation); | 3185 checkCustomSourceLocation(o.customSourceLocation); |
| 3188 checkPubsubLocation(o.pubsubLocation); | 3186 checkPubsubLocation(o.pubsubLocation); |
| 3189 checkStreamingSideInputLocation(o.sideInputLocation); | 3187 checkStreamingSideInputLocation(o.sideInputLocation); |
| 3190 checkStreamingStageLocation(o.streamingStageLocation); | 3188 checkStreamingStageLocation(o.streamingStageLocation); |
| 3191 } | 3189 } |
| 3192 buildCounterStreamLocation--; | 3190 buildCounterStreamLocation--; |
| 3193 } | 3191 } |
| 3194 | 3192 |
| 3195 buildUnnamed3041() { | 3193 buildUnnamed3151() { |
| 3196 var o = new core.List<api.ParallelInstruction>(); | 3194 var o = new core.List<api.ParallelInstruction>(); |
| 3197 o.add(buildParallelInstruction()); | 3195 o.add(buildParallelInstruction()); |
| 3198 o.add(buildParallelInstruction()); | 3196 o.add(buildParallelInstruction()); |
| 3199 return o; | 3197 return o; |
| 3200 } | 3198 } |
| 3201 | 3199 |
| 3202 checkUnnamed3041(core.List<api.ParallelInstruction> o) { | 3200 checkUnnamed3151(core.List<api.ParallelInstruction> o) { |
| 3203 unittest.expect(o, unittest.hasLength(2)); | 3201 unittest.expect(o, unittest.hasLength(2)); |
| 3204 checkParallelInstruction(o[0]); | 3202 checkParallelInstruction(o[0]); |
| 3205 checkParallelInstruction(o[1]); | 3203 checkParallelInstruction(o[1]); |
| 3206 } | 3204 } |
| 3207 | 3205 |
| 3208 core.int buildCounterStreamingComputationConfig = 0; | 3206 core.int buildCounterStreamingComputationConfig = 0; |
| 3209 buildStreamingComputationConfig() { | 3207 buildStreamingComputationConfig() { |
| 3210 var o = new api.StreamingComputationConfig(); | 3208 var o = new api.StreamingComputationConfig(); |
| 3211 buildCounterStreamingComputationConfig++; | 3209 buildCounterStreamingComputationConfig++; |
| 3212 if (buildCounterStreamingComputationConfig < 3) { | 3210 if (buildCounterStreamingComputationConfig < 3) { |
| 3213 o.computationId = "foo"; | 3211 o.computationId = "foo"; |
| 3214 o.instructions = buildUnnamed3041(); | 3212 o.instructions = buildUnnamed3151(); |
| 3215 o.stageName = "foo"; | 3213 o.stageName = "foo"; |
| 3216 o.systemName = "foo"; | 3214 o.systemName = "foo"; |
| 3217 } | 3215 } |
| 3218 buildCounterStreamingComputationConfig--; | 3216 buildCounterStreamingComputationConfig--; |
| 3219 return o; | 3217 return o; |
| 3220 } | 3218 } |
| 3221 | 3219 |
| 3222 checkStreamingComputationConfig(api.StreamingComputationConfig o) { | 3220 checkStreamingComputationConfig(api.StreamingComputationConfig o) { |
| 3223 buildCounterStreamingComputationConfig++; | 3221 buildCounterStreamingComputationConfig++; |
| 3224 if (buildCounterStreamingComputationConfig < 3) { | 3222 if (buildCounterStreamingComputationConfig < 3) { |
| 3225 unittest.expect(o.computationId, unittest.equals('foo')); | 3223 unittest.expect(o.computationId, unittest.equals('foo')); |
| 3226 checkUnnamed3041(o.instructions); | 3224 checkUnnamed3151(o.instructions); |
| 3227 unittest.expect(o.stageName, unittest.equals('foo')); | 3225 unittest.expect(o.stageName, unittest.equals('foo')); |
| 3228 unittest.expect(o.systemName, unittest.equals('foo')); | 3226 unittest.expect(o.systemName, unittest.equals('foo')); |
| 3229 } | 3227 } |
| 3230 buildCounterStreamingComputationConfig--; | 3228 buildCounterStreamingComputationConfig--; |
| 3231 } | 3229 } |
| 3232 | 3230 |
| 3233 buildUnnamed3042() { | 3231 buildUnnamed3152() { |
| 3234 var o = new core.List<api.KeyRangeDataDiskAssignment>(); | 3232 var o = new core.List<api.KeyRangeDataDiskAssignment>(); |
| 3235 o.add(buildKeyRangeDataDiskAssignment()); | 3233 o.add(buildKeyRangeDataDiskAssignment()); |
| 3236 o.add(buildKeyRangeDataDiskAssignment()); | 3234 o.add(buildKeyRangeDataDiskAssignment()); |
| 3237 return o; | 3235 return o; |
| 3238 } | 3236 } |
| 3239 | 3237 |
| 3240 checkUnnamed3042(core.List<api.KeyRangeDataDiskAssignment> o) { | 3238 checkUnnamed3152(core.List<api.KeyRangeDataDiskAssignment> o) { |
| 3241 unittest.expect(o, unittest.hasLength(2)); | 3239 unittest.expect(o, unittest.hasLength(2)); |
| 3242 checkKeyRangeDataDiskAssignment(o[0]); | 3240 checkKeyRangeDataDiskAssignment(o[0]); |
| 3243 checkKeyRangeDataDiskAssignment(o[1]); | 3241 checkKeyRangeDataDiskAssignment(o[1]); |
| 3244 } | 3242 } |
| 3245 | 3243 |
| 3246 core.int buildCounterStreamingComputationRanges = 0; | 3244 core.int buildCounterStreamingComputationRanges = 0; |
| 3247 buildStreamingComputationRanges() { | 3245 buildStreamingComputationRanges() { |
| 3248 var o = new api.StreamingComputationRanges(); | 3246 var o = new api.StreamingComputationRanges(); |
| 3249 buildCounterStreamingComputationRanges++; | 3247 buildCounterStreamingComputationRanges++; |
| 3250 if (buildCounterStreamingComputationRanges < 3) { | 3248 if (buildCounterStreamingComputationRanges < 3) { |
| 3251 o.computationId = "foo"; | 3249 o.computationId = "foo"; |
| 3252 o.rangeAssignments = buildUnnamed3042(); | 3250 o.rangeAssignments = buildUnnamed3152(); |
| 3253 } | 3251 } |
| 3254 buildCounterStreamingComputationRanges--; | 3252 buildCounterStreamingComputationRanges--; |
| 3255 return o; | 3253 return o; |
| 3256 } | 3254 } |
| 3257 | 3255 |
| 3258 checkStreamingComputationRanges(api.StreamingComputationRanges o) { | 3256 checkStreamingComputationRanges(api.StreamingComputationRanges o) { |
| 3259 buildCounterStreamingComputationRanges++; | 3257 buildCounterStreamingComputationRanges++; |
| 3260 if (buildCounterStreamingComputationRanges < 3) { | 3258 if (buildCounterStreamingComputationRanges < 3) { |
| 3261 unittest.expect(o.computationId, unittest.equals('foo')); | 3259 unittest.expect(o.computationId, unittest.equals('foo')); |
| 3262 checkUnnamed3042(o.rangeAssignments); | 3260 checkUnnamed3152(o.rangeAssignments); |
| 3263 } | 3261 } |
| 3264 buildCounterStreamingComputationRanges--; | 3262 buildCounterStreamingComputationRanges--; |
| 3265 } | 3263 } |
| 3266 | 3264 |
| 3267 buildUnnamed3043() { | 3265 buildUnnamed3153() { |
| 3268 var o = new core.List<api.StreamingComputationRanges>(); | 3266 var o = new core.List<api.StreamingComputationRanges>(); |
| 3269 o.add(buildStreamingComputationRanges()); | 3267 o.add(buildStreamingComputationRanges()); |
| 3270 o.add(buildStreamingComputationRanges()); | 3268 o.add(buildStreamingComputationRanges()); |
| 3271 return o; | 3269 return o; |
| 3272 } | 3270 } |
| 3273 | 3271 |
| 3274 checkUnnamed3043(core.List<api.StreamingComputationRanges> o) { | 3272 checkUnnamed3153(core.List<api.StreamingComputationRanges> o) { |
| 3275 unittest.expect(o, unittest.hasLength(2)); | 3273 unittest.expect(o, unittest.hasLength(2)); |
| 3276 checkStreamingComputationRanges(o[0]); | 3274 checkStreamingComputationRanges(o[0]); |
| 3277 checkStreamingComputationRanges(o[1]); | 3275 checkStreamingComputationRanges(o[1]); |
| 3278 } | 3276 } |
| 3279 | 3277 |
| 3280 buildUnnamed3044() { | 3278 buildUnnamed3154() { |
| 3281 var o = new core.List<api.MountedDataDisk>(); | 3279 var o = new core.List<api.MountedDataDisk>(); |
| 3282 o.add(buildMountedDataDisk()); | 3280 o.add(buildMountedDataDisk()); |
| 3283 o.add(buildMountedDataDisk()); | 3281 o.add(buildMountedDataDisk()); |
| 3284 return o; | 3282 return o; |
| 3285 } | 3283 } |
| 3286 | 3284 |
| 3287 checkUnnamed3044(core.List<api.MountedDataDisk> o) { | 3285 checkUnnamed3154(core.List<api.MountedDataDisk> o) { |
| 3288 unittest.expect(o, unittest.hasLength(2)); | 3286 unittest.expect(o, unittest.hasLength(2)); |
| 3289 checkMountedDataDisk(o[0]); | 3287 checkMountedDataDisk(o[0]); |
| 3290 checkMountedDataDisk(o[1]); | 3288 checkMountedDataDisk(o[1]); |
| 3291 } | 3289 } |
| 3292 | 3290 |
| 3293 core.int buildCounterStreamingComputationTask = 0; | 3291 core.int buildCounterStreamingComputationTask = 0; |
| 3294 buildStreamingComputationTask() { | 3292 buildStreamingComputationTask() { |
| 3295 var o = new api.StreamingComputationTask(); | 3293 var o = new api.StreamingComputationTask(); |
| 3296 buildCounterStreamingComputationTask++; | 3294 buildCounterStreamingComputationTask++; |
| 3297 if (buildCounterStreamingComputationTask < 3) { | 3295 if (buildCounterStreamingComputationTask < 3) { |
| 3298 o.computationRanges = buildUnnamed3043(); | 3296 o.computationRanges = buildUnnamed3153(); |
| 3299 o.dataDisks = buildUnnamed3044(); | 3297 o.dataDisks = buildUnnamed3154(); |
| 3300 o.taskType = "foo"; | 3298 o.taskType = "foo"; |
| 3301 } | 3299 } |
| 3302 buildCounterStreamingComputationTask--; | 3300 buildCounterStreamingComputationTask--; |
| 3303 return o; | 3301 return o; |
| 3304 } | 3302 } |
| 3305 | 3303 |
| 3306 checkStreamingComputationTask(api.StreamingComputationTask o) { | 3304 checkStreamingComputationTask(api.StreamingComputationTask o) { |
| 3307 buildCounterStreamingComputationTask++; | 3305 buildCounterStreamingComputationTask++; |
| 3308 if (buildCounterStreamingComputationTask < 3) { | 3306 if (buildCounterStreamingComputationTask < 3) { |
| 3309 checkUnnamed3043(o.computationRanges); | 3307 checkUnnamed3153(o.computationRanges); |
| 3310 checkUnnamed3044(o.dataDisks); | 3308 checkUnnamed3154(o.dataDisks); |
| 3311 unittest.expect(o.taskType, unittest.equals('foo')); | 3309 unittest.expect(o.taskType, unittest.equals('foo')); |
| 3312 } | 3310 } |
| 3313 buildCounterStreamingComputationTask--; | 3311 buildCounterStreamingComputationTask--; |
| 3314 } | 3312 } |
| 3315 | 3313 |
| 3316 buildUnnamed3045() { | 3314 buildUnnamed3155() { |
| 3317 var o = new core.List<api.StreamingComputationConfig>(); | 3315 var o = new core.List<api.StreamingComputationConfig>(); |
| 3318 o.add(buildStreamingComputationConfig()); | 3316 o.add(buildStreamingComputationConfig()); |
| 3319 o.add(buildStreamingComputationConfig()); | 3317 o.add(buildStreamingComputationConfig()); |
| 3320 return o; | 3318 return o; |
| 3321 } | 3319 } |
| 3322 | 3320 |
| 3323 checkUnnamed3045(core.List<api.StreamingComputationConfig> o) { | 3321 checkUnnamed3155(core.List<api.StreamingComputationConfig> o) { |
| 3324 unittest.expect(o, unittest.hasLength(2)); | 3322 unittest.expect(o, unittest.hasLength(2)); |
| 3325 checkStreamingComputationConfig(o[0]); | 3323 checkStreamingComputationConfig(o[0]); |
| 3326 checkStreamingComputationConfig(o[1]); | 3324 checkStreamingComputationConfig(o[1]); |
| 3327 } | 3325 } |
| 3328 | 3326 |
| 3329 buildUnnamed3046() { | 3327 buildUnnamed3156() { |
| 3330 var o = new core.Map<core.String, core.String>(); | 3328 var o = new core.Map<core.String, core.String>(); |
| 3331 o["x"] = "foo"; | 3329 o["x"] = "foo"; |
| 3332 o["y"] = "foo"; | 3330 o["y"] = "foo"; |
| 3333 return o; | 3331 return o; |
| 3334 } | 3332 } |
| 3335 | 3333 |
| 3336 checkUnnamed3046(core.Map<core.String, core.String> o) { | 3334 checkUnnamed3156(core.Map<core.String, core.String> o) { |
| 3337 unittest.expect(o, unittest.hasLength(2)); | 3335 unittest.expect(o, unittest.hasLength(2)); |
| 3338 unittest.expect(o["x"], unittest.equals('foo')); | 3336 unittest.expect(o["x"], unittest.equals('foo')); |
| 3339 unittest.expect(o["y"], unittest.equals('foo')); | 3337 unittest.expect(o["y"], unittest.equals('foo')); |
| 3340 } | 3338 } |
| 3341 | 3339 |
| 3342 core.int buildCounterStreamingConfigTask = 0; | 3340 core.int buildCounterStreamingConfigTask = 0; |
| 3343 buildStreamingConfigTask() { | 3341 buildStreamingConfigTask() { |
| 3344 var o = new api.StreamingConfigTask(); | 3342 var o = new api.StreamingConfigTask(); |
| 3345 buildCounterStreamingConfigTask++; | 3343 buildCounterStreamingConfigTask++; |
| 3346 if (buildCounterStreamingConfigTask < 3) { | 3344 if (buildCounterStreamingConfigTask < 3) { |
| 3347 o.streamingComputationConfigs = buildUnnamed3045(); | 3345 o.streamingComputationConfigs = buildUnnamed3155(); |
| 3348 o.userStepToStateFamilyNameMap = buildUnnamed3046(); | 3346 o.userStepToStateFamilyNameMap = buildUnnamed3156(); |
| 3349 } | 3347 } |
| 3350 buildCounterStreamingConfigTask--; | 3348 buildCounterStreamingConfigTask--; |
| 3351 return o; | 3349 return o; |
| 3352 } | 3350 } |
| 3353 | 3351 |
| 3354 checkStreamingConfigTask(api.StreamingConfigTask o) { | 3352 checkStreamingConfigTask(api.StreamingConfigTask o) { |
| 3355 buildCounterStreamingConfigTask++; | 3353 buildCounterStreamingConfigTask++; |
| 3356 if (buildCounterStreamingConfigTask < 3) { | 3354 if (buildCounterStreamingConfigTask < 3) { |
| 3357 checkUnnamed3045(o.streamingComputationConfigs); | 3355 checkUnnamed3155(o.streamingComputationConfigs); |
| 3358 checkUnnamed3046(o.userStepToStateFamilyNameMap); | 3356 checkUnnamed3156(o.userStepToStateFamilyNameMap); |
| 3359 } | 3357 } |
| 3360 buildCounterStreamingConfigTask--; | 3358 buildCounterStreamingConfigTask--; |
| 3361 } | 3359 } |
| 3362 | 3360 |
| 3363 core.int buildCounterStreamingSetupTask = 0; | 3361 core.int buildCounterStreamingSetupTask = 0; |
| 3364 buildStreamingSetupTask() { | 3362 buildStreamingSetupTask() { |
| 3365 var o = new api.StreamingSetupTask(); | 3363 var o = new api.StreamingSetupTask(); |
| 3366 buildCounterStreamingSetupTask++; | 3364 buildCounterStreamingSetupTask++; |
| 3367 if (buildCounterStreamingSetupTask < 3) { | 3365 if (buildCounterStreamingSetupTask < 3) { |
| 3368 o.drain = true; | 3366 o.drain = true; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3418 } | 3416 } |
| 3419 | 3417 |
| 3420 checkStreamingStageLocation(api.StreamingStageLocation o) { | 3418 checkStreamingStageLocation(api.StreamingStageLocation o) { |
| 3421 buildCounterStreamingStageLocation++; | 3419 buildCounterStreamingStageLocation++; |
| 3422 if (buildCounterStreamingStageLocation < 3) { | 3420 if (buildCounterStreamingStageLocation < 3) { |
| 3423 unittest.expect(o.streamId, unittest.equals('foo')); | 3421 unittest.expect(o.streamId, unittest.equals('foo')); |
| 3424 } | 3422 } |
| 3425 buildCounterStreamingStageLocation--; | 3423 buildCounterStreamingStageLocation--; |
| 3426 } | 3424 } |
| 3427 | 3425 |
| 3428 buildUnnamed3047() { | 3426 buildUnnamed3157() { |
| 3429 var o = new core.List<core.String>(); | 3427 var o = new core.List<core.String>(); |
| 3430 o.add("foo"); | 3428 o.add("foo"); |
| 3431 o.add("foo"); | 3429 o.add("foo"); |
| 3432 return o; | 3430 return o; |
| 3433 } | 3431 } |
| 3434 | 3432 |
| 3435 checkUnnamed3047(core.List<core.String> o) { | 3433 checkUnnamed3157(core.List<core.String> o) { |
| 3436 unittest.expect(o, unittest.hasLength(2)); | 3434 unittest.expect(o, unittest.hasLength(2)); |
| 3437 unittest.expect(o[0], unittest.equals('foo')); | 3435 unittest.expect(o[0], unittest.equals('foo')); |
| 3438 unittest.expect(o[1], unittest.equals('foo')); | 3436 unittest.expect(o[1], unittest.equals('foo')); |
| 3439 } | 3437 } |
| 3440 | 3438 |
| 3441 core.int buildCounterStringList = 0; | 3439 core.int buildCounterStringList = 0; |
| 3442 buildStringList() { | 3440 buildStringList() { |
| 3443 var o = new api.StringList(); | 3441 var o = new api.StringList(); |
| 3444 buildCounterStringList++; | 3442 buildCounterStringList++; |
| 3445 if (buildCounterStringList < 3) { | 3443 if (buildCounterStringList < 3) { |
| 3446 o.elements = buildUnnamed3047(); | 3444 o.elements = buildUnnamed3157(); |
| 3447 } | 3445 } |
| 3448 buildCounterStringList--; | 3446 buildCounterStringList--; |
| 3449 return o; | 3447 return o; |
| 3450 } | 3448 } |
| 3451 | 3449 |
| 3452 checkStringList(api.StringList o) { | 3450 checkStringList(api.StringList o) { |
| 3453 buildCounterStringList++; | 3451 buildCounterStringList++; |
| 3454 if (buildCounterStringList < 3) { | 3452 if (buildCounterStringList < 3) { |
| 3455 checkUnnamed3047(o.elements); | 3453 checkUnnamed3157(o.elements); |
| 3456 } | 3454 } |
| 3457 buildCounterStringList--; | 3455 buildCounterStringList--; |
| 3458 } | 3456 } |
| 3459 | 3457 |
| 3460 buildUnnamed3048() { | 3458 buildUnnamed3158() { |
| 3461 var o = new core.List<core.String>(); | 3459 var o = new core.List<core.String>(); |
| 3462 o.add("foo"); | 3460 o.add("foo"); |
| 3463 o.add("foo"); | 3461 o.add("foo"); |
| 3464 return o; | 3462 return o; |
| 3465 } | 3463 } |
| 3466 | 3464 |
| 3467 checkUnnamed3048(core.List<core.String> o) { | 3465 checkUnnamed3158(core.List<core.String> o) { |
| 3468 unittest.expect(o, unittest.hasLength(2)); | 3466 unittest.expect(o, unittest.hasLength(2)); |
| 3469 unittest.expect(o[0], unittest.equals('foo')); | 3467 unittest.expect(o[0], unittest.equals('foo')); |
| 3470 unittest.expect(o[1], unittest.equals('foo')); | 3468 unittest.expect(o[1], unittest.equals('foo')); |
| 3471 } | 3469 } |
| 3472 | 3470 |
| 3473 core.int buildCounterTaskRunnerSettings = 0; | 3471 core.int buildCounterTaskRunnerSettings = 0; |
| 3474 buildTaskRunnerSettings() { | 3472 buildTaskRunnerSettings() { |
| 3475 var o = new api.TaskRunnerSettings(); | 3473 var o = new api.TaskRunnerSettings(); |
| 3476 buildCounterTaskRunnerSettings++; | 3474 buildCounterTaskRunnerSettings++; |
| 3477 if (buildCounterTaskRunnerSettings < 3) { | 3475 if (buildCounterTaskRunnerSettings < 3) { |
| 3478 o.alsologtostderr = true; | 3476 o.alsologtostderr = true; |
| 3479 o.baseTaskDir = "foo"; | 3477 o.baseTaskDir = "foo"; |
| 3480 o.baseUrl = "foo"; | 3478 o.baseUrl = "foo"; |
| 3481 o.commandlinesFileName = "foo"; | 3479 o.commandlinesFileName = "foo"; |
| 3482 o.continueOnException = true; | 3480 o.continueOnException = true; |
| 3483 o.dataflowApiVersion = "foo"; | 3481 o.dataflowApiVersion = "foo"; |
| 3484 o.harnessCommand = "foo"; | 3482 o.harnessCommand = "foo"; |
| 3485 o.languageHint = "foo"; | 3483 o.languageHint = "foo"; |
| 3486 o.logDir = "foo"; | 3484 o.logDir = "foo"; |
| 3487 o.logToSerialconsole = true; | 3485 o.logToSerialconsole = true; |
| 3488 o.logUploadLocation = "foo"; | 3486 o.logUploadLocation = "foo"; |
| 3489 o.oauthScopes = buildUnnamed3048(); | 3487 o.oauthScopes = buildUnnamed3158(); |
| 3490 o.parallelWorkerSettings = buildWorkerSettings(); | 3488 o.parallelWorkerSettings = buildWorkerSettings(); |
| 3491 o.streamingWorkerMainClass = "foo"; | 3489 o.streamingWorkerMainClass = "foo"; |
| 3492 o.taskGroup = "foo"; | 3490 o.taskGroup = "foo"; |
| 3493 o.taskUser = "foo"; | 3491 o.taskUser = "foo"; |
| 3494 o.tempStoragePrefix = "foo"; | 3492 o.tempStoragePrefix = "foo"; |
| 3495 o.vmId = "foo"; | 3493 o.vmId = "foo"; |
| 3496 o.workflowFileName = "foo"; | 3494 o.workflowFileName = "foo"; |
| 3497 } | 3495 } |
| 3498 buildCounterTaskRunnerSettings--; | 3496 buildCounterTaskRunnerSettings--; |
| 3499 return o; | 3497 return o; |
| 3500 } | 3498 } |
| 3501 | 3499 |
| 3502 checkTaskRunnerSettings(api.TaskRunnerSettings o) { | 3500 checkTaskRunnerSettings(api.TaskRunnerSettings o) { |
| 3503 buildCounterTaskRunnerSettings++; | 3501 buildCounterTaskRunnerSettings++; |
| 3504 if (buildCounterTaskRunnerSettings < 3) { | 3502 if (buildCounterTaskRunnerSettings < 3) { |
| 3505 unittest.expect(o.alsologtostderr, unittest.isTrue); | 3503 unittest.expect(o.alsologtostderr, unittest.isTrue); |
| 3506 unittest.expect(o.baseTaskDir, unittest.equals('foo')); | 3504 unittest.expect(o.baseTaskDir, unittest.equals('foo')); |
| 3507 unittest.expect(o.baseUrl, unittest.equals('foo')); | 3505 unittest.expect(o.baseUrl, unittest.equals('foo')); |
| 3508 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); | 3506 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); |
| 3509 unittest.expect(o.continueOnException, unittest.isTrue); | 3507 unittest.expect(o.continueOnException, unittest.isTrue); |
| 3510 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); | 3508 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); |
| 3511 unittest.expect(o.harnessCommand, unittest.equals('foo')); | 3509 unittest.expect(o.harnessCommand, unittest.equals('foo')); |
| 3512 unittest.expect(o.languageHint, unittest.equals('foo')); | 3510 unittest.expect(o.languageHint, unittest.equals('foo')); |
| 3513 unittest.expect(o.logDir, unittest.equals('foo')); | 3511 unittest.expect(o.logDir, unittest.equals('foo')); |
| 3514 unittest.expect(o.logToSerialconsole, unittest.isTrue); | 3512 unittest.expect(o.logToSerialconsole, unittest.isTrue); |
| 3515 unittest.expect(o.logUploadLocation, unittest.equals('foo')); | 3513 unittest.expect(o.logUploadLocation, unittest.equals('foo')); |
| 3516 checkUnnamed3048(o.oauthScopes); | 3514 checkUnnamed3158(o.oauthScopes); |
| 3517 checkWorkerSettings(o.parallelWorkerSettings); | 3515 checkWorkerSettings(o.parallelWorkerSettings); |
| 3518 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); | 3516 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); |
| 3519 unittest.expect(o.taskGroup, unittest.equals('foo')); | 3517 unittest.expect(o.taskGroup, unittest.equals('foo')); |
| 3520 unittest.expect(o.taskUser, unittest.equals('foo')); | 3518 unittest.expect(o.taskUser, unittest.equals('foo')); |
| 3521 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 3519 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 3522 unittest.expect(o.vmId, unittest.equals('foo')); | 3520 unittest.expect(o.vmId, unittest.equals('foo')); |
| 3523 unittest.expect(o.workflowFileName, unittest.equals('foo')); | 3521 unittest.expect(o.workflowFileName, unittest.equals('foo')); |
| 3524 } | 3522 } |
| 3525 buildCounterTaskRunnerSettings--; | 3523 buildCounterTaskRunnerSettings--; |
| 3526 } | 3524 } |
| 3527 | 3525 |
| 3528 buildUnnamed3049() { | 3526 buildUnnamed3159() { |
| 3529 var o = new core.List<api.ParameterMetadata>(); | 3527 var o = new core.List<api.ParameterMetadata>(); |
| 3530 o.add(buildParameterMetadata()); | 3528 o.add(buildParameterMetadata()); |
| 3531 o.add(buildParameterMetadata()); | 3529 o.add(buildParameterMetadata()); |
| 3532 return o; | 3530 return o; |
| 3533 } | 3531 } |
| 3534 | 3532 |
| 3535 checkUnnamed3049(core.List<api.ParameterMetadata> o) { | 3533 checkUnnamed3159(core.List<api.ParameterMetadata> o) { |
| 3536 unittest.expect(o, unittest.hasLength(2)); | 3534 unittest.expect(o, unittest.hasLength(2)); |
| 3537 checkParameterMetadata(o[0]); | 3535 checkParameterMetadata(o[0]); |
| 3538 checkParameterMetadata(o[1]); | 3536 checkParameterMetadata(o[1]); |
| 3539 } | 3537 } |
| 3540 | 3538 |
| 3541 core.int buildCounterTemplateMetadata = 0; | 3539 core.int buildCounterTemplateMetadata = 0; |
| 3542 buildTemplateMetadata() { | 3540 buildTemplateMetadata() { |
| 3543 var o = new api.TemplateMetadata(); | 3541 var o = new api.TemplateMetadata(); |
| 3544 buildCounterTemplateMetadata++; | 3542 buildCounterTemplateMetadata++; |
| 3545 if (buildCounterTemplateMetadata < 3) { | 3543 if (buildCounterTemplateMetadata < 3) { |
| 3546 o.bypassTempDirValidation = true; | 3544 o.bypassTempDirValidation = true; |
| 3547 o.description = "foo"; | 3545 o.description = "foo"; |
| 3548 o.name = "foo"; | 3546 o.name = "foo"; |
| 3549 o.parameters = buildUnnamed3049(); | 3547 o.parameters = buildUnnamed3159(); |
| 3550 } | 3548 } |
| 3551 buildCounterTemplateMetadata--; | 3549 buildCounterTemplateMetadata--; |
| 3552 return o; | 3550 return o; |
| 3553 } | 3551 } |
| 3554 | 3552 |
| 3555 checkTemplateMetadata(api.TemplateMetadata o) { | 3553 checkTemplateMetadata(api.TemplateMetadata o) { |
| 3556 buildCounterTemplateMetadata++; | 3554 buildCounterTemplateMetadata++; |
| 3557 if (buildCounterTemplateMetadata < 3) { | 3555 if (buildCounterTemplateMetadata < 3) { |
| 3558 unittest.expect(o.bypassTempDirValidation, unittest.isTrue); | 3556 unittest.expect(o.bypassTempDirValidation, unittest.isTrue); |
| 3559 unittest.expect(o.description, unittest.equals('foo')); | 3557 unittest.expect(o.description, unittest.equals('foo')); |
| 3560 unittest.expect(o.name, unittest.equals('foo')); | 3558 unittest.expect(o.name, unittest.equals('foo')); |
| 3561 checkUnnamed3049(o.parameters); | 3559 checkUnnamed3159(o.parameters); |
| 3562 } | 3560 } |
| 3563 buildCounterTemplateMetadata--; | 3561 buildCounterTemplateMetadata--; |
| 3564 } | 3562 } |
| 3565 | 3563 |
| 3566 buildUnnamed3050() { | 3564 buildUnnamed3160() { |
| 3567 var o = new core.List<api.ComputationTopology>(); | 3565 var o = new core.List<api.ComputationTopology>(); |
| 3568 o.add(buildComputationTopology()); | 3566 o.add(buildComputationTopology()); |
| 3569 o.add(buildComputationTopology()); | 3567 o.add(buildComputationTopology()); |
| 3570 return o; | 3568 return o; |
| 3571 } | 3569 } |
| 3572 | 3570 |
| 3573 checkUnnamed3050(core.List<api.ComputationTopology> o) { | 3571 checkUnnamed3160(core.List<api.ComputationTopology> o) { |
| 3574 unittest.expect(o, unittest.hasLength(2)); | 3572 unittest.expect(o, unittest.hasLength(2)); |
| 3575 checkComputationTopology(o[0]); | 3573 checkComputationTopology(o[0]); |
| 3576 checkComputationTopology(o[1]); | 3574 checkComputationTopology(o[1]); |
| 3577 } | 3575 } |
| 3578 | 3576 |
| 3579 buildUnnamed3051() { | 3577 buildUnnamed3161() { |
| 3580 var o = new core.List<api.DataDiskAssignment>(); | 3578 var o = new core.List<api.DataDiskAssignment>(); |
| 3581 o.add(buildDataDiskAssignment()); | 3579 o.add(buildDataDiskAssignment()); |
| 3582 o.add(buildDataDiskAssignment()); | 3580 o.add(buildDataDiskAssignment()); |
| 3583 return o; | 3581 return o; |
| 3584 } | 3582 } |
| 3585 | 3583 |
| 3586 checkUnnamed3051(core.List<api.DataDiskAssignment> o) { | 3584 checkUnnamed3161(core.List<api.DataDiskAssignment> o) { |
| 3587 unittest.expect(o, unittest.hasLength(2)); | 3585 unittest.expect(o, unittest.hasLength(2)); |
| 3588 checkDataDiskAssignment(o[0]); | 3586 checkDataDiskAssignment(o[0]); |
| 3589 checkDataDiskAssignment(o[1]); | 3587 checkDataDiskAssignment(o[1]); |
| 3590 } | 3588 } |
| 3591 | 3589 |
| 3592 buildUnnamed3052() { | 3590 buildUnnamed3162() { |
| 3593 var o = new core.Map<core.String, core.String>(); | 3591 var o = new core.Map<core.String, core.String>(); |
| 3594 o["x"] = "foo"; | 3592 o["x"] = "foo"; |
| 3595 o["y"] = "foo"; | 3593 o["y"] = "foo"; |
| 3596 return o; | 3594 return o; |
| 3597 } | 3595 } |
| 3598 | 3596 |
| 3599 checkUnnamed3052(core.Map<core.String, core.String> o) { | 3597 checkUnnamed3162(core.Map<core.String, core.String> o) { |
| 3600 unittest.expect(o, unittest.hasLength(2)); | 3598 unittest.expect(o, unittest.hasLength(2)); |
| 3601 unittest.expect(o["x"], unittest.equals('foo')); | 3599 unittest.expect(o["x"], unittest.equals('foo')); |
| 3602 unittest.expect(o["y"], unittest.equals('foo')); | 3600 unittest.expect(o["y"], unittest.equals('foo')); |
| 3603 } | 3601 } |
| 3604 | 3602 |
| 3605 core.int buildCounterTopologyConfig = 0; | 3603 core.int buildCounterTopologyConfig = 0; |
| 3606 buildTopologyConfig() { | 3604 buildTopologyConfig() { |
| 3607 var o = new api.TopologyConfig(); | 3605 var o = new api.TopologyConfig(); |
| 3608 buildCounterTopologyConfig++; | 3606 buildCounterTopologyConfig++; |
| 3609 if (buildCounterTopologyConfig < 3) { | 3607 if (buildCounterTopologyConfig < 3) { |
| 3610 o.computations = buildUnnamed3050(); | 3608 o.computations = buildUnnamed3160(); |
| 3611 o.dataDiskAssignments = buildUnnamed3051(); | 3609 o.dataDiskAssignments = buildUnnamed3161(); |
| 3612 o.forwardingKeyBits = 42; | 3610 o.forwardingKeyBits = 42; |
| 3613 o.persistentStateVersion = 42; | 3611 o.persistentStateVersion = 42; |
| 3614 o.userStageToComputationNameMap = buildUnnamed3052(); | 3612 o.userStageToComputationNameMap = buildUnnamed3162(); |
| 3615 } | 3613 } |
| 3616 buildCounterTopologyConfig--; | 3614 buildCounterTopologyConfig--; |
| 3617 return o; | 3615 return o; |
| 3618 } | 3616 } |
| 3619 | 3617 |
| 3620 checkTopologyConfig(api.TopologyConfig o) { | 3618 checkTopologyConfig(api.TopologyConfig o) { |
| 3621 buildCounterTopologyConfig++; | 3619 buildCounterTopologyConfig++; |
| 3622 if (buildCounterTopologyConfig < 3) { | 3620 if (buildCounterTopologyConfig < 3) { |
| 3623 checkUnnamed3050(o.computations); | 3621 checkUnnamed3160(o.computations); |
| 3624 checkUnnamed3051(o.dataDiskAssignments); | 3622 checkUnnamed3161(o.dataDiskAssignments); |
| 3625 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); | 3623 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); |
| 3626 unittest.expect(o.persistentStateVersion, unittest.equals(42)); | 3624 unittest.expect(o.persistentStateVersion, unittest.equals(42)); |
| 3627 checkUnnamed3052(o.userStageToComputationNameMap); | 3625 checkUnnamed3162(o.userStageToComputationNameMap); |
| 3628 } | 3626 } |
| 3629 buildCounterTopologyConfig--; | 3627 buildCounterTopologyConfig--; |
| 3630 } | 3628 } |
| 3631 | 3629 |
| 3632 buildUnnamed3053() { | 3630 buildUnnamed3163() { |
| 3633 var o = new core.List<api.DisplayData>(); | 3631 var o = new core.List<api.DisplayData>(); |
| 3634 o.add(buildDisplayData()); | 3632 o.add(buildDisplayData()); |
| 3635 o.add(buildDisplayData()); | 3633 o.add(buildDisplayData()); |
| 3636 return o; | 3634 return o; |
| 3637 } | 3635 } |
| 3638 | 3636 |
| 3639 checkUnnamed3053(core.List<api.DisplayData> o) { | 3637 checkUnnamed3163(core.List<api.DisplayData> o) { |
| 3640 unittest.expect(o, unittest.hasLength(2)); | 3638 unittest.expect(o, unittest.hasLength(2)); |
| 3641 checkDisplayData(o[0]); | 3639 checkDisplayData(o[0]); |
| 3642 checkDisplayData(o[1]); | 3640 checkDisplayData(o[1]); |
| 3643 } | 3641 } |
| 3644 | 3642 |
| 3645 buildUnnamed3054() { | 3643 buildUnnamed3164() { |
| 3646 var o = new core.List<core.String>(); | 3644 var o = new core.List<core.String>(); |
| 3647 o.add("foo"); | 3645 o.add("foo"); |
| 3648 o.add("foo"); | 3646 o.add("foo"); |
| 3649 return o; | 3647 return o; |
| 3650 } | 3648 } |
| 3651 | 3649 |
| 3652 checkUnnamed3054(core.List<core.String> o) { | 3650 checkUnnamed3164(core.List<core.String> o) { |
| 3653 unittest.expect(o, unittest.hasLength(2)); | 3651 unittest.expect(o, unittest.hasLength(2)); |
| 3654 unittest.expect(o[0], unittest.equals('foo')); | 3652 unittest.expect(o[0], unittest.equals('foo')); |
| 3655 unittest.expect(o[1], unittest.equals('foo')); | 3653 unittest.expect(o[1], unittest.equals('foo')); |
| 3656 } | 3654 } |
| 3657 | 3655 |
| 3658 buildUnnamed3055() { | 3656 buildUnnamed3165() { |
| 3659 var o = new core.List<core.String>(); | 3657 var o = new core.List<core.String>(); |
| 3660 o.add("foo"); | 3658 o.add("foo"); |
| 3661 o.add("foo"); | 3659 o.add("foo"); |
| 3662 return o; | 3660 return o; |
| 3663 } | 3661 } |
| 3664 | 3662 |
| 3665 checkUnnamed3055(core.List<core.String> o) { | 3663 checkUnnamed3165(core.List<core.String> o) { |
| 3666 unittest.expect(o, unittest.hasLength(2)); | 3664 unittest.expect(o, unittest.hasLength(2)); |
| 3667 unittest.expect(o[0], unittest.equals('foo')); | 3665 unittest.expect(o[0], unittest.equals('foo')); |
| 3668 unittest.expect(o[1], unittest.equals('foo')); | 3666 unittest.expect(o[1], unittest.equals('foo')); |
| 3669 } | 3667 } |
| 3670 | 3668 |
| 3671 core.int buildCounterTransformSummary = 0; | 3669 core.int buildCounterTransformSummary = 0; |
| 3672 buildTransformSummary() { | 3670 buildTransformSummary() { |
| 3673 var o = new api.TransformSummary(); | 3671 var o = new api.TransformSummary(); |
| 3674 buildCounterTransformSummary++; | 3672 buildCounterTransformSummary++; |
| 3675 if (buildCounterTransformSummary < 3) { | 3673 if (buildCounterTransformSummary < 3) { |
| 3676 o.displayData = buildUnnamed3053(); | 3674 o.displayData = buildUnnamed3163(); |
| 3677 o.id = "foo"; | 3675 o.id = "foo"; |
| 3678 o.inputCollectionName = buildUnnamed3054(); | 3676 o.inputCollectionName = buildUnnamed3164(); |
| 3679 o.kind = "foo"; | 3677 o.kind = "foo"; |
| 3680 o.name = "foo"; | 3678 o.name = "foo"; |
| 3681 o.outputCollectionName = buildUnnamed3055(); | 3679 o.outputCollectionName = buildUnnamed3165(); |
| 3682 } | 3680 } |
| 3683 buildCounterTransformSummary--; | 3681 buildCounterTransformSummary--; |
| 3684 return o; | 3682 return o; |
| 3685 } | 3683 } |
| 3686 | 3684 |
| 3687 checkTransformSummary(api.TransformSummary o) { | 3685 checkTransformSummary(api.TransformSummary o) { |
| 3688 buildCounterTransformSummary++; | 3686 buildCounterTransformSummary++; |
| 3689 if (buildCounterTransformSummary < 3) { | 3687 if (buildCounterTransformSummary < 3) { |
| 3690 checkUnnamed3053(o.displayData); | 3688 checkUnnamed3163(o.displayData); |
| 3691 unittest.expect(o.id, unittest.equals('foo')); | 3689 unittest.expect(o.id, unittest.equals('foo')); |
| 3692 checkUnnamed3054(o.inputCollectionName); | 3690 checkUnnamed3164(o.inputCollectionName); |
| 3693 unittest.expect(o.kind, unittest.equals('foo')); | 3691 unittest.expect(o.kind, unittest.equals('foo')); |
| 3694 unittest.expect(o.name, unittest.equals('foo')); | 3692 unittest.expect(o.name, unittest.equals('foo')); |
| 3695 checkUnnamed3055(o.outputCollectionName); | 3693 checkUnnamed3165(o.outputCollectionName); |
| 3696 } | 3694 } |
| 3697 buildCounterTransformSummary--; | 3695 buildCounterTransformSummary--; |
| 3698 } | 3696 } |
| 3699 | 3697 |
| 3700 buildUnnamed3056() { | 3698 buildUnnamed3166() { |
| 3701 var o = new core.List<api.Package>(); | 3699 var o = new core.List<api.Package>(); |
| 3702 o.add(buildPackage()); | 3700 o.add(buildPackage()); |
| 3703 o.add(buildPackage()); | 3701 o.add(buildPackage()); |
| 3704 return o; | 3702 return o; |
| 3705 } | 3703 } |
| 3706 | 3704 |
| 3707 checkUnnamed3056(core.List<api.Package> o) { | 3705 checkUnnamed3166(core.List<api.Package> o) { |
| 3708 unittest.expect(o, unittest.hasLength(2)); | 3706 unittest.expect(o, unittest.hasLength(2)); |
| 3709 checkPackage(o[0]); | 3707 checkPackage(o[0]); |
| 3710 checkPackage(o[1]); | 3708 checkPackage(o[1]); |
| 3711 } | 3709 } |
| 3712 | 3710 |
| 3713 core.int buildCounterWorkItem = 0; | 3711 core.int buildCounterWorkItem = 0; |
| 3714 buildWorkItem() { | 3712 buildWorkItem() { |
| 3715 var o = new api.WorkItem(); | 3713 var o = new api.WorkItem(); |
| 3716 buildCounterWorkItem++; | 3714 buildCounterWorkItem++; |
| 3717 if (buildCounterWorkItem < 3) { | 3715 if (buildCounterWorkItem < 3) { |
| 3718 o.configuration = "foo"; | 3716 o.configuration = "foo"; |
| 3719 o.id = "foo"; | 3717 o.id = "foo"; |
| 3720 o.initialReportIndex = "foo"; | 3718 o.initialReportIndex = "foo"; |
| 3721 o.jobId = "foo"; | 3719 o.jobId = "foo"; |
| 3722 o.leaseExpireTime = "foo"; | 3720 o.leaseExpireTime = "foo"; |
| 3723 o.mapTask = buildMapTask(); | 3721 o.mapTask = buildMapTask(); |
| 3724 o.packages = buildUnnamed3056(); | 3722 o.packages = buildUnnamed3166(); |
| 3725 o.projectId = "foo"; | 3723 o.projectId = "foo"; |
| 3726 o.reportStatusInterval = "foo"; | 3724 o.reportStatusInterval = "foo"; |
| 3727 o.seqMapTask = buildSeqMapTask(); | 3725 o.seqMapTask = buildSeqMapTask(); |
| 3728 o.shellTask = buildShellTask(); | 3726 o.shellTask = buildShellTask(); |
| 3729 o.sourceOperationTask = buildSourceOperationRequest(); | 3727 o.sourceOperationTask = buildSourceOperationRequest(); |
| 3730 o.streamingComputationTask = buildStreamingComputationTask(); | 3728 o.streamingComputationTask = buildStreamingComputationTask(); |
| 3731 o.streamingConfigTask = buildStreamingConfigTask(); | 3729 o.streamingConfigTask = buildStreamingConfigTask(); |
| 3732 o.streamingSetupTask = buildStreamingSetupTask(); | 3730 o.streamingSetupTask = buildStreamingSetupTask(); |
| 3733 } | 3731 } |
| 3734 buildCounterWorkItem--; | 3732 buildCounterWorkItem--; |
| 3735 return o; | 3733 return o; |
| 3736 } | 3734 } |
| 3737 | 3735 |
| 3738 checkWorkItem(api.WorkItem o) { | 3736 checkWorkItem(api.WorkItem o) { |
| 3739 buildCounterWorkItem++; | 3737 buildCounterWorkItem++; |
| 3740 if (buildCounterWorkItem < 3) { | 3738 if (buildCounterWorkItem < 3) { |
| 3741 unittest.expect(o.configuration, unittest.equals('foo')); | 3739 unittest.expect(o.configuration, unittest.equals('foo')); |
| 3742 unittest.expect(o.id, unittest.equals('foo')); | 3740 unittest.expect(o.id, unittest.equals('foo')); |
| 3743 unittest.expect(o.initialReportIndex, unittest.equals('foo')); | 3741 unittest.expect(o.initialReportIndex, unittest.equals('foo')); |
| 3744 unittest.expect(o.jobId, unittest.equals('foo')); | 3742 unittest.expect(o.jobId, unittest.equals('foo')); |
| 3745 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3743 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3746 checkMapTask(o.mapTask); | 3744 checkMapTask(o.mapTask); |
| 3747 checkUnnamed3056(o.packages); | 3745 checkUnnamed3166(o.packages); |
| 3748 unittest.expect(o.projectId, unittest.equals('foo')); | 3746 unittest.expect(o.projectId, unittest.equals('foo')); |
| 3749 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3747 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3750 checkSeqMapTask(o.seqMapTask); | 3748 checkSeqMapTask(o.seqMapTask); |
| 3751 checkShellTask(o.shellTask); | 3749 checkShellTask(o.shellTask); |
| 3752 checkSourceOperationRequest(o.sourceOperationTask); | 3750 checkSourceOperationRequest(o.sourceOperationTask); |
| 3753 checkStreamingComputationTask(o.streamingComputationTask); | 3751 checkStreamingComputationTask(o.streamingComputationTask); |
| 3754 checkStreamingConfigTask(o.streamingConfigTask); | 3752 checkStreamingConfigTask(o.streamingConfigTask); |
| 3755 checkStreamingSetupTask(o.streamingSetupTask); | 3753 checkStreamingSetupTask(o.streamingSetupTask); |
| 3756 } | 3754 } |
| 3757 buildCounterWorkItem--; | 3755 buildCounterWorkItem--; |
| 3758 } | 3756 } |
| 3759 | 3757 |
| 3760 buildUnnamed3057() { | 3758 buildUnnamed3167() { |
| 3761 var o = new core.Map<core.String, core.Object>(); | 3759 var o = new core.Map<core.String, core.Object>(); |
| 3762 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3760 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3763 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3761 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3764 return o; | 3762 return o; |
| 3765 } | 3763 } |
| 3766 | 3764 |
| 3767 checkUnnamed3057(core.Map<core.String, core.Object> o) { | 3765 checkUnnamed3167(core.Map<core.String, core.Object> o) { |
| 3768 unittest.expect(o, unittest.hasLength(2)); | 3766 unittest.expect(o, unittest.hasLength(2)); |
| 3769 var casted41 = (o["x"]) 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')); | 3767 var casted41 = (o["x"]) 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')); |
| 3770 var casted42 = (o["y"]) 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')); | 3768 var casted42 = (o["y"]) 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')); |
| 3771 } | 3769 } |
| 3772 | 3770 |
| 3773 buildUnnamed3058() { | 3771 buildUnnamed3168() { |
| 3774 var o = new core.List<api.MetricShortId>(); | 3772 var o = new core.List<api.MetricShortId>(); |
| 3775 o.add(buildMetricShortId()); | 3773 o.add(buildMetricShortId()); |
| 3776 o.add(buildMetricShortId()); | 3774 o.add(buildMetricShortId()); |
| 3777 return o; | 3775 return o; |
| 3778 } | 3776 } |
| 3779 | 3777 |
| 3780 checkUnnamed3058(core.List<api.MetricShortId> o) { | 3778 checkUnnamed3168(core.List<api.MetricShortId> o) { |
| 3781 unittest.expect(o, unittest.hasLength(2)); | 3779 unittest.expect(o, unittest.hasLength(2)); |
| 3782 checkMetricShortId(o[0]); | 3780 checkMetricShortId(o[0]); |
| 3783 checkMetricShortId(o[1]); | 3781 checkMetricShortId(o[1]); |
| 3784 } | 3782 } |
| 3785 | 3783 |
| 3786 core.int buildCounterWorkItemServiceState = 0; | 3784 core.int buildCounterWorkItemServiceState = 0; |
| 3787 buildWorkItemServiceState() { | 3785 buildWorkItemServiceState() { |
| 3788 var o = new api.WorkItemServiceState(); | 3786 var o = new api.WorkItemServiceState(); |
| 3789 buildCounterWorkItemServiceState++; | 3787 buildCounterWorkItemServiceState++; |
| 3790 if (buildCounterWorkItemServiceState < 3) { | 3788 if (buildCounterWorkItemServiceState < 3) { |
| 3791 o.harnessData = buildUnnamed3057(); | 3789 o.harnessData = buildUnnamed3167(); |
| 3792 o.leaseExpireTime = "foo"; | 3790 o.leaseExpireTime = "foo"; |
| 3793 o.metricShortId = buildUnnamed3058(); | 3791 o.metricShortId = buildUnnamed3168(); |
| 3794 o.nextReportIndex = "foo"; | 3792 o.nextReportIndex = "foo"; |
| 3795 o.reportStatusInterval = "foo"; | 3793 o.reportStatusInterval = "foo"; |
| 3796 o.splitRequest = buildApproximateSplitRequest(); | 3794 o.splitRequest = buildApproximateSplitRequest(); |
| 3797 o.suggestedStopPoint = buildApproximateProgress(); | 3795 o.suggestedStopPoint = buildApproximateProgress(); |
| 3798 o.suggestedStopPosition = buildPosition(); | 3796 o.suggestedStopPosition = buildPosition(); |
| 3799 } | 3797 } |
| 3800 buildCounterWorkItemServiceState--; | 3798 buildCounterWorkItemServiceState--; |
| 3801 return o; | 3799 return o; |
| 3802 } | 3800 } |
| 3803 | 3801 |
| 3804 checkWorkItemServiceState(api.WorkItemServiceState o) { | 3802 checkWorkItemServiceState(api.WorkItemServiceState o) { |
| 3805 buildCounterWorkItemServiceState++; | 3803 buildCounterWorkItemServiceState++; |
| 3806 if (buildCounterWorkItemServiceState < 3) { | 3804 if (buildCounterWorkItemServiceState < 3) { |
| 3807 checkUnnamed3057(o.harnessData); | 3805 checkUnnamed3167(o.harnessData); |
| 3808 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3806 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3809 checkUnnamed3058(o.metricShortId); | 3807 checkUnnamed3168(o.metricShortId); |
| 3810 unittest.expect(o.nextReportIndex, unittest.equals('foo')); | 3808 unittest.expect(o.nextReportIndex, unittest.equals('foo')); |
| 3811 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3809 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3812 checkApproximateSplitRequest(o.splitRequest); | 3810 checkApproximateSplitRequest(o.splitRequest); |
| 3813 checkApproximateProgress(o.suggestedStopPoint); | 3811 checkApproximateProgress(o.suggestedStopPoint); |
| 3814 checkPosition(o.suggestedStopPosition); | 3812 checkPosition(o.suggestedStopPosition); |
| 3815 } | 3813 } |
| 3816 buildCounterWorkItemServiceState--; | 3814 buildCounterWorkItemServiceState--; |
| 3817 } | 3815 } |
| 3818 | 3816 |
| 3819 buildUnnamed3059() { | 3817 buildUnnamed3169() { |
| 3820 var o = new core.List<api.CounterUpdate>(); | 3818 var o = new core.List<api.CounterUpdate>(); |
| 3821 o.add(buildCounterUpdate()); | 3819 o.add(buildCounterUpdate()); |
| 3822 o.add(buildCounterUpdate()); | 3820 o.add(buildCounterUpdate()); |
| 3823 return o; | 3821 return o; |
| 3824 } | 3822 } |
| 3825 | 3823 |
| 3826 checkUnnamed3059(core.List<api.CounterUpdate> o) { | 3824 checkUnnamed3169(core.List<api.CounterUpdate> o) { |
| 3827 unittest.expect(o, unittest.hasLength(2)); | 3825 unittest.expect(o, unittest.hasLength(2)); |
| 3828 checkCounterUpdate(o[0]); | 3826 checkCounterUpdate(o[0]); |
| 3829 checkCounterUpdate(o[1]); | 3827 checkCounterUpdate(o[1]); |
| 3830 } | 3828 } |
| 3831 | 3829 |
| 3832 buildUnnamed3060() { | 3830 buildUnnamed3170() { |
| 3833 var o = new core.List<api.Status>(); | 3831 var o = new core.List<api.Status>(); |
| 3834 o.add(buildStatus()); | 3832 o.add(buildStatus()); |
| 3835 o.add(buildStatus()); | 3833 o.add(buildStatus()); |
| 3836 return o; | 3834 return o; |
| 3837 } | 3835 } |
| 3838 | 3836 |
| 3839 checkUnnamed3060(core.List<api.Status> o) { | 3837 checkUnnamed3170(core.List<api.Status> o) { |
| 3840 unittest.expect(o, unittest.hasLength(2)); | 3838 unittest.expect(o, unittest.hasLength(2)); |
| 3841 checkStatus(o[0]); | 3839 checkStatus(o[0]); |
| 3842 checkStatus(o[1]); | 3840 checkStatus(o[1]); |
| 3843 } | 3841 } |
| 3844 | 3842 |
| 3845 buildUnnamed3061() { | 3843 buildUnnamed3171() { |
| 3846 var o = new core.List<api.MetricUpdate>(); | 3844 var o = new core.List<api.MetricUpdate>(); |
| 3847 o.add(buildMetricUpdate()); | 3845 o.add(buildMetricUpdate()); |
| 3848 o.add(buildMetricUpdate()); | 3846 o.add(buildMetricUpdate()); |
| 3849 return o; | 3847 return o; |
| 3850 } | 3848 } |
| 3851 | 3849 |
| 3852 checkUnnamed3061(core.List<api.MetricUpdate> o) { | 3850 checkUnnamed3171(core.List<api.MetricUpdate> o) { |
| 3853 unittest.expect(o, unittest.hasLength(2)); | 3851 unittest.expect(o, unittest.hasLength(2)); |
| 3854 checkMetricUpdate(o[0]); | 3852 checkMetricUpdate(o[0]); |
| 3855 checkMetricUpdate(o[1]); | 3853 checkMetricUpdate(o[1]); |
| 3856 } | 3854 } |
| 3857 | 3855 |
| 3858 core.int buildCounterWorkItemStatus = 0; | 3856 core.int buildCounterWorkItemStatus = 0; |
| 3859 buildWorkItemStatus() { | 3857 buildWorkItemStatus() { |
| 3860 var o = new api.WorkItemStatus(); | 3858 var o = new api.WorkItemStatus(); |
| 3861 buildCounterWorkItemStatus++; | 3859 buildCounterWorkItemStatus++; |
| 3862 if (buildCounterWorkItemStatus < 3) { | 3860 if (buildCounterWorkItemStatus < 3) { |
| 3863 o.completed = true; | 3861 o.completed = true; |
| 3864 o.counterUpdates = buildUnnamed3059(); | 3862 o.counterUpdates = buildUnnamed3169(); |
| 3865 o.dynamicSourceSplit = buildDynamicSourceSplit(); | 3863 o.dynamicSourceSplit = buildDynamicSourceSplit(); |
| 3866 o.errors = buildUnnamed3060(); | 3864 o.errors = buildUnnamed3170(); |
| 3867 o.metricUpdates = buildUnnamed3061(); | 3865 o.metricUpdates = buildUnnamed3171(); |
| 3868 o.progress = buildApproximateProgress(); | 3866 o.progress = buildApproximateProgress(); |
| 3869 o.reportIndex = "foo"; | 3867 o.reportIndex = "foo"; |
| 3870 o.reportedProgress = buildApproximateReportedProgress(); | 3868 o.reportedProgress = buildApproximateReportedProgress(); |
| 3871 o.requestedLeaseDuration = "foo"; | 3869 o.requestedLeaseDuration = "foo"; |
| 3872 o.sourceFork = buildSourceFork(); | 3870 o.sourceFork = buildSourceFork(); |
| 3873 o.sourceOperationResponse = buildSourceOperationResponse(); | 3871 o.sourceOperationResponse = buildSourceOperationResponse(); |
| 3874 o.stopPosition = buildPosition(); | 3872 o.stopPosition = buildPosition(); |
| 3875 o.workItemId = "foo"; | 3873 o.workItemId = "foo"; |
| 3876 } | 3874 } |
| 3877 buildCounterWorkItemStatus--; | 3875 buildCounterWorkItemStatus--; |
| 3878 return o; | 3876 return o; |
| 3879 } | 3877 } |
| 3880 | 3878 |
| 3881 checkWorkItemStatus(api.WorkItemStatus o) { | 3879 checkWorkItemStatus(api.WorkItemStatus o) { |
| 3882 buildCounterWorkItemStatus++; | 3880 buildCounterWorkItemStatus++; |
| 3883 if (buildCounterWorkItemStatus < 3) { | 3881 if (buildCounterWorkItemStatus < 3) { |
| 3884 unittest.expect(o.completed, unittest.isTrue); | 3882 unittest.expect(o.completed, unittest.isTrue); |
| 3885 checkUnnamed3059(o.counterUpdates); | 3883 checkUnnamed3169(o.counterUpdates); |
| 3886 checkDynamicSourceSplit(o.dynamicSourceSplit); | 3884 checkDynamicSourceSplit(o.dynamicSourceSplit); |
| 3887 checkUnnamed3060(o.errors); | 3885 checkUnnamed3170(o.errors); |
| 3888 checkUnnamed3061(o.metricUpdates); | 3886 checkUnnamed3171(o.metricUpdates); |
| 3889 checkApproximateProgress(o.progress); | 3887 checkApproximateProgress(o.progress); |
| 3890 unittest.expect(o.reportIndex, unittest.equals('foo')); | 3888 unittest.expect(o.reportIndex, unittest.equals('foo')); |
| 3891 checkApproximateReportedProgress(o.reportedProgress); | 3889 checkApproximateReportedProgress(o.reportedProgress); |
| 3892 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 3890 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 3893 checkSourceFork(o.sourceFork); | 3891 checkSourceFork(o.sourceFork); |
| 3894 checkSourceOperationResponse(o.sourceOperationResponse); | 3892 checkSourceOperationResponse(o.sourceOperationResponse); |
| 3895 checkPosition(o.stopPosition); | 3893 checkPosition(o.stopPosition); |
| 3896 unittest.expect(o.workItemId, unittest.equals('foo')); | 3894 unittest.expect(o.workItemId, unittest.equals('foo')); |
| 3897 } | 3895 } |
| 3898 buildCounterWorkItemStatus--; | 3896 buildCounterWorkItemStatus--; |
| 3899 } | 3897 } |
| 3900 | 3898 |
| 3901 buildUnnamed3062() { | 3899 buildUnnamed3172() { |
| 3902 var o = new core.Map<core.String, core.Object>(); | 3900 var o = new core.Map<core.String, core.Object>(); |
| 3903 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3901 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3904 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3902 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3905 return o; | 3903 return o; |
| 3906 } | 3904 } |
| 3907 | 3905 |
| 3908 checkUnnamed3062(core.Map<core.String, core.Object> o) { | 3906 checkUnnamed3172(core.Map<core.String, core.Object> o) { |
| 3909 unittest.expect(o, unittest.hasLength(2)); | 3907 unittest.expect(o, unittest.hasLength(2)); |
| 3910 var casted43 = (o["x"]) 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')); | 3908 var casted43 = (o["x"]) 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')); |
| 3911 var casted44 = (o["y"]) 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')); | 3909 var casted44 = (o["y"]) 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')); |
| 3912 } | 3910 } |
| 3913 | 3911 |
| 3914 buildUnnamed3063() { | 3912 buildUnnamed3173() { |
| 3915 var o = new core.List<core.Map<core.String, core.Object>>(); | 3913 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3916 o.add(buildUnnamed3062()); | 3914 o.add(buildUnnamed3172()); |
| 3917 o.add(buildUnnamed3062()); | 3915 o.add(buildUnnamed3172()); |
| 3918 return o; | 3916 return o; |
| 3919 } | 3917 } |
| 3920 | 3918 |
| 3921 checkUnnamed3063(core.List<core.Map<core.String, core.Object>> o) { | 3919 checkUnnamed3173(core.List<core.Map<core.String, core.Object>> o) { |
| 3922 unittest.expect(o, unittest.hasLength(2)); | 3920 unittest.expect(o, unittest.hasLength(2)); |
| 3923 checkUnnamed3062(o[0]); | 3921 checkUnnamed3172(o[0]); |
| 3924 checkUnnamed3062(o[1]); | 3922 checkUnnamed3172(o[1]); |
| 3925 } | 3923 } |
| 3926 | 3924 |
| 3927 core.int buildCounterWorkerHealthReport = 0; | 3925 core.int buildCounterWorkerHealthReport = 0; |
| 3928 buildWorkerHealthReport() { | 3926 buildWorkerHealthReport() { |
| 3929 var o = new api.WorkerHealthReport(); | 3927 var o = new api.WorkerHealthReport(); |
| 3930 buildCounterWorkerHealthReport++; | 3928 buildCounterWorkerHealthReport++; |
| 3931 if (buildCounterWorkerHealthReport < 3) { | 3929 if (buildCounterWorkerHealthReport < 3) { |
| 3932 o.pods = buildUnnamed3063(); | 3930 o.pods = buildUnnamed3173(); |
| 3933 o.reportInterval = "foo"; | 3931 o.reportInterval = "foo"; |
| 3934 o.vmIsHealthy = true; | 3932 o.vmIsHealthy = true; |
| 3935 o.vmStartupTime = "foo"; | 3933 o.vmStartupTime = "foo"; |
| 3936 } | 3934 } |
| 3937 buildCounterWorkerHealthReport--; | 3935 buildCounterWorkerHealthReport--; |
| 3938 return o; | 3936 return o; |
| 3939 } | 3937 } |
| 3940 | 3938 |
| 3941 checkWorkerHealthReport(api.WorkerHealthReport o) { | 3939 checkWorkerHealthReport(api.WorkerHealthReport o) { |
| 3942 buildCounterWorkerHealthReport++; | 3940 buildCounterWorkerHealthReport++; |
| 3943 if (buildCounterWorkerHealthReport < 3) { | 3941 if (buildCounterWorkerHealthReport < 3) { |
| 3944 checkUnnamed3063(o.pods); | 3942 checkUnnamed3173(o.pods); |
| 3945 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3943 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3946 unittest.expect(o.vmIsHealthy, unittest.isTrue); | 3944 unittest.expect(o.vmIsHealthy, unittest.isTrue); |
| 3947 unittest.expect(o.vmStartupTime, unittest.equals('foo')); | 3945 unittest.expect(o.vmStartupTime, unittest.equals('foo')); |
| 3948 } | 3946 } |
| 3949 buildCounterWorkerHealthReport--; | 3947 buildCounterWorkerHealthReport--; |
| 3950 } | 3948 } |
| 3951 | 3949 |
| 3952 core.int buildCounterWorkerHealthReportResponse = 0; | 3950 core.int buildCounterWorkerHealthReportResponse = 0; |
| 3953 buildWorkerHealthReportResponse() { | 3951 buildWorkerHealthReportResponse() { |
| 3954 var o = new api.WorkerHealthReportResponse(); | 3952 var o = new api.WorkerHealthReportResponse(); |
| 3955 buildCounterWorkerHealthReportResponse++; | 3953 buildCounterWorkerHealthReportResponse++; |
| 3956 if (buildCounterWorkerHealthReportResponse < 3) { | 3954 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3957 o.reportInterval = "foo"; | 3955 o.reportInterval = "foo"; |
| 3958 } | 3956 } |
| 3959 buildCounterWorkerHealthReportResponse--; | 3957 buildCounterWorkerHealthReportResponse--; |
| 3960 return o; | 3958 return o; |
| 3961 } | 3959 } |
| 3962 | 3960 |
| 3963 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { | 3961 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { |
| 3964 buildCounterWorkerHealthReportResponse++; | 3962 buildCounterWorkerHealthReportResponse++; |
| 3965 if (buildCounterWorkerHealthReportResponse < 3) { | 3963 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3966 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3964 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3967 } | 3965 } |
| 3968 buildCounterWorkerHealthReportResponse--; | 3966 buildCounterWorkerHealthReportResponse--; |
| 3969 } | 3967 } |
| 3970 | 3968 |
| 3971 buildUnnamed3064() { | 3969 buildUnnamed3174() { |
| 3972 var o = new core.Map<core.String, core.String>(); | 3970 var o = new core.Map<core.String, core.String>(); |
| 3973 o["x"] = "foo"; | 3971 o["x"] = "foo"; |
| 3974 o["y"] = "foo"; | 3972 o["y"] = "foo"; |
| 3975 return o; | 3973 return o; |
| 3976 } | 3974 } |
| 3977 | 3975 |
| 3978 checkUnnamed3064(core.Map<core.String, core.String> o) { | 3976 checkUnnamed3174(core.Map<core.String, core.String> o) { |
| 3979 unittest.expect(o, unittest.hasLength(2)); | 3977 unittest.expect(o, unittest.hasLength(2)); |
| 3980 unittest.expect(o["x"], unittest.equals('foo')); | 3978 unittest.expect(o["x"], unittest.equals('foo')); |
| 3981 unittest.expect(o["y"], unittest.equals('foo')); | 3979 unittest.expect(o["y"], unittest.equals('foo')); |
| 3982 } | 3980 } |
| 3983 | 3981 |
| 3984 core.int buildCounterWorkerMessage = 0; | 3982 core.int buildCounterWorkerMessage = 0; |
| 3985 buildWorkerMessage() { | 3983 buildWorkerMessage() { |
| 3986 var o = new api.WorkerMessage(); | 3984 var o = new api.WorkerMessage(); |
| 3987 buildCounterWorkerMessage++; | 3985 buildCounterWorkerMessage++; |
| 3988 if (buildCounterWorkerMessage < 3) { | 3986 if (buildCounterWorkerMessage < 3) { |
| 3989 o.labels = buildUnnamed3064(); | 3987 o.labels = buildUnnamed3174(); |
| 3990 o.time = "foo"; | 3988 o.time = "foo"; |
| 3991 o.workerHealthReport = buildWorkerHealthReport(); | 3989 o.workerHealthReport = buildWorkerHealthReport(); |
| 3992 o.workerMessageCode = buildWorkerMessageCode(); | 3990 o.workerMessageCode = buildWorkerMessageCode(); |
| 3993 o.workerMetrics = buildResourceUtilizationReport(); | 3991 o.workerMetrics = buildResourceUtilizationReport(); |
| 3994 } | 3992 } |
| 3995 buildCounterWorkerMessage--; | 3993 buildCounterWorkerMessage--; |
| 3996 return o; | 3994 return o; |
| 3997 } | 3995 } |
| 3998 | 3996 |
| 3999 checkWorkerMessage(api.WorkerMessage o) { | 3997 checkWorkerMessage(api.WorkerMessage o) { |
| 4000 buildCounterWorkerMessage++; | 3998 buildCounterWorkerMessage++; |
| 4001 if (buildCounterWorkerMessage < 3) { | 3999 if (buildCounterWorkerMessage < 3) { |
| 4002 checkUnnamed3064(o.labels); | 4000 checkUnnamed3174(o.labels); |
| 4003 unittest.expect(o.time, unittest.equals('foo')); | 4001 unittest.expect(o.time, unittest.equals('foo')); |
| 4004 checkWorkerHealthReport(o.workerHealthReport); | 4002 checkWorkerHealthReport(o.workerHealthReport); |
| 4005 checkWorkerMessageCode(o.workerMessageCode); | 4003 checkWorkerMessageCode(o.workerMessageCode); |
| 4006 checkResourceUtilizationReport(o.workerMetrics); | 4004 checkResourceUtilizationReport(o.workerMetrics); |
| 4007 } | 4005 } |
| 4008 buildCounterWorkerMessage--; | 4006 buildCounterWorkerMessage--; |
| 4009 } | 4007 } |
| 4010 | 4008 |
| 4011 buildUnnamed3065() { | 4009 buildUnnamed3175() { |
| 4012 var o = new core.Map<core.String, core.Object>(); | 4010 var o = new core.Map<core.String, core.Object>(); |
| 4013 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 4011 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 4014 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 4012 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 4015 return o; | 4013 return o; |
| 4016 } | 4014 } |
| 4017 | 4015 |
| 4018 checkUnnamed3065(core.Map<core.String, core.Object> o) { | 4016 checkUnnamed3175(core.Map<core.String, core.Object> o) { |
| 4019 unittest.expect(o, unittest.hasLength(2)); | 4017 unittest.expect(o, unittest.hasLength(2)); |
| 4020 var casted45 = (o["x"]) 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')); | 4018 var casted45 = (o["x"]) 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')); |
| 4021 var casted46 = (o["y"]) 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')); | 4019 var casted46 = (o["y"]) 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')); |
| 4022 } | 4020 } |
| 4023 | 4021 |
| 4024 core.int buildCounterWorkerMessageCode = 0; | 4022 core.int buildCounterWorkerMessageCode = 0; |
| 4025 buildWorkerMessageCode() { | 4023 buildWorkerMessageCode() { |
| 4026 var o = new api.WorkerMessageCode(); | 4024 var o = new api.WorkerMessageCode(); |
| 4027 buildCounterWorkerMessageCode++; | 4025 buildCounterWorkerMessageCode++; |
| 4028 if (buildCounterWorkerMessageCode < 3) { | 4026 if (buildCounterWorkerMessageCode < 3) { |
| 4029 o.code = "foo"; | 4027 o.code = "foo"; |
| 4030 o.parameters = buildUnnamed3065(); | 4028 o.parameters = buildUnnamed3175(); |
| 4031 } | 4029 } |
| 4032 buildCounterWorkerMessageCode--; | 4030 buildCounterWorkerMessageCode--; |
| 4033 return o; | 4031 return o; |
| 4034 } | 4032 } |
| 4035 | 4033 |
| 4036 checkWorkerMessageCode(api.WorkerMessageCode o) { | 4034 checkWorkerMessageCode(api.WorkerMessageCode o) { |
| 4037 buildCounterWorkerMessageCode++; | 4035 buildCounterWorkerMessageCode++; |
| 4038 if (buildCounterWorkerMessageCode < 3) { | 4036 if (buildCounterWorkerMessageCode < 3) { |
| 4039 unittest.expect(o.code, unittest.equals('foo')); | 4037 unittest.expect(o.code, unittest.equals('foo')); |
| 4040 checkUnnamed3065(o.parameters); | 4038 checkUnnamed3175(o.parameters); |
| 4041 } | 4039 } |
| 4042 buildCounterWorkerMessageCode--; | 4040 buildCounterWorkerMessageCode--; |
| 4043 } | 4041 } |
| 4044 | 4042 |
| 4045 core.int buildCounterWorkerMessageResponse = 0; | 4043 core.int buildCounterWorkerMessageResponse = 0; |
| 4046 buildWorkerMessageResponse() { | 4044 buildWorkerMessageResponse() { |
| 4047 var o = new api.WorkerMessageResponse(); | 4045 var o = new api.WorkerMessageResponse(); |
| 4048 buildCounterWorkerMessageResponse++; | 4046 buildCounterWorkerMessageResponse++; |
| 4049 if (buildCounterWorkerMessageResponse < 3) { | 4047 if (buildCounterWorkerMessageResponse < 3) { |
| 4050 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); | 4048 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); |
| 4051 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); | 4049 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); |
| 4052 } | 4050 } |
| 4053 buildCounterWorkerMessageResponse--; | 4051 buildCounterWorkerMessageResponse--; |
| 4054 return o; | 4052 return o; |
| 4055 } | 4053 } |
| 4056 | 4054 |
| 4057 checkWorkerMessageResponse(api.WorkerMessageResponse o) { | 4055 checkWorkerMessageResponse(api.WorkerMessageResponse o) { |
| 4058 buildCounterWorkerMessageResponse++; | 4056 buildCounterWorkerMessageResponse++; |
| 4059 if (buildCounterWorkerMessageResponse < 3) { | 4057 if (buildCounterWorkerMessageResponse < 3) { |
| 4060 checkWorkerHealthReportResponse(o.workerHealthReportResponse); | 4058 checkWorkerHealthReportResponse(o.workerHealthReportResponse); |
| 4061 checkResourceUtilizationReportResponse(o.workerMetricsResponse); | 4059 checkResourceUtilizationReportResponse(o.workerMetricsResponse); |
| 4062 } | 4060 } |
| 4063 buildCounterWorkerMessageResponse--; | 4061 buildCounterWorkerMessageResponse--; |
| 4064 } | 4062 } |
| 4065 | 4063 |
| 4066 buildUnnamed3066() { | 4064 buildUnnamed3176() { |
| 4067 var o = new core.List<api.Disk>(); | 4065 var o = new core.List<api.Disk>(); |
| 4068 o.add(buildDisk()); | 4066 o.add(buildDisk()); |
| 4069 o.add(buildDisk()); | 4067 o.add(buildDisk()); |
| 4070 return o; | 4068 return o; |
| 4071 } | 4069 } |
| 4072 | 4070 |
| 4073 checkUnnamed3066(core.List<api.Disk> o) { | 4071 checkUnnamed3176(core.List<api.Disk> o) { |
| 4074 unittest.expect(o, unittest.hasLength(2)); | 4072 unittest.expect(o, unittest.hasLength(2)); |
| 4075 checkDisk(o[0]); | 4073 checkDisk(o[0]); |
| 4076 checkDisk(o[1]); | 4074 checkDisk(o[1]); |
| 4077 } | 4075 } |
| 4078 | 4076 |
| 4079 buildUnnamed3067() { | 4077 buildUnnamed3177() { |
| 4080 var o = new core.Map<core.String, core.String>(); | 4078 var o = new core.Map<core.String, core.String>(); |
| 4081 o["x"] = "foo"; | 4079 o["x"] = "foo"; |
| 4082 o["y"] = "foo"; | 4080 o["y"] = "foo"; |
| 4083 return o; | 4081 return o; |
| 4084 } | 4082 } |
| 4085 | 4083 |
| 4086 checkUnnamed3067(core.Map<core.String, core.String> o) { | 4084 checkUnnamed3177(core.Map<core.String, core.String> o) { |
| 4087 unittest.expect(o, unittest.hasLength(2)); | 4085 unittest.expect(o, unittest.hasLength(2)); |
| 4088 unittest.expect(o["x"], unittest.equals('foo')); | 4086 unittest.expect(o["x"], unittest.equals('foo')); |
| 4089 unittest.expect(o["y"], unittest.equals('foo')); | 4087 unittest.expect(o["y"], unittest.equals('foo')); |
| 4090 } | 4088 } |
| 4091 | 4089 |
| 4092 buildUnnamed3068() { | 4090 buildUnnamed3178() { |
| 4093 var o = new core.List<api.Package>(); | 4091 var o = new core.List<api.Package>(); |
| 4094 o.add(buildPackage()); | 4092 o.add(buildPackage()); |
| 4095 o.add(buildPackage()); | 4093 o.add(buildPackage()); |
| 4096 return o; | 4094 return o; |
| 4097 } | 4095 } |
| 4098 | 4096 |
| 4099 checkUnnamed3068(core.List<api.Package> o) { | 4097 checkUnnamed3178(core.List<api.Package> o) { |
| 4100 unittest.expect(o, unittest.hasLength(2)); | 4098 unittest.expect(o, unittest.hasLength(2)); |
| 4101 checkPackage(o[0]); | 4099 checkPackage(o[0]); |
| 4102 checkPackage(o[1]); | 4100 checkPackage(o[1]); |
| 4103 } | 4101 } |
| 4104 | 4102 |
| 4105 buildUnnamed3069() { | 4103 buildUnnamed3179() { |
| 4106 var o = new core.Map<core.String, core.Object>(); | 4104 var o = new core.Map<core.String, core.Object>(); |
| 4107 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 4105 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 4108 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 4106 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 4109 return o; | 4107 return o; |
| 4110 } | 4108 } |
| 4111 | 4109 |
| 4112 checkUnnamed3069(core.Map<core.String, core.Object> o) { | 4110 checkUnnamed3179(core.Map<core.String, core.Object> o) { |
| 4113 unittest.expect(o, unittest.hasLength(2)); | 4111 unittest.expect(o, unittest.hasLength(2)); |
| 4114 var casted47 = (o["x"]) 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')); | 4112 var casted47 = (o["x"]) 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')); |
| 4115 var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLen
gth(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["stri
ng"], unittest.equals('foo')); | 4113 var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLen
gth(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["stri
ng"], unittest.equals('foo')); |
| 4116 } | 4114 } |
| 4117 | 4115 |
| 4118 core.int buildCounterWorkerPool = 0; | 4116 core.int buildCounterWorkerPool = 0; |
| 4119 buildWorkerPool() { | 4117 buildWorkerPool() { |
| 4120 var o = new api.WorkerPool(); | 4118 var o = new api.WorkerPool(); |
| 4121 buildCounterWorkerPool++; | 4119 buildCounterWorkerPool++; |
| 4122 if (buildCounterWorkerPool < 3) { | 4120 if (buildCounterWorkerPool < 3) { |
| 4123 o.autoscalingSettings = buildAutoscalingSettings(); | 4121 o.autoscalingSettings = buildAutoscalingSettings(); |
| 4124 o.dataDisks = buildUnnamed3066(); | 4122 o.dataDisks = buildUnnamed3176(); |
| 4125 o.defaultPackageSet = "foo"; | 4123 o.defaultPackageSet = "foo"; |
| 4126 o.diskSizeGb = 42; | 4124 o.diskSizeGb = 42; |
| 4127 o.diskSourceImage = "foo"; | 4125 o.diskSourceImage = "foo"; |
| 4128 o.diskType = "foo"; | 4126 o.diskType = "foo"; |
| 4129 o.ipConfiguration = "foo"; | 4127 o.ipConfiguration = "foo"; |
| 4130 o.kind = "foo"; | 4128 o.kind = "foo"; |
| 4131 o.machineType = "foo"; | 4129 o.machineType = "foo"; |
| 4132 o.metadata = buildUnnamed3067(); | 4130 o.metadata = buildUnnamed3177(); |
| 4133 o.network = "foo"; | 4131 o.network = "foo"; |
| 4134 o.numThreadsPerWorker = 42; | 4132 o.numThreadsPerWorker = 42; |
| 4135 o.numWorkers = 42; | 4133 o.numWorkers = 42; |
| 4136 o.onHostMaintenance = "foo"; | 4134 o.onHostMaintenance = "foo"; |
| 4137 o.packages = buildUnnamed3068(); | 4135 o.packages = buildUnnamed3178(); |
| 4138 o.poolArgs = buildUnnamed3069(); | 4136 o.poolArgs = buildUnnamed3179(); |
| 4139 o.subnetwork = "foo"; | 4137 o.subnetwork = "foo"; |
| 4140 o.taskrunnerSettings = buildTaskRunnerSettings(); | 4138 o.taskrunnerSettings = buildTaskRunnerSettings(); |
| 4141 o.teardownPolicy = "foo"; | 4139 o.teardownPolicy = "foo"; |
| 4142 o.workerHarnessContainerImage = "foo"; | 4140 o.workerHarnessContainerImage = "foo"; |
| 4143 o.zone = "foo"; | 4141 o.zone = "foo"; |
| 4144 } | 4142 } |
| 4145 buildCounterWorkerPool--; | 4143 buildCounterWorkerPool--; |
| 4146 return o; | 4144 return o; |
| 4147 } | 4145 } |
| 4148 | 4146 |
| 4149 checkWorkerPool(api.WorkerPool o) { | 4147 checkWorkerPool(api.WorkerPool o) { |
| 4150 buildCounterWorkerPool++; | 4148 buildCounterWorkerPool++; |
| 4151 if (buildCounterWorkerPool < 3) { | 4149 if (buildCounterWorkerPool < 3) { |
| 4152 checkAutoscalingSettings(o.autoscalingSettings); | 4150 checkAutoscalingSettings(o.autoscalingSettings); |
| 4153 checkUnnamed3066(o.dataDisks); | 4151 checkUnnamed3176(o.dataDisks); |
| 4154 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); | 4152 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); |
| 4155 unittest.expect(o.diskSizeGb, unittest.equals(42)); | 4153 unittest.expect(o.diskSizeGb, unittest.equals(42)); |
| 4156 unittest.expect(o.diskSourceImage, unittest.equals('foo')); | 4154 unittest.expect(o.diskSourceImage, unittest.equals('foo')); |
| 4157 unittest.expect(o.diskType, unittest.equals('foo')); | 4155 unittest.expect(o.diskType, unittest.equals('foo')); |
| 4158 unittest.expect(o.ipConfiguration, unittest.equals('foo')); | 4156 unittest.expect(o.ipConfiguration, unittest.equals('foo')); |
| 4159 unittest.expect(o.kind, unittest.equals('foo')); | 4157 unittest.expect(o.kind, unittest.equals('foo')); |
| 4160 unittest.expect(o.machineType, unittest.equals('foo')); | 4158 unittest.expect(o.machineType, unittest.equals('foo')); |
| 4161 checkUnnamed3067(o.metadata); | 4159 checkUnnamed3177(o.metadata); |
| 4162 unittest.expect(o.network, unittest.equals('foo')); | 4160 unittest.expect(o.network, unittest.equals('foo')); |
| 4163 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); | 4161 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); |
| 4164 unittest.expect(o.numWorkers, unittest.equals(42)); | 4162 unittest.expect(o.numWorkers, unittest.equals(42)); |
| 4165 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); | 4163 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); |
| 4166 checkUnnamed3068(o.packages); | 4164 checkUnnamed3178(o.packages); |
| 4167 checkUnnamed3069(o.poolArgs); | 4165 checkUnnamed3179(o.poolArgs); |
| 4168 unittest.expect(o.subnetwork, unittest.equals('foo')); | 4166 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 4169 checkTaskRunnerSettings(o.taskrunnerSettings); | 4167 checkTaskRunnerSettings(o.taskrunnerSettings); |
| 4170 unittest.expect(o.teardownPolicy, unittest.equals('foo')); | 4168 unittest.expect(o.teardownPolicy, unittest.equals('foo')); |
| 4171 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); | 4169 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); |
| 4172 unittest.expect(o.zone, unittest.equals('foo')); | 4170 unittest.expect(o.zone, unittest.equals('foo')); |
| 4173 } | 4171 } |
| 4174 buildCounterWorkerPool--; | 4172 buildCounterWorkerPool--; |
| 4175 } | 4173 } |
| 4176 | 4174 |
| 4177 core.int buildCounterWorkerSettings = 0; | 4175 core.int buildCounterWorkerSettings = 0; |
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5408 checkJob(response); | 5406 checkJob(response); |
| 5409 }))); | 5407 }))); |
| 5410 }); | 5408 }); |
| 5411 | 5409 |
| 5412 unittest.test("method--get", () { | 5410 unittest.test("method--get", () { |
| 5413 | 5411 |
| 5414 var mock = new HttpServerMock(); | 5412 var mock = new HttpServerMock(); |
| 5415 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 5413 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 5416 var arg_projectId = "foo"; | 5414 var arg_projectId = "foo"; |
| 5417 var arg_jobId = "foo"; | 5415 var arg_jobId = "foo"; |
| 5416 var arg_view = "foo"; |
| 5418 var arg_location = "foo"; | 5417 var arg_location = "foo"; |
| 5419 var arg_view = "foo"; | |
| 5420 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5418 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5421 var path = (req.url).path; | 5419 var path = (req.url).path; |
| 5422 var pathOffset = 0; | 5420 var pathOffset = 0; |
| 5423 var index; | 5421 var index; |
| 5424 var subPart; | 5422 var subPart; |
| 5425 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5423 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5426 pathOffset += 1; | 5424 pathOffset += 1; |
| 5427 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 5425 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5428 pathOffset += 14; | 5426 pathOffset += 14; |
| 5429 index = path.indexOf("/jobs/", pathOffset); | 5427 index = path.indexOf("/jobs/", pathOffset); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5446 if (n == "false") return false; | 5444 if (n == "false") return false; |
| 5447 if (n == null) return null; | 5445 if (n == null) return null; |
| 5448 throw new core.ArgumentError("Invalid boolean: $n"); | 5446 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5449 } | 5447 } |
| 5450 if (query.length > 0) { | 5448 if (query.length > 0) { |
| 5451 for (var part in query.split("&")) { | 5449 for (var part in query.split("&")) { |
| 5452 var keyvalue = part.split("="); | 5450 var keyvalue = part.split("="); |
| 5453 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5451 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5454 } | 5452 } |
| 5455 } | 5453 } |
| 5454 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 5456 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | 5455 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 5457 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | |
| 5458 | 5456 |
| 5459 | 5457 |
| 5460 var h = { | 5458 var h = { |
| 5461 "content-type" : "application/json; charset=utf-8", | 5459 "content-type" : "application/json; charset=utf-8", |
| 5462 }; | 5460 }; |
| 5463 var resp = convert.JSON.encode(buildJob()); | 5461 var resp = convert.JSON.encode(buildJob()); |
| 5464 return new async.Future.value(stringResponse(200, h, resp)); | 5462 return new async.Future.value(stringResponse(200, h, resp)); |
| 5465 }), true); | 5463 }), true); |
| 5466 res.get(arg_projectId, arg_jobId, location: arg_location, view: arg_view).
then(unittest.expectAsync(((api.Job response) { | 5464 res.get(arg_projectId, arg_jobId, view: arg_view, location: arg_location).
then(unittest.expectAsync(((api.Job response) { |
| 5467 checkJob(response); | 5465 checkJob(response); |
| 5468 }))); | 5466 }))); |
| 5469 }); | 5467 }); |
| 5470 | 5468 |
| 5471 unittest.test("method--getMetrics", () { | 5469 unittest.test("method--getMetrics", () { |
| 5472 | 5470 |
| 5473 var mock = new HttpServerMock(); | 5471 var mock = new HttpServerMock(); |
| 5474 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 5472 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 5475 var arg_projectId = "foo"; | 5473 var arg_projectId = "foo"; |
| 5476 var arg_jobId = "foo"; | 5474 var arg_jobId = "foo"; |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5786 }); | 5784 }); |
| 5787 | 5785 |
| 5788 | 5786 |
| 5789 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { | 5787 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { |
| 5790 unittest.test("method--list", () { | 5788 unittest.test("method--list", () { |
| 5791 | 5789 |
| 5792 var mock = new HttpServerMock(); | 5790 var mock = new HttpServerMock(); |
| 5793 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; | 5791 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; |
| 5794 var arg_projectId = "foo"; | 5792 var arg_projectId = "foo"; |
| 5795 var arg_jobId = "foo"; | 5793 var arg_jobId = "foo"; |
| 5796 var arg_startTime = "foo"; | |
| 5797 var arg_pageToken = "foo"; | |
| 5798 var arg_pageSize = 42; | 5794 var arg_pageSize = 42; |
| 5799 var arg_minimumImportance = "foo"; | 5795 var arg_minimumImportance = "foo"; |
| 5796 var arg_endTime = "foo"; |
| 5800 var arg_location = "foo"; | 5797 var arg_location = "foo"; |
| 5801 var arg_endTime = "foo"; | 5798 var arg_pageToken = "foo"; |
| 5799 var arg_startTime = "foo"; |
| 5802 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5800 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5803 var path = (req.url).path; | 5801 var path = (req.url).path; |
| 5804 var pathOffset = 0; | 5802 var pathOffset = 0; |
| 5805 var index; | 5803 var index; |
| 5806 var subPart; | 5804 var subPart; |
| 5807 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5805 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5808 pathOffset += 1; | 5806 pathOffset += 1; |
| 5809 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 5807 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5810 pathOffset += 14; | 5808 pathOffset += 14; |
| 5811 index = path.indexOf("/jobs/", pathOffset); | 5809 index = path.indexOf("/jobs/", pathOffset); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5832 if (n == "false") return false; | 5830 if (n == "false") return false; |
| 5833 if (n == null) return null; | 5831 if (n == null) return null; |
| 5834 throw new core.ArgumentError("Invalid boolean: $n"); | 5832 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5835 } | 5833 } |
| 5836 if (query.length > 0) { | 5834 if (query.length > 0) { |
| 5837 for (var part in query.split("&")) { | 5835 for (var part in query.split("&")) { |
| 5838 var keyvalue = part.split("="); | 5836 var keyvalue = part.split("="); |
| 5839 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5837 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5840 } | 5838 } |
| 5841 } | 5839 } |
| 5842 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); | |
| 5843 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
| 5844 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 5840 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5845 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); | 5841 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); |
| 5842 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; |
| 5846 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | 5843 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 5847 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; | 5844 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5845 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); |
| 5848 | 5846 |
| 5849 | 5847 |
| 5850 var h = { | 5848 var h = { |
| 5851 "content-type" : "application/json; charset=utf-8", | 5849 "content-type" : "application/json; charset=utf-8", |
| 5852 }; | 5850 }; |
| 5853 var resp = convert.JSON.encode(buildListJobMessagesResponse()); | 5851 var resp = convert.JSON.encode(buildListJobMessagesResponse()); |
| 5854 return new async.Future.value(stringResponse(200, h, resp)); | 5852 return new async.Future.value(stringResponse(200, h, resp)); |
| 5855 }), true); | 5853 }), true); |
| 5856 res.list(arg_projectId, arg_jobId, startTime: arg_startTime, pageToken: ar
g_pageToken, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance, l
ocation: arg_location, endTime: arg_endTime).then(unittest.expectAsync(((api.Lis
tJobMessagesResponse response) { | 5854 res.list(arg_projectId, arg_jobId, pageSize: arg_pageSize, minimumImportan
ce: arg_minimumImportance, endTime: arg_endTime, location: arg_location, pageTok
en: arg_pageToken, startTime: arg_startTime).then(unittest.expectAsync(((api.Lis
tJobMessagesResponse response) { |
| 5857 checkListJobMessagesResponse(response); | 5855 checkListJobMessagesResponse(response); |
| 5858 }))); | 5856 }))); |
| 5859 }); | 5857 }); |
| 5860 | 5858 |
| 5861 }); | 5859 }); |
| 5862 | 5860 |
| 5863 | 5861 |
| 5864 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () { | 5862 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () { |
| 5865 unittest.test("method--lease", () { | 5863 unittest.test("method--lease", () { |
| 5866 | 5864 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5992 | 5990 |
| 5993 | 5991 |
| 5994 unittest.group("resource-ProjectsLocationsJobsResourceApi", () { | 5992 unittest.group("resource-ProjectsLocationsJobsResourceApi", () { |
| 5995 unittest.test("method--create", () { | 5993 unittest.test("method--create", () { |
| 5996 | 5994 |
| 5997 var mock = new HttpServerMock(); | 5995 var mock = new HttpServerMock(); |
| 5998 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 5996 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 5999 var arg_request = buildJob(); | 5997 var arg_request = buildJob(); |
| 6000 var arg_projectId = "foo"; | 5998 var arg_projectId = "foo"; |
| 6001 var arg_location = "foo"; | 5999 var arg_location = "foo"; |
| 6000 var arg_view = "foo"; |
| 6002 var arg_replaceJobId = "foo"; | 6001 var arg_replaceJobId = "foo"; |
| 6003 var arg_view = "foo"; | |
| 6004 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6002 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6005 var obj = new api.Job.fromJson(json); | 6003 var obj = new api.Job.fromJson(json); |
| 6006 checkJob(obj); | 6004 checkJob(obj); |
| 6007 | 6005 |
| 6008 var path = (req.url).path; | 6006 var path = (req.url).path; |
| 6009 var pathOffset = 0; | 6007 var pathOffset = 0; |
| 6010 var index; | 6008 var index; |
| 6011 var subPart; | 6009 var subPart; |
| 6012 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 6013 pathOffset += 1; | 6011 pathOffset += 1; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6037 if (n == "false") return false; | 6035 if (n == "false") return false; |
| 6038 if (n == null) return null; | 6036 if (n == null) return null; |
| 6039 throw new core.ArgumentError("Invalid boolean: $n"); | 6037 throw new core.ArgumentError("Invalid boolean: $n"); |
| 6040 } | 6038 } |
| 6041 if (query.length > 0) { | 6039 if (query.length > 0) { |
| 6042 for (var part in query.split("&")) { | 6040 for (var part in query.split("&")) { |
| 6043 var keyvalue = part.split("="); | 6041 var keyvalue = part.split("="); |
| 6044 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6042 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 6045 } | 6043 } |
| 6046 } | 6044 } |
| 6045 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 6047 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl
aceJobId)); | 6046 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl
aceJobId)); |
| 6048 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | |
| 6049 | 6047 |
| 6050 | 6048 |
| 6051 var h = { | 6049 var h = { |
| 6052 "content-type" : "application/json; charset=utf-8", | 6050 "content-type" : "application/json; charset=utf-8", |
| 6053 }; | 6051 }; |
| 6054 var resp = convert.JSON.encode(buildJob()); | 6052 var resp = convert.JSON.encode(buildJob()); |
| 6055 return new async.Future.value(stringResponse(200, h, resp)); | 6053 return new async.Future.value(stringResponse(200, h, resp)); |
| 6056 }), true); | 6054 }), true); |
| 6057 res.create(arg_request, arg_projectId, arg_location, replaceJobId: arg_rep
laceJobId, view: arg_view).then(unittest.expectAsync(((api.Job response) { | 6055 res.create(arg_request, arg_projectId, arg_location, view: arg_view, repla
ceJobId: arg_replaceJobId).then(unittest.expectAsync(((api.Job response) { |
| 6058 checkJob(response); | 6056 checkJob(response); |
| 6059 }))); | 6057 }))); |
| 6060 }); | 6058 }); |
| 6061 | 6059 |
| 6062 unittest.test("method--get", () { | 6060 unittest.test("method--get", () { |
| 6063 | 6061 |
| 6064 var mock = new HttpServerMock(); | 6062 var mock = new HttpServerMock(); |
| 6065 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 6063 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 6066 var arg_projectId = "foo"; | 6064 var arg_projectId = "foo"; |
| 6067 var arg_location = "foo"; | 6065 var arg_location = "foo"; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6192 checkJobMetrics(response); | 6190 checkJobMetrics(response); |
| 6193 }))); | 6191 }))); |
| 6194 }); | 6192 }); |
| 6195 | 6193 |
| 6196 unittest.test("method--list", () { | 6194 unittest.test("method--list", () { |
| 6197 | 6195 |
| 6198 var mock = new HttpServerMock(); | 6196 var mock = new HttpServerMock(); |
| 6199 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 6197 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 6200 var arg_projectId = "foo"; | 6198 var arg_projectId = "foo"; |
| 6201 var arg_location = "foo"; | 6199 var arg_location = "foo"; |
| 6200 var arg_pageSize = 42; |
| 6201 var arg_view = "foo"; |
| 6202 var arg_filter = "foo"; | 6202 var arg_filter = "foo"; |
| 6203 var arg_pageToken = "foo"; | 6203 var arg_pageToken = "foo"; |
| 6204 var arg_pageSize = 42; | |
| 6205 var arg_view = "foo"; | |
| 6206 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6204 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6207 var path = (req.url).path; | 6205 var path = (req.url).path; |
| 6208 var pathOffset = 0; | 6206 var pathOffset = 0; |
| 6209 var index; | 6207 var index; |
| 6210 var subPart; | 6208 var subPart; |
| 6211 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6209 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 6212 pathOffset += 1; | 6210 pathOffset += 1; |
| 6213 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 6211 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 6214 pathOffset += 14; | 6212 pathOffset += 14; |
| 6215 index = path.indexOf("/locations/", pathOffset); | 6213 index = path.indexOf("/locations/", pathOffset); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 6236 if (n == "false") return false; | 6234 if (n == "false") return false; |
| 6237 if (n == null) return null; | 6235 if (n == null) return null; |
| 6238 throw new core.ArgumentError("Invalid boolean: $n"); | 6236 throw new core.ArgumentError("Invalid boolean: $n"); |
| 6239 } | 6237 } |
| 6240 if (query.length > 0) { | 6238 if (query.length > 0) { |
| 6241 for (var part in query.split("&")) { | 6239 for (var part in query.split("&")) { |
| 6242 var keyvalue = part.split("="); | 6240 var keyvalue = part.split("="); |
| 6243 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6241 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 6244 } | 6242 } |
| 6245 } | 6243 } |
| 6244 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 6245 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 6246 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 6246 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 6247 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 6247 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 6248 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 6249 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | |
| 6250 | 6248 |
| 6251 | 6249 |
| 6252 var h = { | 6250 var h = { |
| 6253 "content-type" : "application/json; charset=utf-8", | 6251 "content-type" : "application/json; charset=utf-8", |
| 6254 }; | 6252 }; |
| 6255 var resp = convert.JSON.encode(buildListJobsResponse()); | 6253 var resp = convert.JSON.encode(buildListJobsResponse()); |
| 6256 return new async.Future.value(stringResponse(200, h, resp)); | 6254 return new async.Future.value(stringResponse(200, h, resp)); |
| 6257 }), true); | 6255 }), true); |
| 6258 res.list(arg_projectId, arg_location, filter: arg_filter, pageToken: arg_p
ageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((ap
i.ListJobsResponse response) { | 6256 res.list(arg_projectId, arg_location, pageSize: arg_pageSize, view: arg_vi
ew, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((ap
i.ListJobsResponse response) { |
| 6259 checkListJobsResponse(response); | 6257 checkListJobsResponse(response); |
| 6260 }))); | 6258 }))); |
| 6261 }); | 6259 }); |
| 6262 | 6260 |
| 6263 unittest.test("method--update", () { | 6261 unittest.test("method--update", () { |
| 6264 | 6262 |
| 6265 var mock = new HttpServerMock(); | 6263 var mock = new HttpServerMock(); |
| 6266 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 6264 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 6267 var arg_request = buildJob(); | 6265 var arg_request = buildJob(); |
| 6268 var arg_projectId = "foo"; | 6266 var arg_projectId = "foo"; |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6667 checkGetTemplateResponse(response); | 6665 checkGetTemplateResponse(response); |
| 6668 }))); | 6666 }))); |
| 6669 }); | 6667 }); |
| 6670 | 6668 |
| 6671 unittest.test("method--launch", () { | 6669 unittest.test("method--launch", () { |
| 6672 | 6670 |
| 6673 var mock = new HttpServerMock(); | 6671 var mock = new HttpServerMock(); |
| 6674 api.ProjectsTemplatesResourceApi res = new api.DataflowApi(mock).projects.
templates; | 6672 api.ProjectsTemplatesResourceApi res = new api.DataflowApi(mock).projects.
templates; |
| 6675 var arg_request = buildLaunchTemplateParameters(); | 6673 var arg_request = buildLaunchTemplateParameters(); |
| 6676 var arg_projectId = "foo"; | 6674 var arg_projectId = "foo"; |
| 6675 var arg_gcsPath = "foo"; |
| 6677 var arg_dryRun = true; | 6676 var arg_dryRun = true; |
| 6678 var arg_gcsPath = "foo"; | |
| 6679 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6677 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6680 var obj = new api.LaunchTemplateParameters.fromJson(json); | 6678 var obj = new api.LaunchTemplateParameters.fromJson(json); |
| 6681 checkLaunchTemplateParameters(obj); | 6679 checkLaunchTemplateParameters(obj); |
| 6682 | 6680 |
| 6683 var path = (req.url).path; | 6681 var path = (req.url).path; |
| 6684 var pathOffset = 0; | 6682 var pathOffset = 0; |
| 6685 var index; | 6683 var index; |
| 6686 var subPart; | 6684 var subPart; |
| 6687 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6685 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 6688 pathOffset += 1; | 6686 pathOffset += 1; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 6705 if (n == "false") return false; | 6703 if (n == "false") return false; |
| 6706 if (n == null) return null; | 6704 if (n == null) return null; |
| 6707 throw new core.ArgumentError("Invalid boolean: $n"); | 6705 throw new core.ArgumentError("Invalid boolean: $n"); |
| 6708 } | 6706 } |
| 6709 if (query.length > 0) { | 6707 if (query.length > 0) { |
| 6710 for (var part in query.split("&")) { | 6708 for (var part in query.split("&")) { |
| 6711 var keyvalue = part.split("="); | 6709 var keyvalue = part.split("="); |
| 6712 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6710 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 6713 } | 6711 } |
| 6714 } | 6712 } |
| 6713 unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath))
; |
| 6715 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); | 6714 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); |
| 6716 unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath))
; | |
| 6717 | 6715 |
| 6718 | 6716 |
| 6719 var h = { | 6717 var h = { |
| 6720 "content-type" : "application/json; charset=utf-8", | 6718 "content-type" : "application/json; charset=utf-8", |
| 6721 }; | 6719 }; |
| 6722 var resp = convert.JSON.encode(buildLaunchTemplateResponse()); | 6720 var resp = convert.JSON.encode(buildLaunchTemplateResponse()); |
| 6723 return new async.Future.value(stringResponse(200, h, resp)); | 6721 return new async.Future.value(stringResponse(200, h, resp)); |
| 6724 }), true); | 6722 }), true); |
| 6725 res.launch(arg_request, arg_projectId, dryRun: arg_dryRun, gcsPath: arg_gc
sPath).then(unittest.expectAsync(((api.LaunchTemplateResponse response) { | 6723 res.launch(arg_request, arg_projectId, gcsPath: arg_gcsPath, dryRun: arg_d
ryRun).then(unittest.expectAsync(((api.LaunchTemplateResponse response) { |
| 6726 checkLaunchTemplateResponse(response); | 6724 checkLaunchTemplateResponse(response); |
| 6727 }))); | 6725 }))); |
| 6728 }); | 6726 }); |
| 6729 | 6727 |
| 6730 }); | 6728 }); |
| 6731 | 6729 |
| 6732 | 6730 |
| 6733 } | 6731 } |
| 6734 | 6732 |
| OLD | NEW |