| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 checkAutoscalingSettings(api.AutoscalingSettings o) { | 135 checkAutoscalingSettings(api.AutoscalingSettings o) { |
| 136 buildCounterAutoscalingSettings++; | 136 buildCounterAutoscalingSettings++; |
| 137 if (buildCounterAutoscalingSettings < 3) { | 137 if (buildCounterAutoscalingSettings < 3) { |
| 138 unittest.expect(o.algorithm, unittest.equals('foo')); | 138 unittest.expect(o.algorithm, unittest.equals('foo')); |
| 139 unittest.expect(o.maxNumWorkers, unittest.equals(42)); | 139 unittest.expect(o.maxNumWorkers, unittest.equals(42)); |
| 140 } | 140 } |
| 141 buildCounterAutoscalingSettings--; | 141 buildCounterAutoscalingSettings--; |
| 142 } | 142 } |
| 143 | 143 |
| 144 buildUnnamed3082() { | 144 buildUnnamed3490() { |
| 145 var o = new core.List<api.StreamLocation>(); | 145 var o = new core.List<api.StreamLocation>(); |
| 146 o.add(buildStreamLocation()); | 146 o.add(buildStreamLocation()); |
| 147 o.add(buildStreamLocation()); | 147 o.add(buildStreamLocation()); |
| 148 return o; | 148 return o; |
| 149 } | 149 } |
| 150 | 150 |
| 151 checkUnnamed3082(core.List<api.StreamLocation> o) { | 151 checkUnnamed3490(core.List<api.StreamLocation> o) { |
| 152 unittest.expect(o, unittest.hasLength(2)); | 152 unittest.expect(o, unittest.hasLength(2)); |
| 153 checkStreamLocation(o[0]); | 153 checkStreamLocation(o[0]); |
| 154 checkStreamLocation(o[1]); | 154 checkStreamLocation(o[1]); |
| 155 } | 155 } |
| 156 | 156 |
| 157 buildUnnamed3083() { | 157 buildUnnamed3491() { |
| 158 var o = new core.List<api.KeyRangeLocation>(); | 158 var o = new core.List<api.KeyRangeLocation>(); |
| 159 o.add(buildKeyRangeLocation()); | 159 o.add(buildKeyRangeLocation()); |
| 160 o.add(buildKeyRangeLocation()); | 160 o.add(buildKeyRangeLocation()); |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkUnnamed3083(core.List<api.KeyRangeLocation> o) { | 164 checkUnnamed3491(core.List<api.KeyRangeLocation> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
| 166 checkKeyRangeLocation(o[0]); | 166 checkKeyRangeLocation(o[0]); |
| 167 checkKeyRangeLocation(o[1]); | 167 checkKeyRangeLocation(o[1]); |
| 168 } | 168 } |
| 169 | 169 |
| 170 buildUnnamed3084() { | 170 buildUnnamed3492() { |
| 171 var o = new core.List<api.StreamLocation>(); | 171 var o = new core.List<api.StreamLocation>(); |
| 172 o.add(buildStreamLocation()); | 172 o.add(buildStreamLocation()); |
| 173 o.add(buildStreamLocation()); | 173 o.add(buildStreamLocation()); |
| 174 return o; | 174 return o; |
| 175 } | 175 } |
| 176 | 176 |
| 177 checkUnnamed3084(core.List<api.StreamLocation> o) { | 177 checkUnnamed3492(core.List<api.StreamLocation> o) { |
| 178 unittest.expect(o, unittest.hasLength(2)); | 178 unittest.expect(o, unittest.hasLength(2)); |
| 179 checkStreamLocation(o[0]); | 179 checkStreamLocation(o[0]); |
| 180 checkStreamLocation(o[1]); | 180 checkStreamLocation(o[1]); |
| 181 } | 181 } |
| 182 | 182 |
| 183 buildUnnamed3085() { | 183 buildUnnamed3493() { |
| 184 var o = new core.List<api.StateFamilyConfig>(); | 184 var o = new core.List<api.StateFamilyConfig>(); |
| 185 o.add(buildStateFamilyConfig()); | 185 o.add(buildStateFamilyConfig()); |
| 186 o.add(buildStateFamilyConfig()); | 186 o.add(buildStateFamilyConfig()); |
| 187 return o; | 187 return o; |
| 188 } | 188 } |
| 189 | 189 |
| 190 checkUnnamed3085(core.List<api.StateFamilyConfig> o) { | 190 checkUnnamed3493(core.List<api.StateFamilyConfig> o) { |
| 191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
| 192 checkStateFamilyConfig(o[0]); | 192 checkStateFamilyConfig(o[0]); |
| 193 checkStateFamilyConfig(o[1]); | 193 checkStateFamilyConfig(o[1]); |
| 194 } | 194 } |
| 195 | 195 |
| 196 core.int buildCounterComputationTopology = 0; | 196 core.int buildCounterComputationTopology = 0; |
| 197 buildComputationTopology() { | 197 buildComputationTopology() { |
| 198 var o = new api.ComputationTopology(); | 198 var o = new api.ComputationTopology(); |
| 199 buildCounterComputationTopology++; | 199 buildCounterComputationTopology++; |
| 200 if (buildCounterComputationTopology < 3) { | 200 if (buildCounterComputationTopology < 3) { |
| 201 o.computationId = "foo"; | 201 o.computationId = "foo"; |
| 202 o.inputs = buildUnnamed3082(); | 202 o.inputs = buildUnnamed3490(); |
| 203 o.keyRanges = buildUnnamed3083(); | 203 o.keyRanges = buildUnnamed3491(); |
| 204 o.outputs = buildUnnamed3084(); | 204 o.outputs = buildUnnamed3492(); |
| 205 o.stateFamilies = buildUnnamed3085(); | 205 o.stateFamilies = buildUnnamed3493(); |
| 206 o.systemStageName = "foo"; | 206 o.systemStageName = "foo"; |
| 207 o.userStageName = "foo"; | 207 o.userStageName = "foo"; |
| 208 } | 208 } |
| 209 buildCounterComputationTopology--; | 209 buildCounterComputationTopology--; |
| 210 return o; | 210 return o; |
| 211 } | 211 } |
| 212 | 212 |
| 213 checkComputationTopology(api.ComputationTopology o) { | 213 checkComputationTopology(api.ComputationTopology o) { |
| 214 buildCounterComputationTopology++; | 214 buildCounterComputationTopology++; |
| 215 if (buildCounterComputationTopology < 3) { | 215 if (buildCounterComputationTopology < 3) { |
| 216 unittest.expect(o.computationId, unittest.equals('foo')); | 216 unittest.expect(o.computationId, unittest.equals('foo')); |
| 217 checkUnnamed3082(o.inputs); | 217 checkUnnamed3490(o.inputs); |
| 218 checkUnnamed3083(o.keyRanges); | 218 checkUnnamed3491(o.keyRanges); |
| 219 checkUnnamed3084(o.outputs); | 219 checkUnnamed3492(o.outputs); |
| 220 checkUnnamed3085(o.stateFamilies); | 220 checkUnnamed3493(o.stateFamilies); |
| 221 unittest.expect(o.systemStageName, unittest.equals('foo')); | 221 unittest.expect(o.systemStageName, unittest.equals('foo')); |
| 222 unittest.expect(o.userStageName, unittest.equals('foo')); | 222 unittest.expect(o.userStageName, unittest.equals('foo')); |
| 223 } | 223 } |
| 224 buildCounterComputationTopology--; | 224 buildCounterComputationTopology--; |
| 225 } | 225 } |
| 226 | 226 |
| 227 core.int buildCounterConcatPosition = 0; | 227 core.int buildCounterConcatPosition = 0; |
| 228 buildConcatPosition() { | 228 buildConcatPosition() { |
| 229 var o = new api.ConcatPosition(); | 229 var o = new api.ConcatPosition(); |
| 230 buildCounterConcatPosition++; | 230 buildCounterConcatPosition++; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 checkIntegerMean(o.integerMean); | 360 checkIntegerMean(o.integerMean); |
| 361 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')); | 361 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')); |
| 362 checkNameAndKind(o.nameAndKind); | 362 checkNameAndKind(o.nameAndKind); |
| 363 unittest.expect(o.shortId, unittest.equals('foo')); | 363 unittest.expect(o.shortId, unittest.equals('foo')); |
| 364 checkStringList(o.stringList); | 364 checkStringList(o.stringList); |
| 365 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); | 365 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); |
| 366 } | 366 } |
| 367 buildCounterCounterUpdate--; | 367 buildCounterCounterUpdate--; |
| 368 } | 368 } |
| 369 | 369 |
| 370 buildUnnamed3494() { |
| 371 var o = new core.Map<core.String, core.String>(); |
| 372 o["x"] = "foo"; |
| 373 o["y"] = "foo"; |
| 374 return o; |
| 375 } |
| 376 |
| 377 checkUnnamed3494(core.Map<core.String, core.String> o) { |
| 378 unittest.expect(o, unittest.hasLength(2)); |
| 379 unittest.expect(o["x"], unittest.equals('foo')); |
| 380 unittest.expect(o["y"], unittest.equals('foo')); |
| 381 } |
| 382 |
| 383 core.int buildCounterCreateJobFromTemplateRequest = 0; |
| 384 buildCreateJobFromTemplateRequest() { |
| 385 var o = new api.CreateJobFromTemplateRequest(); |
| 386 buildCounterCreateJobFromTemplateRequest++; |
| 387 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 388 o.gcsPath = "foo"; |
| 389 o.parameters = buildUnnamed3494(); |
| 390 } |
| 391 buildCounterCreateJobFromTemplateRequest--; |
| 392 return o; |
| 393 } |
| 394 |
| 395 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { |
| 396 buildCounterCreateJobFromTemplateRequest++; |
| 397 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 398 unittest.expect(o.gcsPath, unittest.equals('foo')); |
| 399 checkUnnamed3494(o.parameters); |
| 400 } |
| 401 buildCounterCreateJobFromTemplateRequest--; |
| 402 } |
| 403 |
| 370 core.int buildCounterCustomSourceLocation = 0; | 404 core.int buildCounterCustomSourceLocation = 0; |
| 371 buildCustomSourceLocation() { | 405 buildCustomSourceLocation() { |
| 372 var o = new api.CustomSourceLocation(); | 406 var o = new api.CustomSourceLocation(); |
| 373 buildCounterCustomSourceLocation++; | 407 buildCounterCustomSourceLocation++; |
| 374 if (buildCounterCustomSourceLocation < 3) { | 408 if (buildCounterCustomSourceLocation < 3) { |
| 375 o.stateful = true; | 409 o.stateful = true; |
| 376 } | 410 } |
| 377 buildCounterCustomSourceLocation--; | 411 buildCounterCustomSourceLocation--; |
| 378 return o; | 412 return o; |
| 379 } | 413 } |
| 380 | 414 |
| 381 checkCustomSourceLocation(api.CustomSourceLocation o) { | 415 checkCustomSourceLocation(api.CustomSourceLocation o) { |
| 382 buildCounterCustomSourceLocation++; | 416 buildCounterCustomSourceLocation++; |
| 383 if (buildCounterCustomSourceLocation < 3) { | 417 if (buildCounterCustomSourceLocation < 3) { |
| 384 unittest.expect(o.stateful, unittest.isTrue); | 418 unittest.expect(o.stateful, unittest.isTrue); |
| 385 } | 419 } |
| 386 buildCounterCustomSourceLocation--; | 420 buildCounterCustomSourceLocation--; |
| 387 } | 421 } |
| 388 | 422 |
| 389 buildUnnamed3086() { | 423 buildUnnamed3495() { |
| 390 var o = new core.List<core.String>(); | 424 var o = new core.List<core.String>(); |
| 391 o.add("foo"); | 425 o.add("foo"); |
| 392 o.add("foo"); | 426 o.add("foo"); |
| 393 return o; | 427 return o; |
| 394 } | 428 } |
| 395 | 429 |
| 396 checkUnnamed3086(core.List<core.String> o) { | 430 checkUnnamed3495(core.List<core.String> o) { |
| 397 unittest.expect(o, unittest.hasLength(2)); | 431 unittest.expect(o, unittest.hasLength(2)); |
| 398 unittest.expect(o[0], unittest.equals('foo')); | 432 unittest.expect(o[0], unittest.equals('foo')); |
| 399 unittest.expect(o[1], unittest.equals('foo')); | 433 unittest.expect(o[1], unittest.equals('foo')); |
| 400 } | 434 } |
| 401 | 435 |
| 402 core.int buildCounterDataDiskAssignment = 0; | 436 core.int buildCounterDataDiskAssignment = 0; |
| 403 buildDataDiskAssignment() { | 437 buildDataDiskAssignment() { |
| 404 var o = new api.DataDiskAssignment(); | 438 var o = new api.DataDiskAssignment(); |
| 405 buildCounterDataDiskAssignment++; | 439 buildCounterDataDiskAssignment++; |
| 406 if (buildCounterDataDiskAssignment < 3) { | 440 if (buildCounterDataDiskAssignment < 3) { |
| 407 o.dataDisks = buildUnnamed3086(); | 441 o.dataDisks = buildUnnamed3495(); |
| 408 o.vmInstance = "foo"; | 442 o.vmInstance = "foo"; |
| 409 } | 443 } |
| 410 buildCounterDataDiskAssignment--; | 444 buildCounterDataDiskAssignment--; |
| 411 return o; | 445 return o; |
| 412 } | 446 } |
| 413 | 447 |
| 414 checkDataDiskAssignment(api.DataDiskAssignment o) { | 448 checkDataDiskAssignment(api.DataDiskAssignment o) { |
| 415 buildCounterDataDiskAssignment++; | 449 buildCounterDataDiskAssignment++; |
| 416 if (buildCounterDataDiskAssignment < 3) { | 450 if (buildCounterDataDiskAssignment < 3) { |
| 417 checkUnnamed3086(o.dataDisks); | 451 checkUnnamed3495(o.dataDisks); |
| 418 unittest.expect(o.vmInstance, unittest.equals('foo')); | 452 unittest.expect(o.vmInstance, unittest.equals('foo')); |
| 419 } | 453 } |
| 420 buildCounterDataDiskAssignment--; | 454 buildCounterDataDiskAssignment--; |
| 421 } | 455 } |
| 422 | 456 |
| 423 core.int buildCounterDerivedSource = 0; | 457 core.int buildCounterDerivedSource = 0; |
| 424 buildDerivedSource() { | 458 buildDerivedSource() { |
| 425 var o = new api.DerivedSource(); | 459 var o = new api.DerivedSource(); |
| 426 buildCounterDerivedSource++; | 460 buildCounterDerivedSource++; |
| 427 if (buildCounterDerivedSource < 3) { | 461 if (buildCounterDerivedSource < 3) { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 512 |
| 479 checkDynamicSourceSplit(api.DynamicSourceSplit o) { | 513 checkDynamicSourceSplit(api.DynamicSourceSplit o) { |
| 480 buildCounterDynamicSourceSplit++; | 514 buildCounterDynamicSourceSplit++; |
| 481 if (buildCounterDynamicSourceSplit < 3) { | 515 if (buildCounterDynamicSourceSplit < 3) { |
| 482 checkDerivedSource(o.primary); | 516 checkDerivedSource(o.primary); |
| 483 checkDerivedSource(o.residual); | 517 checkDerivedSource(o.residual); |
| 484 } | 518 } |
| 485 buildCounterDynamicSourceSplit--; | 519 buildCounterDynamicSourceSplit--; |
| 486 } | 520 } |
| 487 | 521 |
| 488 buildUnnamed3087() { | 522 buildUnnamed3496() { |
| 489 var o = new core.List<core.String>(); | 523 var o = new core.List<core.String>(); |
| 490 o.add("foo"); | 524 o.add("foo"); |
| 491 o.add("foo"); | 525 o.add("foo"); |
| 492 return o; | 526 return o; |
| 493 } | 527 } |
| 494 | 528 |
| 495 checkUnnamed3087(core.List<core.String> o) { | 529 checkUnnamed3496(core.List<core.String> o) { |
| 496 unittest.expect(o, unittest.hasLength(2)); | 530 unittest.expect(o, unittest.hasLength(2)); |
| 497 unittest.expect(o[0], unittest.equals('foo')); | 531 unittest.expect(o[0], unittest.equals('foo')); |
| 498 unittest.expect(o[1], unittest.equals('foo')); | 532 unittest.expect(o[1], unittest.equals('foo')); |
| 499 } | 533 } |
| 500 | 534 |
| 501 buildUnnamed3088() { | 535 buildUnnamed3497() { |
| 502 var o = new core.Map<core.String, core.Object>(); | 536 var o = new core.Map<core.String, core.Object>(); |
| 503 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 537 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 504 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 538 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 505 return o; | 539 return o; |
| 506 } | 540 } |
| 507 | 541 |
| 508 checkUnnamed3088(core.Map<core.String, core.Object> o) { | 542 checkUnnamed3497(core.Map<core.String, core.Object> o) { |
| 509 unittest.expect(o, unittest.hasLength(2)); | 543 unittest.expect(o, unittest.hasLength(2)); |
| 510 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')); | 544 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')); |
| 511 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')); | 545 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')); |
| 512 } | 546 } |
| 513 | 547 |
| 514 buildUnnamed3089() { | 548 buildUnnamed3498() { |
| 515 var o = new core.Map<core.String, core.Object>(); | 549 var o = new core.Map<core.String, core.Object>(); |
| 516 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 550 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 517 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 551 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 518 return o; | 552 return o; |
| 519 } | 553 } |
| 520 | 554 |
| 521 checkUnnamed3089(core.Map<core.String, core.Object> o) { | 555 checkUnnamed3498(core.Map<core.String, core.Object> o) { |
| 522 unittest.expect(o, unittest.hasLength(2)); | 556 unittest.expect(o, unittest.hasLength(2)); |
| 523 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')); | 557 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')); |
| 524 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')); | 558 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')); |
| 525 } | 559 } |
| 526 | 560 |
| 527 buildUnnamed3090() { | 561 buildUnnamed3499() { |
| 528 var o = new core.Map<core.String, core.Object>(); | 562 var o = new core.Map<core.String, core.Object>(); |
| 529 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 563 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 530 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 564 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 531 return o; | 565 return o; |
| 532 } | 566 } |
| 533 | 567 |
| 534 checkUnnamed3090(core.Map<core.String, core.Object> o) { | 568 checkUnnamed3499(core.Map<core.String, core.Object> o) { |
| 535 unittest.expect(o, unittest.hasLength(2)); | 569 unittest.expect(o, unittest.hasLength(2)); |
| 536 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')); | 570 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')); |
| 537 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')); | 571 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')); |
| 538 } | 572 } |
| 539 | 573 |
| 540 buildUnnamed3091() { | 574 buildUnnamed3500() { |
| 541 var o = new core.Map<core.String, core.Object>(); | 575 var o = new core.Map<core.String, core.Object>(); |
| 542 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 576 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 543 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 577 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 544 return o; | 578 return o; |
| 545 } | 579 } |
| 546 | 580 |
| 547 checkUnnamed3091(core.Map<core.String, core.Object> o) { | 581 checkUnnamed3500(core.Map<core.String, core.Object> o) { |
| 548 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
| 549 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')); | 583 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')); |
| 550 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')); | 584 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')); |
| 551 } | 585 } |
| 552 | 586 |
| 553 buildUnnamed3092() { | 587 buildUnnamed3501() { |
| 554 var o = new core.List<api.WorkerPool>(); | 588 var o = new core.List<api.WorkerPool>(); |
| 555 o.add(buildWorkerPool()); | 589 o.add(buildWorkerPool()); |
| 556 o.add(buildWorkerPool()); | 590 o.add(buildWorkerPool()); |
| 557 return o; | 591 return o; |
| 558 } | 592 } |
| 559 | 593 |
| 560 checkUnnamed3092(core.List<api.WorkerPool> o) { | 594 checkUnnamed3501(core.List<api.WorkerPool> o) { |
| 561 unittest.expect(o, unittest.hasLength(2)); | 595 unittest.expect(o, unittest.hasLength(2)); |
| 562 checkWorkerPool(o[0]); | 596 checkWorkerPool(o[0]); |
| 563 checkWorkerPool(o[1]); | 597 checkWorkerPool(o[1]); |
| 564 } | 598 } |
| 565 | 599 |
| 566 core.int buildCounterEnvironment = 0; | 600 core.int buildCounterEnvironment = 0; |
| 567 buildEnvironment() { | 601 buildEnvironment() { |
| 568 var o = new api.Environment(); | 602 var o = new api.Environment(); |
| 569 buildCounterEnvironment++; | 603 buildCounterEnvironment++; |
| 570 if (buildCounterEnvironment < 3) { | 604 if (buildCounterEnvironment < 3) { |
| 571 o.clusterManagerApiService = "foo"; | 605 o.clusterManagerApiService = "foo"; |
| 572 o.dataset = "foo"; | 606 o.dataset = "foo"; |
| 573 o.experiments = buildUnnamed3087(); | 607 o.experiments = buildUnnamed3496(); |
| 574 o.internalExperiments = buildUnnamed3088(); | 608 o.internalExperiments = buildUnnamed3497(); |
| 575 o.sdkPipelineOptions = buildUnnamed3089(); | 609 o.sdkPipelineOptions = buildUnnamed3498(); |
| 576 o.tempStoragePrefix = "foo"; | 610 o.tempStoragePrefix = "foo"; |
| 577 o.userAgent = buildUnnamed3090(); | 611 o.userAgent = buildUnnamed3499(); |
| 578 o.version = buildUnnamed3091(); | 612 o.version = buildUnnamed3500(); |
| 579 o.workerPools = buildUnnamed3092(); | 613 o.workerPools = buildUnnamed3501(); |
| 580 } | 614 } |
| 581 buildCounterEnvironment--; | 615 buildCounterEnvironment--; |
| 582 return o; | 616 return o; |
| 583 } | 617 } |
| 584 | 618 |
| 585 checkEnvironment(api.Environment o) { | 619 checkEnvironment(api.Environment o) { |
| 586 buildCounterEnvironment++; | 620 buildCounterEnvironment++; |
| 587 if (buildCounterEnvironment < 3) { | 621 if (buildCounterEnvironment < 3) { |
| 588 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); | 622 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); |
| 589 unittest.expect(o.dataset, unittest.equals('foo')); | 623 unittest.expect(o.dataset, unittest.equals('foo')); |
| 590 checkUnnamed3087(o.experiments); | 624 checkUnnamed3496(o.experiments); |
| 591 checkUnnamed3088(o.internalExperiments); | 625 checkUnnamed3497(o.internalExperiments); |
| 592 checkUnnamed3089(o.sdkPipelineOptions); | 626 checkUnnamed3498(o.sdkPipelineOptions); |
| 593 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 627 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 594 checkUnnamed3090(o.userAgent); | 628 checkUnnamed3499(o.userAgent); |
| 595 checkUnnamed3091(o.version); | 629 checkUnnamed3500(o.version); |
| 596 checkUnnamed3092(o.workerPools); | 630 checkUnnamed3501(o.workerPools); |
| 597 } | 631 } |
| 598 buildCounterEnvironment--; | 632 buildCounterEnvironment--; |
| 599 } | 633 } |
| 600 | 634 |
| 601 buildUnnamed3093() { | 635 buildUnnamed3502() { |
| 602 var o = new core.List<api.InstructionInput>(); | 636 var o = new core.List<api.InstructionInput>(); |
| 603 o.add(buildInstructionInput()); | 637 o.add(buildInstructionInput()); |
| 604 o.add(buildInstructionInput()); | 638 o.add(buildInstructionInput()); |
| 605 return o; | 639 return o; |
| 606 } | 640 } |
| 607 | 641 |
| 608 checkUnnamed3093(core.List<api.InstructionInput> o) { | 642 checkUnnamed3502(core.List<api.InstructionInput> o) { |
| 609 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
| 610 checkInstructionInput(o[0]); | 644 checkInstructionInput(o[0]); |
| 611 checkInstructionInput(o[1]); | 645 checkInstructionInput(o[1]); |
| 612 } | 646 } |
| 613 | 647 |
| 614 core.int buildCounterFlattenInstruction = 0; | 648 core.int buildCounterFlattenInstruction = 0; |
| 615 buildFlattenInstruction() { | 649 buildFlattenInstruction() { |
| 616 var o = new api.FlattenInstruction(); | 650 var o = new api.FlattenInstruction(); |
| 617 buildCounterFlattenInstruction++; | 651 buildCounterFlattenInstruction++; |
| 618 if (buildCounterFlattenInstruction < 3) { | 652 if (buildCounterFlattenInstruction < 3) { |
| 619 o.inputs = buildUnnamed3093(); | 653 o.inputs = buildUnnamed3502(); |
| 620 } | 654 } |
| 621 buildCounterFlattenInstruction--; | 655 buildCounterFlattenInstruction--; |
| 622 return o; | 656 return o; |
| 623 } | 657 } |
| 624 | 658 |
| 625 checkFlattenInstruction(api.FlattenInstruction o) { | 659 checkFlattenInstruction(api.FlattenInstruction o) { |
| 626 buildCounterFlattenInstruction++; | 660 buildCounterFlattenInstruction++; |
| 627 if (buildCounterFlattenInstruction < 3) { | 661 if (buildCounterFlattenInstruction < 3) { |
| 628 checkUnnamed3093(o.inputs); | 662 checkUnnamed3502(o.inputs); |
| 629 } | 663 } |
| 630 buildCounterFlattenInstruction--; | 664 buildCounterFlattenInstruction--; |
| 631 } | 665 } |
| 632 | 666 |
| 633 buildUnnamed3094() { | 667 buildUnnamed3503() { |
| 634 var o = new core.List<core.double>(); | 668 var o = new core.List<core.double>(); |
| 635 o.add(42.0); | 669 o.add(42.0); |
| 636 o.add(42.0); | 670 o.add(42.0); |
| 637 return o; | 671 return o; |
| 638 } | 672 } |
| 639 | 673 |
| 640 checkUnnamed3094(core.List<core.double> o) { | 674 checkUnnamed3503(core.List<core.double> o) { |
| 641 unittest.expect(o, unittest.hasLength(2)); | 675 unittest.expect(o, unittest.hasLength(2)); |
| 642 unittest.expect(o[0], unittest.equals(42.0)); | 676 unittest.expect(o[0], unittest.equals(42.0)); |
| 643 unittest.expect(o[1], unittest.equals(42.0)); | 677 unittest.expect(o[1], unittest.equals(42.0)); |
| 644 } | 678 } |
| 645 | 679 |
| 646 core.int buildCounterFloatingPointList = 0; | 680 core.int buildCounterFloatingPointList = 0; |
| 647 buildFloatingPointList() { | 681 buildFloatingPointList() { |
| 648 var o = new api.FloatingPointList(); | 682 var o = new api.FloatingPointList(); |
| 649 buildCounterFloatingPointList++; | 683 buildCounterFloatingPointList++; |
| 650 if (buildCounterFloatingPointList < 3) { | 684 if (buildCounterFloatingPointList < 3) { |
| 651 o.elements = buildUnnamed3094(); | 685 o.elements = buildUnnamed3503(); |
| 652 } | 686 } |
| 653 buildCounterFloatingPointList--; | 687 buildCounterFloatingPointList--; |
| 654 return o; | 688 return o; |
| 655 } | 689 } |
| 656 | 690 |
| 657 checkFloatingPointList(api.FloatingPointList o) { | 691 checkFloatingPointList(api.FloatingPointList o) { |
| 658 buildCounterFloatingPointList++; | 692 buildCounterFloatingPointList++; |
| 659 if (buildCounterFloatingPointList < 3) { | 693 if (buildCounterFloatingPointList < 3) { |
| 660 checkUnnamed3094(o.elements); | 694 checkUnnamed3503(o.elements); |
| 661 } | 695 } |
| 662 buildCounterFloatingPointList--; | 696 buildCounterFloatingPointList--; |
| 663 } | 697 } |
| 664 | 698 |
| 665 core.int buildCounterFloatingPointMean = 0; | 699 core.int buildCounterFloatingPointMean = 0; |
| 666 buildFloatingPointMean() { | 700 buildFloatingPointMean() { |
| 667 var o = new api.FloatingPointMean(); | 701 var o = new api.FloatingPointMean(); |
| 668 buildCounterFloatingPointMean++; | 702 buildCounterFloatingPointMean++; |
| 669 if (buildCounterFloatingPointMean < 3) { | 703 if (buildCounterFloatingPointMean < 3) { |
| 670 o.count = buildSplitInt64(); | 704 o.count = buildSplitInt64(); |
| 671 o.sum = 42.0; | 705 o.sum = 42.0; |
| 672 } | 706 } |
| 673 buildCounterFloatingPointMean--; | 707 buildCounterFloatingPointMean--; |
| 674 return o; | 708 return o; |
| 675 } | 709 } |
| 676 | 710 |
| 677 checkFloatingPointMean(api.FloatingPointMean o) { | 711 checkFloatingPointMean(api.FloatingPointMean o) { |
| 678 buildCounterFloatingPointMean++; | 712 buildCounterFloatingPointMean++; |
| 679 if (buildCounterFloatingPointMean < 3) { | 713 if (buildCounterFloatingPointMean < 3) { |
| 680 checkSplitInt64(o.count); | 714 checkSplitInt64(o.count); |
| 681 unittest.expect(o.sum, unittest.equals(42.0)); | 715 unittest.expect(o.sum, unittest.equals(42.0)); |
| 682 } | 716 } |
| 683 buildCounterFloatingPointMean--; | 717 buildCounterFloatingPointMean--; |
| 684 } | 718 } |
| 685 | 719 |
| 720 core.int buildCounterGetDebugConfigRequest = 0; |
| 721 buildGetDebugConfigRequest() { |
| 722 var o = new api.GetDebugConfigRequest(); |
| 723 buildCounterGetDebugConfigRequest++; |
| 724 if (buildCounterGetDebugConfigRequest < 3) { |
| 725 o.componentId = "foo"; |
| 726 o.workerId = "foo"; |
| 727 } |
| 728 buildCounterGetDebugConfigRequest--; |
| 729 return o; |
| 730 } |
| 731 |
| 732 checkGetDebugConfigRequest(api.GetDebugConfigRequest o) { |
| 733 buildCounterGetDebugConfigRequest++; |
| 734 if (buildCounterGetDebugConfigRequest < 3) { |
| 735 unittest.expect(o.componentId, unittest.equals('foo')); |
| 736 unittest.expect(o.workerId, unittest.equals('foo')); |
| 737 } |
| 738 buildCounterGetDebugConfigRequest--; |
| 739 } |
| 740 |
| 741 core.int buildCounterGetDebugConfigResponse = 0; |
| 742 buildGetDebugConfigResponse() { |
| 743 var o = new api.GetDebugConfigResponse(); |
| 744 buildCounterGetDebugConfigResponse++; |
| 745 if (buildCounterGetDebugConfigResponse < 3) { |
| 746 o.config = "foo"; |
| 747 } |
| 748 buildCounterGetDebugConfigResponse--; |
| 749 return o; |
| 750 } |
| 751 |
| 752 checkGetDebugConfigResponse(api.GetDebugConfigResponse o) { |
| 753 buildCounterGetDebugConfigResponse++; |
| 754 if (buildCounterGetDebugConfigResponse < 3) { |
| 755 unittest.expect(o.config, unittest.equals('foo')); |
| 756 } |
| 757 buildCounterGetDebugConfigResponse--; |
| 758 } |
| 759 |
| 686 core.int buildCounterInstructionInput = 0; | 760 core.int buildCounterInstructionInput = 0; |
| 687 buildInstructionInput() { | 761 buildInstructionInput() { |
| 688 var o = new api.InstructionInput(); | 762 var o = new api.InstructionInput(); |
| 689 buildCounterInstructionInput++; | 763 buildCounterInstructionInput++; |
| 690 if (buildCounterInstructionInput < 3) { | 764 if (buildCounterInstructionInput < 3) { |
| 691 o.outputNum = 42; | 765 o.outputNum = 42; |
| 692 o.producerInstructionIndex = 42; | 766 o.producerInstructionIndex = 42; |
| 693 } | 767 } |
| 694 buildCounterInstructionInput--; | 768 buildCounterInstructionInput--; |
| 695 return o; | 769 return o; |
| 696 } | 770 } |
| 697 | 771 |
| 698 checkInstructionInput(api.InstructionInput o) { | 772 checkInstructionInput(api.InstructionInput o) { |
| 699 buildCounterInstructionInput++; | 773 buildCounterInstructionInput++; |
| 700 if (buildCounterInstructionInput < 3) { | 774 if (buildCounterInstructionInput < 3) { |
| 701 unittest.expect(o.outputNum, unittest.equals(42)); | 775 unittest.expect(o.outputNum, unittest.equals(42)); |
| 702 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); | 776 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); |
| 703 } | 777 } |
| 704 buildCounterInstructionInput--; | 778 buildCounterInstructionInput--; |
| 705 } | 779 } |
| 706 | 780 |
| 707 buildUnnamed3095() { | 781 buildUnnamed3504() { |
| 708 var o = new core.Map<core.String, core.Object>(); | 782 var o = new core.Map<core.String, core.Object>(); |
| 709 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 783 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 710 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 784 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 711 return o; | 785 return o; |
| 712 } | 786 } |
| 713 | 787 |
| 714 checkUnnamed3095(core.Map<core.String, core.Object> o) { | 788 checkUnnamed3504(core.Map<core.String, core.Object> o) { |
| 715 unittest.expect(o, unittest.hasLength(2)); | 789 unittest.expect(o, unittest.hasLength(2)); |
| 716 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')); | 790 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')); |
| 717 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')); | 791 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')); |
| 718 } | 792 } |
| 719 | 793 |
| 720 core.int buildCounterInstructionOutput = 0; | 794 core.int buildCounterInstructionOutput = 0; |
| 721 buildInstructionOutput() { | 795 buildInstructionOutput() { |
| 722 var o = new api.InstructionOutput(); | 796 var o = new api.InstructionOutput(); |
| 723 buildCounterInstructionOutput++; | 797 buildCounterInstructionOutput++; |
| 724 if (buildCounterInstructionOutput < 3) { | 798 if (buildCounterInstructionOutput < 3) { |
| 725 o.codec = buildUnnamed3095(); | 799 o.codec = buildUnnamed3504(); |
| 726 o.name = "foo"; | 800 o.name = "foo"; |
| 727 o.onlyCountKeyBytes = true; | 801 o.onlyCountKeyBytes = true; |
| 728 o.onlyCountValueBytes = true; | 802 o.onlyCountValueBytes = true; |
| 729 o.originalName = "foo"; | 803 o.originalName = "foo"; |
| 730 o.systemName = "foo"; | 804 o.systemName = "foo"; |
| 731 } | 805 } |
| 732 buildCounterInstructionOutput--; | 806 buildCounterInstructionOutput--; |
| 733 return o; | 807 return o; |
| 734 } | 808 } |
| 735 | 809 |
| 736 checkInstructionOutput(api.InstructionOutput o) { | 810 checkInstructionOutput(api.InstructionOutput o) { |
| 737 buildCounterInstructionOutput++; | 811 buildCounterInstructionOutput++; |
| 738 if (buildCounterInstructionOutput < 3) { | 812 if (buildCounterInstructionOutput < 3) { |
| 739 checkUnnamed3095(o.codec); | 813 checkUnnamed3504(o.codec); |
| 740 unittest.expect(o.name, unittest.equals('foo')); | 814 unittest.expect(o.name, unittest.equals('foo')); |
| 741 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); | 815 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); |
| 742 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); | 816 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); |
| 743 unittest.expect(o.originalName, unittest.equals('foo')); | 817 unittest.expect(o.originalName, unittest.equals('foo')); |
| 744 unittest.expect(o.systemName, unittest.equals('foo')); | 818 unittest.expect(o.systemName, unittest.equals('foo')); |
| 745 } | 819 } |
| 746 buildCounterInstructionOutput--; | 820 buildCounterInstructionOutput--; |
| 747 } | 821 } |
| 748 | 822 |
| 749 buildUnnamed3096() { | 823 buildUnnamed3505() { |
| 750 var o = new core.List<api.SplitInt64>(); | 824 var o = new core.List<api.SplitInt64>(); |
| 751 o.add(buildSplitInt64()); | 825 o.add(buildSplitInt64()); |
| 752 o.add(buildSplitInt64()); | 826 o.add(buildSplitInt64()); |
| 753 return o; | 827 return o; |
| 754 } | 828 } |
| 755 | 829 |
| 756 checkUnnamed3096(core.List<api.SplitInt64> o) { | 830 checkUnnamed3505(core.List<api.SplitInt64> o) { |
| 757 unittest.expect(o, unittest.hasLength(2)); | 831 unittest.expect(o, unittest.hasLength(2)); |
| 758 checkSplitInt64(o[0]); | 832 checkSplitInt64(o[0]); |
| 759 checkSplitInt64(o[1]); | 833 checkSplitInt64(o[1]); |
| 760 } | 834 } |
| 761 | 835 |
| 762 core.int buildCounterIntegerList = 0; | 836 core.int buildCounterIntegerList = 0; |
| 763 buildIntegerList() { | 837 buildIntegerList() { |
| 764 var o = new api.IntegerList(); | 838 var o = new api.IntegerList(); |
| 765 buildCounterIntegerList++; | 839 buildCounterIntegerList++; |
| 766 if (buildCounterIntegerList < 3) { | 840 if (buildCounterIntegerList < 3) { |
| 767 o.elements = buildUnnamed3096(); | 841 o.elements = buildUnnamed3505(); |
| 768 } | 842 } |
| 769 buildCounterIntegerList--; | 843 buildCounterIntegerList--; |
| 770 return o; | 844 return o; |
| 771 } | 845 } |
| 772 | 846 |
| 773 checkIntegerList(api.IntegerList o) { | 847 checkIntegerList(api.IntegerList o) { |
| 774 buildCounterIntegerList++; | 848 buildCounterIntegerList++; |
| 775 if (buildCounterIntegerList < 3) { | 849 if (buildCounterIntegerList < 3) { |
| 776 checkUnnamed3096(o.elements); | 850 checkUnnamed3505(o.elements); |
| 777 } | 851 } |
| 778 buildCounterIntegerList--; | 852 buildCounterIntegerList--; |
| 779 } | 853 } |
| 780 | 854 |
| 781 core.int buildCounterIntegerMean = 0; | 855 core.int buildCounterIntegerMean = 0; |
| 782 buildIntegerMean() { | 856 buildIntegerMean() { |
| 783 var o = new api.IntegerMean(); | 857 var o = new api.IntegerMean(); |
| 784 buildCounterIntegerMean++; | 858 buildCounterIntegerMean++; |
| 785 if (buildCounterIntegerMean < 3) { | 859 if (buildCounterIntegerMean < 3) { |
| 786 o.count = buildSplitInt64(); | 860 o.count = buildSplitInt64(); |
| 787 o.sum = buildSplitInt64(); | 861 o.sum = buildSplitInt64(); |
| 788 } | 862 } |
| 789 buildCounterIntegerMean--; | 863 buildCounterIntegerMean--; |
| 790 return o; | 864 return o; |
| 791 } | 865 } |
| 792 | 866 |
| 793 checkIntegerMean(api.IntegerMean o) { | 867 checkIntegerMean(api.IntegerMean o) { |
| 794 buildCounterIntegerMean++; | 868 buildCounterIntegerMean++; |
| 795 if (buildCounterIntegerMean < 3) { | 869 if (buildCounterIntegerMean < 3) { |
| 796 checkSplitInt64(o.count); | 870 checkSplitInt64(o.count); |
| 797 checkSplitInt64(o.sum); | 871 checkSplitInt64(o.sum); |
| 798 } | 872 } |
| 799 buildCounterIntegerMean--; | 873 buildCounterIntegerMean--; |
| 800 } | 874 } |
| 801 | 875 |
| 802 buildUnnamed3097() { | 876 buildUnnamed3506() { |
| 803 var o = new core.Map<core.String, core.String>(); | 877 var o = new core.Map<core.String, core.String>(); |
| 804 o["x"] = "foo"; | 878 o["x"] = "foo"; |
| 805 o["y"] = "foo"; | 879 o["y"] = "foo"; |
| 806 return o; | 880 return o; |
| 807 } | 881 } |
| 808 | 882 |
| 809 checkUnnamed3097(core.Map<core.String, core.String> o) { | 883 checkUnnamed3506(core.Map<core.String, core.String> o) { |
| 810 unittest.expect(o, unittest.hasLength(2)); | 884 unittest.expect(o, unittest.hasLength(2)); |
| 811 unittest.expect(o["x"], unittest.equals('foo')); | 885 unittest.expect(o["x"], unittest.equals('foo')); |
| 812 unittest.expect(o["y"], unittest.equals('foo')); | 886 unittest.expect(o["y"], unittest.equals('foo')); |
| 813 } | 887 } |
| 814 | 888 |
| 815 buildUnnamed3098() { | 889 buildUnnamed3507() { |
| 816 var o = new core.List<api.Step>(); | 890 var o = new core.List<api.Step>(); |
| 817 o.add(buildStep()); | 891 o.add(buildStep()); |
| 818 o.add(buildStep()); | 892 o.add(buildStep()); |
| 819 return o; | 893 return o; |
| 820 } | 894 } |
| 821 | 895 |
| 822 checkUnnamed3098(core.List<api.Step> o) { | 896 checkUnnamed3507(core.List<api.Step> o) { |
| 823 unittest.expect(o, unittest.hasLength(2)); | 897 unittest.expect(o, unittest.hasLength(2)); |
| 824 checkStep(o[0]); | 898 checkStep(o[0]); |
| 825 checkStep(o[1]); | 899 checkStep(o[1]); |
| 826 } | 900 } |
| 827 | 901 |
| 828 buildUnnamed3099() { | 902 buildUnnamed3508() { |
| 829 var o = new core.List<core.String>(); | 903 var o = new core.List<core.String>(); |
| 830 o.add("foo"); | 904 o.add("foo"); |
| 831 o.add("foo"); | 905 o.add("foo"); |
| 832 return o; | 906 return o; |
| 833 } | 907 } |
| 834 | 908 |
| 835 checkUnnamed3099(core.List<core.String> o) { | 909 checkUnnamed3508(core.List<core.String> o) { |
| 836 unittest.expect(o, unittest.hasLength(2)); | 910 unittest.expect(o, unittest.hasLength(2)); |
| 837 unittest.expect(o[0], unittest.equals('foo')); | 911 unittest.expect(o[0], unittest.equals('foo')); |
| 838 unittest.expect(o[1], unittest.equals('foo')); | 912 unittest.expect(o[1], unittest.equals('foo')); |
| 839 } | 913 } |
| 840 | 914 |
| 841 buildUnnamed3100() { | 915 buildUnnamed3509() { |
| 842 var o = new core.Map<core.String, core.String>(); | 916 var o = new core.Map<core.String, core.String>(); |
| 843 o["x"] = "foo"; | 917 o["x"] = "foo"; |
| 844 o["y"] = "foo"; | 918 o["y"] = "foo"; |
| 845 return o; | 919 return o; |
| 846 } | 920 } |
| 847 | 921 |
| 848 checkUnnamed3100(core.Map<core.String, core.String> o) { | 922 checkUnnamed3509(core.Map<core.String, core.String> o) { |
| 849 unittest.expect(o, unittest.hasLength(2)); | 923 unittest.expect(o, unittest.hasLength(2)); |
| 850 unittest.expect(o["x"], unittest.equals('foo')); | 924 unittest.expect(o["x"], unittest.equals('foo')); |
| 851 unittest.expect(o["y"], unittest.equals('foo')); | 925 unittest.expect(o["y"], unittest.equals('foo')); |
| 852 } | 926 } |
| 853 | 927 |
| 854 core.int buildCounterJob = 0; | 928 core.int buildCounterJob = 0; |
| 855 buildJob() { | 929 buildJob() { |
| 856 var o = new api.Job(); | 930 var o = new api.Job(); |
| 857 buildCounterJob++; | 931 buildCounterJob++; |
| 858 if (buildCounterJob < 3) { | 932 if (buildCounterJob < 3) { |
| 859 o.clientRequestId = "foo"; | 933 o.clientRequestId = "foo"; |
| 860 o.createTime = "foo"; | 934 o.createTime = "foo"; |
| 861 o.currentState = "foo"; | 935 o.currentState = "foo"; |
| 862 o.currentStateTime = "foo"; | 936 o.currentStateTime = "foo"; |
| 863 o.environment = buildEnvironment(); | 937 o.environment = buildEnvironment(); |
| 864 o.executionInfo = buildJobExecutionInfo(); | 938 o.executionInfo = buildJobExecutionInfo(); |
| 865 o.id = "foo"; | 939 o.id = "foo"; |
| 866 o.labels = buildUnnamed3097(); | 940 o.labels = buildUnnamed3506(); |
| 867 o.name = "foo"; | 941 o.name = "foo"; |
| 868 o.projectId = "foo"; | 942 o.projectId = "foo"; |
| 869 o.replaceJobId = "foo"; | 943 o.replaceJobId = "foo"; |
| 870 o.replacedByJobId = "foo"; | 944 o.replacedByJobId = "foo"; |
| 871 o.requestedState = "foo"; | 945 o.requestedState = "foo"; |
| 872 o.steps = buildUnnamed3098(); | 946 o.steps = buildUnnamed3507(); |
| 873 o.tempFiles = buildUnnamed3099(); | 947 o.tempFiles = buildUnnamed3508(); |
| 874 o.transformNameMapping = buildUnnamed3100(); | 948 o.transformNameMapping = buildUnnamed3509(); |
| 875 o.type = "foo"; | 949 o.type = "foo"; |
| 876 } | 950 } |
| 877 buildCounterJob--; | 951 buildCounterJob--; |
| 878 return o; | 952 return o; |
| 879 } | 953 } |
| 880 | 954 |
| 881 checkJob(api.Job o) { | 955 checkJob(api.Job o) { |
| 882 buildCounterJob++; | 956 buildCounterJob++; |
| 883 if (buildCounterJob < 3) { | 957 if (buildCounterJob < 3) { |
| 884 unittest.expect(o.clientRequestId, unittest.equals('foo')); | 958 unittest.expect(o.clientRequestId, unittest.equals('foo')); |
| 885 unittest.expect(o.createTime, unittest.equals('foo')); | 959 unittest.expect(o.createTime, unittest.equals('foo')); |
| 886 unittest.expect(o.currentState, unittest.equals('foo')); | 960 unittest.expect(o.currentState, unittest.equals('foo')); |
| 887 unittest.expect(o.currentStateTime, unittest.equals('foo')); | 961 unittest.expect(o.currentStateTime, unittest.equals('foo')); |
| 888 checkEnvironment(o.environment); | 962 checkEnvironment(o.environment); |
| 889 checkJobExecutionInfo(o.executionInfo); | 963 checkJobExecutionInfo(o.executionInfo); |
| 890 unittest.expect(o.id, unittest.equals('foo')); | 964 unittest.expect(o.id, unittest.equals('foo')); |
| 891 checkUnnamed3097(o.labels); | 965 checkUnnamed3506(o.labels); |
| 892 unittest.expect(o.name, unittest.equals('foo')); | 966 unittest.expect(o.name, unittest.equals('foo')); |
| 893 unittest.expect(o.projectId, unittest.equals('foo')); | 967 unittest.expect(o.projectId, unittest.equals('foo')); |
| 894 unittest.expect(o.replaceJobId, unittest.equals('foo')); | 968 unittest.expect(o.replaceJobId, unittest.equals('foo')); |
| 895 unittest.expect(o.replacedByJobId, unittest.equals('foo')); | 969 unittest.expect(o.replacedByJobId, unittest.equals('foo')); |
| 896 unittest.expect(o.requestedState, unittest.equals('foo')); | 970 unittest.expect(o.requestedState, unittest.equals('foo')); |
| 897 checkUnnamed3098(o.steps); | 971 checkUnnamed3507(o.steps); |
| 898 checkUnnamed3099(o.tempFiles); | 972 checkUnnamed3508(o.tempFiles); |
| 899 checkUnnamed3100(o.transformNameMapping); | 973 checkUnnamed3509(o.transformNameMapping); |
| 900 unittest.expect(o.type, unittest.equals('foo')); | 974 unittest.expect(o.type, unittest.equals('foo')); |
| 901 } | 975 } |
| 902 buildCounterJob--; | 976 buildCounterJob--; |
| 903 } | 977 } |
| 904 | 978 |
| 905 buildUnnamed3101() { | 979 buildUnnamed3510() { |
| 906 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); | 980 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); |
| 907 o["x"] = buildJobExecutionStageInfo(); | 981 o["x"] = buildJobExecutionStageInfo(); |
| 908 o["y"] = buildJobExecutionStageInfo(); | 982 o["y"] = buildJobExecutionStageInfo(); |
| 909 return o; | 983 return o; |
| 910 } | 984 } |
| 911 | 985 |
| 912 checkUnnamed3101(core.Map<core.String, api.JobExecutionStageInfo> o) { | 986 checkUnnamed3510(core.Map<core.String, api.JobExecutionStageInfo> o) { |
| 913 unittest.expect(o, unittest.hasLength(2)); | 987 unittest.expect(o, unittest.hasLength(2)); |
| 914 checkJobExecutionStageInfo(o["x"]); | 988 checkJobExecutionStageInfo(o["x"]); |
| 915 checkJobExecutionStageInfo(o["y"]); | 989 checkJobExecutionStageInfo(o["y"]); |
| 916 } | 990 } |
| 917 | 991 |
| 918 core.int buildCounterJobExecutionInfo = 0; | 992 core.int buildCounterJobExecutionInfo = 0; |
| 919 buildJobExecutionInfo() { | 993 buildJobExecutionInfo() { |
| 920 var o = new api.JobExecutionInfo(); | 994 var o = new api.JobExecutionInfo(); |
| 921 buildCounterJobExecutionInfo++; | 995 buildCounterJobExecutionInfo++; |
| 922 if (buildCounterJobExecutionInfo < 3) { | 996 if (buildCounterJobExecutionInfo < 3) { |
| 923 o.stages = buildUnnamed3101(); | 997 o.stages = buildUnnamed3510(); |
| 924 } | 998 } |
| 925 buildCounterJobExecutionInfo--; | 999 buildCounterJobExecutionInfo--; |
| 926 return o; | 1000 return o; |
| 927 } | 1001 } |
| 928 | 1002 |
| 929 checkJobExecutionInfo(api.JobExecutionInfo o) { | 1003 checkJobExecutionInfo(api.JobExecutionInfo o) { |
| 930 buildCounterJobExecutionInfo++; | 1004 buildCounterJobExecutionInfo++; |
| 931 if (buildCounterJobExecutionInfo < 3) { | 1005 if (buildCounterJobExecutionInfo < 3) { |
| 932 checkUnnamed3101(o.stages); | 1006 checkUnnamed3510(o.stages); |
| 933 } | 1007 } |
| 934 buildCounterJobExecutionInfo--; | 1008 buildCounterJobExecutionInfo--; |
| 935 } | 1009 } |
| 936 | 1010 |
| 937 buildUnnamed3102() { | 1011 buildUnnamed3511() { |
| 938 var o = new core.List<core.String>(); | 1012 var o = new core.List<core.String>(); |
| 939 o.add("foo"); | 1013 o.add("foo"); |
| 940 o.add("foo"); | 1014 o.add("foo"); |
| 941 return o; | 1015 return o; |
| 942 } | 1016 } |
| 943 | 1017 |
| 944 checkUnnamed3102(core.List<core.String> o) { | 1018 checkUnnamed3511(core.List<core.String> o) { |
| 945 unittest.expect(o, unittest.hasLength(2)); | 1019 unittest.expect(o, unittest.hasLength(2)); |
| 946 unittest.expect(o[0], unittest.equals('foo')); | 1020 unittest.expect(o[0], unittest.equals('foo')); |
| 947 unittest.expect(o[1], unittest.equals('foo')); | 1021 unittest.expect(o[1], unittest.equals('foo')); |
| 948 } | 1022 } |
| 949 | 1023 |
| 950 core.int buildCounterJobExecutionStageInfo = 0; | 1024 core.int buildCounterJobExecutionStageInfo = 0; |
| 951 buildJobExecutionStageInfo() { | 1025 buildJobExecutionStageInfo() { |
| 952 var o = new api.JobExecutionStageInfo(); | 1026 var o = new api.JobExecutionStageInfo(); |
| 953 buildCounterJobExecutionStageInfo++; | 1027 buildCounterJobExecutionStageInfo++; |
| 954 if (buildCounterJobExecutionStageInfo < 3) { | 1028 if (buildCounterJobExecutionStageInfo < 3) { |
| 955 o.stepName = buildUnnamed3102(); | 1029 o.stepName = buildUnnamed3511(); |
| 956 } | 1030 } |
| 957 buildCounterJobExecutionStageInfo--; | 1031 buildCounterJobExecutionStageInfo--; |
| 958 return o; | 1032 return o; |
| 959 } | 1033 } |
| 960 | 1034 |
| 961 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { | 1035 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { |
| 962 buildCounterJobExecutionStageInfo++; | 1036 buildCounterJobExecutionStageInfo++; |
| 963 if (buildCounterJobExecutionStageInfo < 3) { | 1037 if (buildCounterJobExecutionStageInfo < 3) { |
| 964 checkUnnamed3102(o.stepName); | 1038 checkUnnamed3511(o.stepName); |
| 965 } | 1039 } |
| 966 buildCounterJobExecutionStageInfo--; | 1040 buildCounterJobExecutionStageInfo--; |
| 967 } | 1041 } |
| 968 | 1042 |
| 969 core.int buildCounterJobMessage = 0; | 1043 core.int buildCounterJobMessage = 0; |
| 970 buildJobMessage() { | 1044 buildJobMessage() { |
| 971 var o = new api.JobMessage(); | 1045 var o = new api.JobMessage(); |
| 972 buildCounterJobMessage++; | 1046 buildCounterJobMessage++; |
| 973 if (buildCounterJobMessage < 3) { | 1047 if (buildCounterJobMessage < 3) { |
| 974 o.id = "foo"; | 1048 o.id = "foo"; |
| 975 o.messageImportance = "foo"; | 1049 o.messageImportance = "foo"; |
| 976 o.messageText = "foo"; | 1050 o.messageText = "foo"; |
| 977 o.time = "foo"; | 1051 o.time = "foo"; |
| 978 } | 1052 } |
| 979 buildCounterJobMessage--; | 1053 buildCounterJobMessage--; |
| 980 return o; | 1054 return o; |
| 981 } | 1055 } |
| 982 | 1056 |
| 983 checkJobMessage(api.JobMessage o) { | 1057 checkJobMessage(api.JobMessage o) { |
| 984 buildCounterJobMessage++; | 1058 buildCounterJobMessage++; |
| 985 if (buildCounterJobMessage < 3) { | 1059 if (buildCounterJobMessage < 3) { |
| 986 unittest.expect(o.id, unittest.equals('foo')); | 1060 unittest.expect(o.id, unittest.equals('foo')); |
| 987 unittest.expect(o.messageImportance, unittest.equals('foo')); | 1061 unittest.expect(o.messageImportance, unittest.equals('foo')); |
| 988 unittest.expect(o.messageText, unittest.equals('foo')); | 1062 unittest.expect(o.messageText, unittest.equals('foo')); |
| 989 unittest.expect(o.time, unittest.equals('foo')); | 1063 unittest.expect(o.time, unittest.equals('foo')); |
| 990 } | 1064 } |
| 991 buildCounterJobMessage--; | 1065 buildCounterJobMessage--; |
| 992 } | 1066 } |
| 993 | 1067 |
| 994 buildUnnamed3103() { | 1068 buildUnnamed3512() { |
| 995 var o = new core.List<api.MetricUpdate>(); | 1069 var o = new core.List<api.MetricUpdate>(); |
| 996 o.add(buildMetricUpdate()); | 1070 o.add(buildMetricUpdate()); |
| 997 o.add(buildMetricUpdate()); | 1071 o.add(buildMetricUpdate()); |
| 998 return o; | 1072 return o; |
| 999 } | 1073 } |
| 1000 | 1074 |
| 1001 checkUnnamed3103(core.List<api.MetricUpdate> o) { | 1075 checkUnnamed3512(core.List<api.MetricUpdate> o) { |
| 1002 unittest.expect(o, unittest.hasLength(2)); | 1076 unittest.expect(o, unittest.hasLength(2)); |
| 1003 checkMetricUpdate(o[0]); | 1077 checkMetricUpdate(o[0]); |
| 1004 checkMetricUpdate(o[1]); | 1078 checkMetricUpdate(o[1]); |
| 1005 } | 1079 } |
| 1006 | 1080 |
| 1007 core.int buildCounterJobMetrics = 0; | 1081 core.int buildCounterJobMetrics = 0; |
| 1008 buildJobMetrics() { | 1082 buildJobMetrics() { |
| 1009 var o = new api.JobMetrics(); | 1083 var o = new api.JobMetrics(); |
| 1010 buildCounterJobMetrics++; | 1084 buildCounterJobMetrics++; |
| 1011 if (buildCounterJobMetrics < 3) { | 1085 if (buildCounterJobMetrics < 3) { |
| 1012 o.metricTime = "foo"; | 1086 o.metricTime = "foo"; |
| 1013 o.metrics = buildUnnamed3103(); | 1087 o.metrics = buildUnnamed3512(); |
| 1014 } | 1088 } |
| 1015 buildCounterJobMetrics--; | 1089 buildCounterJobMetrics--; |
| 1016 return o; | 1090 return o; |
| 1017 } | 1091 } |
| 1018 | 1092 |
| 1019 checkJobMetrics(api.JobMetrics o) { | 1093 checkJobMetrics(api.JobMetrics o) { |
| 1020 buildCounterJobMetrics++; | 1094 buildCounterJobMetrics++; |
| 1021 if (buildCounterJobMetrics < 3) { | 1095 if (buildCounterJobMetrics < 3) { |
| 1022 unittest.expect(o.metricTime, unittest.equals('foo')); | 1096 unittest.expect(o.metricTime, unittest.equals('foo')); |
| 1023 checkUnnamed3103(o.metrics); | 1097 checkUnnamed3512(o.metrics); |
| 1024 } | 1098 } |
| 1025 buildCounterJobMetrics--; | 1099 buildCounterJobMetrics--; |
| 1026 } | 1100 } |
| 1027 | 1101 |
| 1028 core.int buildCounterKeyRangeDataDiskAssignment = 0; | 1102 core.int buildCounterKeyRangeDataDiskAssignment = 0; |
| 1029 buildKeyRangeDataDiskAssignment() { | 1103 buildKeyRangeDataDiskAssignment() { |
| 1030 var o = new api.KeyRangeDataDiskAssignment(); | 1104 var o = new api.KeyRangeDataDiskAssignment(); |
| 1031 buildCounterKeyRangeDataDiskAssignment++; | 1105 buildCounterKeyRangeDataDiskAssignment++; |
| 1032 if (buildCounterKeyRangeDataDiskAssignment < 3) { | 1106 if (buildCounterKeyRangeDataDiskAssignment < 3) { |
| 1033 o.dataDisk = "foo"; | 1107 o.dataDisk = "foo"; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 if (buildCounterKeyRangeLocation < 3) { | 1142 if (buildCounterKeyRangeLocation < 3) { |
| 1069 unittest.expect(o.dataDisk, unittest.equals('foo')); | 1143 unittest.expect(o.dataDisk, unittest.equals('foo')); |
| 1070 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); | 1144 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); |
| 1071 unittest.expect(o.end, unittest.equals('foo')); | 1145 unittest.expect(o.end, unittest.equals('foo')); |
| 1072 unittest.expect(o.persistentDirectory, unittest.equals('foo')); | 1146 unittest.expect(o.persistentDirectory, unittest.equals('foo')); |
| 1073 unittest.expect(o.start, unittest.equals('foo')); | 1147 unittest.expect(o.start, unittest.equals('foo')); |
| 1074 } | 1148 } |
| 1075 buildCounterKeyRangeLocation--; | 1149 buildCounterKeyRangeLocation--; |
| 1076 } | 1150 } |
| 1077 | 1151 |
| 1078 buildUnnamed3104() { | 1152 buildUnnamed3513() { |
| 1079 var o = new core.List<core.String>(); | 1153 var o = new core.List<core.String>(); |
| 1080 o.add("foo"); | 1154 o.add("foo"); |
| 1081 o.add("foo"); | 1155 o.add("foo"); |
| 1082 return o; | 1156 return o; |
| 1083 } | 1157 } |
| 1084 | 1158 |
| 1085 checkUnnamed3104(core.List<core.String> o) { | 1159 checkUnnamed3513(core.List<core.String> o) { |
| 1086 unittest.expect(o, unittest.hasLength(2)); | 1160 unittest.expect(o, unittest.hasLength(2)); |
| 1087 unittest.expect(o[0], unittest.equals('foo')); | 1161 unittest.expect(o[0], unittest.equals('foo')); |
| 1088 unittest.expect(o[1], unittest.equals('foo')); | 1162 unittest.expect(o[1], unittest.equals('foo')); |
| 1089 } | 1163 } |
| 1090 | 1164 |
| 1091 buildUnnamed3105() { | 1165 buildUnnamed3514() { |
| 1092 var o = new core.List<core.String>(); | 1166 var o = new core.List<core.String>(); |
| 1093 o.add("foo"); | 1167 o.add("foo"); |
| 1094 o.add("foo"); | 1168 o.add("foo"); |
| 1095 return o; | 1169 return o; |
| 1096 } | 1170 } |
| 1097 | 1171 |
| 1098 checkUnnamed3105(core.List<core.String> o) { | 1172 checkUnnamed3514(core.List<core.String> o) { |
| 1099 unittest.expect(o, unittest.hasLength(2)); | 1173 unittest.expect(o, unittest.hasLength(2)); |
| 1100 unittest.expect(o[0], unittest.equals('foo')); | 1174 unittest.expect(o[0], unittest.equals('foo')); |
| 1101 unittest.expect(o[1], unittest.equals('foo')); | 1175 unittest.expect(o[1], unittest.equals('foo')); |
| 1102 } | 1176 } |
| 1103 | 1177 |
| 1104 core.int buildCounterLeaseWorkItemRequest = 0; | 1178 core.int buildCounterLeaseWorkItemRequest = 0; |
| 1105 buildLeaseWorkItemRequest() { | 1179 buildLeaseWorkItemRequest() { |
| 1106 var o = new api.LeaseWorkItemRequest(); | 1180 var o = new api.LeaseWorkItemRequest(); |
| 1107 buildCounterLeaseWorkItemRequest++; | 1181 buildCounterLeaseWorkItemRequest++; |
| 1108 if (buildCounterLeaseWorkItemRequest < 3) { | 1182 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1109 o.currentWorkerTime = "foo"; | 1183 o.currentWorkerTime = "foo"; |
| 1110 o.requestedLeaseDuration = "foo"; | 1184 o.requestedLeaseDuration = "foo"; |
| 1111 o.workItemTypes = buildUnnamed3104(); | 1185 o.workItemTypes = buildUnnamed3513(); |
| 1112 o.workerCapabilities = buildUnnamed3105(); | 1186 o.workerCapabilities = buildUnnamed3514(); |
| 1113 o.workerId = "foo"; | 1187 o.workerId = "foo"; |
| 1114 } | 1188 } |
| 1115 buildCounterLeaseWorkItemRequest--; | 1189 buildCounterLeaseWorkItemRequest--; |
| 1116 return o; | 1190 return o; |
| 1117 } | 1191 } |
| 1118 | 1192 |
| 1119 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { | 1193 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { |
| 1120 buildCounterLeaseWorkItemRequest++; | 1194 buildCounterLeaseWorkItemRequest++; |
| 1121 if (buildCounterLeaseWorkItemRequest < 3) { | 1195 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1122 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1196 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1123 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 1197 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 1124 checkUnnamed3104(o.workItemTypes); | 1198 checkUnnamed3513(o.workItemTypes); |
| 1125 checkUnnamed3105(o.workerCapabilities); | 1199 checkUnnamed3514(o.workerCapabilities); |
| 1126 unittest.expect(o.workerId, unittest.equals('foo')); | 1200 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1127 } | 1201 } |
| 1128 buildCounterLeaseWorkItemRequest--; | 1202 buildCounterLeaseWorkItemRequest--; |
| 1129 } | 1203 } |
| 1130 | 1204 |
| 1131 buildUnnamed3106() { | 1205 buildUnnamed3515() { |
| 1132 var o = new core.List<api.WorkItem>(); | 1206 var o = new core.List<api.WorkItem>(); |
| 1133 o.add(buildWorkItem()); | 1207 o.add(buildWorkItem()); |
| 1134 o.add(buildWorkItem()); | 1208 o.add(buildWorkItem()); |
| 1135 return o; | 1209 return o; |
| 1136 } | 1210 } |
| 1137 | 1211 |
| 1138 checkUnnamed3106(core.List<api.WorkItem> o) { | 1212 checkUnnamed3515(core.List<api.WorkItem> o) { |
| 1139 unittest.expect(o, unittest.hasLength(2)); | 1213 unittest.expect(o, unittest.hasLength(2)); |
| 1140 checkWorkItem(o[0]); | 1214 checkWorkItem(o[0]); |
| 1141 checkWorkItem(o[1]); | 1215 checkWorkItem(o[1]); |
| 1142 } | 1216 } |
| 1143 | 1217 |
| 1144 core.int buildCounterLeaseWorkItemResponse = 0; | 1218 core.int buildCounterLeaseWorkItemResponse = 0; |
| 1145 buildLeaseWorkItemResponse() { | 1219 buildLeaseWorkItemResponse() { |
| 1146 var o = new api.LeaseWorkItemResponse(); | 1220 var o = new api.LeaseWorkItemResponse(); |
| 1147 buildCounterLeaseWorkItemResponse++; | 1221 buildCounterLeaseWorkItemResponse++; |
| 1148 if (buildCounterLeaseWorkItemResponse < 3) { | 1222 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1149 o.workItems = buildUnnamed3106(); | 1223 o.workItems = buildUnnamed3515(); |
| 1150 } | 1224 } |
| 1151 buildCounterLeaseWorkItemResponse--; | 1225 buildCounterLeaseWorkItemResponse--; |
| 1152 return o; | 1226 return o; |
| 1153 } | 1227 } |
| 1154 | 1228 |
| 1155 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { | 1229 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { |
| 1156 buildCounterLeaseWorkItemResponse++; | 1230 buildCounterLeaseWorkItemResponse++; |
| 1157 if (buildCounterLeaseWorkItemResponse < 3) { | 1231 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1158 checkUnnamed3106(o.workItems); | 1232 checkUnnamed3515(o.workItems); |
| 1159 } | 1233 } |
| 1160 buildCounterLeaseWorkItemResponse--; | 1234 buildCounterLeaseWorkItemResponse--; |
| 1161 } | 1235 } |
| 1162 | 1236 |
| 1163 buildUnnamed3107() { | 1237 buildUnnamed3516() { |
| 1164 var o = new core.List<api.JobMessage>(); | 1238 var o = new core.List<api.JobMessage>(); |
| 1165 o.add(buildJobMessage()); | 1239 o.add(buildJobMessage()); |
| 1166 o.add(buildJobMessage()); | 1240 o.add(buildJobMessage()); |
| 1167 return o; | 1241 return o; |
| 1168 } | 1242 } |
| 1169 | 1243 |
| 1170 checkUnnamed3107(core.List<api.JobMessage> o) { | 1244 checkUnnamed3516(core.List<api.JobMessage> o) { |
| 1171 unittest.expect(o, unittest.hasLength(2)); | 1245 unittest.expect(o, unittest.hasLength(2)); |
| 1172 checkJobMessage(o[0]); | 1246 checkJobMessage(o[0]); |
| 1173 checkJobMessage(o[1]); | 1247 checkJobMessage(o[1]); |
| 1174 } | 1248 } |
| 1175 | 1249 |
| 1176 core.int buildCounterListJobMessagesResponse = 0; | 1250 core.int buildCounterListJobMessagesResponse = 0; |
| 1177 buildListJobMessagesResponse() { | 1251 buildListJobMessagesResponse() { |
| 1178 var o = new api.ListJobMessagesResponse(); | 1252 var o = new api.ListJobMessagesResponse(); |
| 1179 buildCounterListJobMessagesResponse++; | 1253 buildCounterListJobMessagesResponse++; |
| 1180 if (buildCounterListJobMessagesResponse < 3) { | 1254 if (buildCounterListJobMessagesResponse < 3) { |
| 1181 o.jobMessages = buildUnnamed3107(); | 1255 o.jobMessages = buildUnnamed3516(); |
| 1182 o.nextPageToken = "foo"; | 1256 o.nextPageToken = "foo"; |
| 1183 } | 1257 } |
| 1184 buildCounterListJobMessagesResponse--; | 1258 buildCounterListJobMessagesResponse--; |
| 1185 return o; | 1259 return o; |
| 1186 } | 1260 } |
| 1187 | 1261 |
| 1188 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { | 1262 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { |
| 1189 buildCounterListJobMessagesResponse++; | 1263 buildCounterListJobMessagesResponse++; |
| 1190 if (buildCounterListJobMessagesResponse < 3) { | 1264 if (buildCounterListJobMessagesResponse < 3) { |
| 1191 checkUnnamed3107(o.jobMessages); | 1265 checkUnnamed3516(o.jobMessages); |
| 1192 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1266 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1193 } | 1267 } |
| 1194 buildCounterListJobMessagesResponse--; | 1268 buildCounterListJobMessagesResponse--; |
| 1195 } | 1269 } |
| 1196 | 1270 |
| 1197 buildUnnamed3108() { | 1271 buildUnnamed3517() { |
| 1198 var o = new core.List<api.Job>(); | 1272 var o = new core.List<api.Job>(); |
| 1199 o.add(buildJob()); | 1273 o.add(buildJob()); |
| 1200 o.add(buildJob()); | 1274 o.add(buildJob()); |
| 1201 return o; | 1275 return o; |
| 1202 } | 1276 } |
| 1203 | 1277 |
| 1204 checkUnnamed3108(core.List<api.Job> o) { | 1278 checkUnnamed3517(core.List<api.Job> o) { |
| 1205 unittest.expect(o, unittest.hasLength(2)); | 1279 unittest.expect(o, unittest.hasLength(2)); |
| 1206 checkJob(o[0]); | 1280 checkJob(o[0]); |
| 1207 checkJob(o[1]); | 1281 checkJob(o[1]); |
| 1208 } | 1282 } |
| 1209 | 1283 |
| 1210 core.int buildCounterListJobsResponse = 0; | 1284 core.int buildCounterListJobsResponse = 0; |
| 1211 buildListJobsResponse() { | 1285 buildListJobsResponse() { |
| 1212 var o = new api.ListJobsResponse(); | 1286 var o = new api.ListJobsResponse(); |
| 1213 buildCounterListJobsResponse++; | 1287 buildCounterListJobsResponse++; |
| 1214 if (buildCounterListJobsResponse < 3) { | 1288 if (buildCounterListJobsResponse < 3) { |
| 1215 o.jobs = buildUnnamed3108(); | 1289 o.jobs = buildUnnamed3517(); |
| 1216 o.nextPageToken = "foo"; | 1290 o.nextPageToken = "foo"; |
| 1217 } | 1291 } |
| 1218 buildCounterListJobsResponse--; | 1292 buildCounterListJobsResponse--; |
| 1219 return o; | 1293 return o; |
| 1220 } | 1294 } |
| 1221 | 1295 |
| 1222 checkListJobsResponse(api.ListJobsResponse o) { | 1296 checkListJobsResponse(api.ListJobsResponse o) { |
| 1223 buildCounterListJobsResponse++; | 1297 buildCounterListJobsResponse++; |
| 1224 if (buildCounterListJobsResponse < 3) { | 1298 if (buildCounterListJobsResponse < 3) { |
| 1225 checkUnnamed3108(o.jobs); | 1299 checkUnnamed3517(o.jobs); |
| 1226 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1300 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1227 } | 1301 } |
| 1228 buildCounterListJobsResponse--; | 1302 buildCounterListJobsResponse--; |
| 1229 } | 1303 } |
| 1230 | 1304 |
| 1231 buildUnnamed3109() { | 1305 buildUnnamed3518() { |
| 1232 var o = new core.List<api.ParallelInstruction>(); | 1306 var o = new core.List<api.ParallelInstruction>(); |
| 1233 o.add(buildParallelInstruction()); | 1307 o.add(buildParallelInstruction()); |
| 1234 o.add(buildParallelInstruction()); | 1308 o.add(buildParallelInstruction()); |
| 1235 return o; | 1309 return o; |
| 1236 } | 1310 } |
| 1237 | 1311 |
| 1238 checkUnnamed3109(core.List<api.ParallelInstruction> o) { | 1312 checkUnnamed3518(core.List<api.ParallelInstruction> o) { |
| 1239 unittest.expect(o, unittest.hasLength(2)); | 1313 unittest.expect(o, unittest.hasLength(2)); |
| 1240 checkParallelInstruction(o[0]); | 1314 checkParallelInstruction(o[0]); |
| 1241 checkParallelInstruction(o[1]); | 1315 checkParallelInstruction(o[1]); |
| 1242 } | 1316 } |
| 1243 | 1317 |
| 1244 core.int buildCounterMapTask = 0; | 1318 core.int buildCounterMapTask = 0; |
| 1245 buildMapTask() { | 1319 buildMapTask() { |
| 1246 var o = new api.MapTask(); | 1320 var o = new api.MapTask(); |
| 1247 buildCounterMapTask++; | 1321 buildCounterMapTask++; |
| 1248 if (buildCounterMapTask < 3) { | 1322 if (buildCounterMapTask < 3) { |
| 1249 o.instructions = buildUnnamed3109(); | 1323 o.instructions = buildUnnamed3518(); |
| 1250 o.stageName = "foo"; | 1324 o.stageName = "foo"; |
| 1251 o.systemName = "foo"; | 1325 o.systemName = "foo"; |
| 1252 } | 1326 } |
| 1253 buildCounterMapTask--; | 1327 buildCounterMapTask--; |
| 1254 return o; | 1328 return o; |
| 1255 } | 1329 } |
| 1256 | 1330 |
| 1257 checkMapTask(api.MapTask o) { | 1331 checkMapTask(api.MapTask o) { |
| 1258 buildCounterMapTask++; | 1332 buildCounterMapTask++; |
| 1259 if (buildCounterMapTask < 3) { | 1333 if (buildCounterMapTask < 3) { |
| 1260 checkUnnamed3109(o.instructions); | 1334 checkUnnamed3518(o.instructions); |
| 1261 unittest.expect(o.stageName, unittest.equals('foo')); | 1335 unittest.expect(o.stageName, unittest.equals('foo')); |
| 1262 unittest.expect(o.systemName, unittest.equals('foo')); | 1336 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1263 } | 1337 } |
| 1264 buildCounterMapTask--; | 1338 buildCounterMapTask--; |
| 1265 } | 1339 } |
| 1266 | 1340 |
| 1267 core.int buildCounterMetricShortId = 0; | 1341 core.int buildCounterMetricShortId = 0; |
| 1268 buildMetricShortId() { | 1342 buildMetricShortId() { |
| 1269 var o = new api.MetricShortId(); | 1343 var o = new api.MetricShortId(); |
| 1270 buildCounterMetricShortId++; | 1344 buildCounterMetricShortId++; |
| 1271 if (buildCounterMetricShortId < 3) { | 1345 if (buildCounterMetricShortId < 3) { |
| 1272 o.metricIndex = 42; | 1346 o.metricIndex = 42; |
| 1273 o.shortId = "foo"; | 1347 o.shortId = "foo"; |
| 1274 } | 1348 } |
| 1275 buildCounterMetricShortId--; | 1349 buildCounterMetricShortId--; |
| 1276 return o; | 1350 return o; |
| 1277 } | 1351 } |
| 1278 | 1352 |
| 1279 checkMetricShortId(api.MetricShortId o) { | 1353 checkMetricShortId(api.MetricShortId o) { |
| 1280 buildCounterMetricShortId++; | 1354 buildCounterMetricShortId++; |
| 1281 if (buildCounterMetricShortId < 3) { | 1355 if (buildCounterMetricShortId < 3) { |
| 1282 unittest.expect(o.metricIndex, unittest.equals(42)); | 1356 unittest.expect(o.metricIndex, unittest.equals(42)); |
| 1283 unittest.expect(o.shortId, unittest.equals('foo')); | 1357 unittest.expect(o.shortId, unittest.equals('foo')); |
| 1284 } | 1358 } |
| 1285 buildCounterMetricShortId--; | 1359 buildCounterMetricShortId--; |
| 1286 } | 1360 } |
| 1287 | 1361 |
| 1288 buildUnnamed3110() { | 1362 buildUnnamed3519() { |
| 1289 var o = new core.Map<core.String, core.String>(); | 1363 var o = new core.Map<core.String, core.String>(); |
| 1290 o["x"] = "foo"; | 1364 o["x"] = "foo"; |
| 1291 o["y"] = "foo"; | 1365 o["y"] = "foo"; |
| 1292 return o; | 1366 return o; |
| 1293 } | 1367 } |
| 1294 | 1368 |
| 1295 checkUnnamed3110(core.Map<core.String, core.String> o) { | 1369 checkUnnamed3519(core.Map<core.String, core.String> o) { |
| 1296 unittest.expect(o, unittest.hasLength(2)); | 1370 unittest.expect(o, unittest.hasLength(2)); |
| 1297 unittest.expect(o["x"], unittest.equals('foo')); | 1371 unittest.expect(o["x"], unittest.equals('foo')); |
| 1298 unittest.expect(o["y"], unittest.equals('foo')); | 1372 unittest.expect(o["y"], unittest.equals('foo')); |
| 1299 } | 1373 } |
| 1300 | 1374 |
| 1301 core.int buildCounterMetricStructuredName = 0; | 1375 core.int buildCounterMetricStructuredName = 0; |
| 1302 buildMetricStructuredName() { | 1376 buildMetricStructuredName() { |
| 1303 var o = new api.MetricStructuredName(); | 1377 var o = new api.MetricStructuredName(); |
| 1304 buildCounterMetricStructuredName++; | 1378 buildCounterMetricStructuredName++; |
| 1305 if (buildCounterMetricStructuredName < 3) { | 1379 if (buildCounterMetricStructuredName < 3) { |
| 1306 o.context = buildUnnamed3110(); | 1380 o.context = buildUnnamed3519(); |
| 1307 o.name = "foo"; | 1381 o.name = "foo"; |
| 1308 o.origin = "foo"; | 1382 o.origin = "foo"; |
| 1309 } | 1383 } |
| 1310 buildCounterMetricStructuredName--; | 1384 buildCounterMetricStructuredName--; |
| 1311 return o; | 1385 return o; |
| 1312 } | 1386 } |
| 1313 | 1387 |
| 1314 checkMetricStructuredName(api.MetricStructuredName o) { | 1388 checkMetricStructuredName(api.MetricStructuredName o) { |
| 1315 buildCounterMetricStructuredName++; | 1389 buildCounterMetricStructuredName++; |
| 1316 if (buildCounterMetricStructuredName < 3) { | 1390 if (buildCounterMetricStructuredName < 3) { |
| 1317 checkUnnamed3110(o.context); | 1391 checkUnnamed3519(o.context); |
| 1318 unittest.expect(o.name, unittest.equals('foo')); | 1392 unittest.expect(o.name, unittest.equals('foo')); |
| 1319 unittest.expect(o.origin, unittest.equals('foo')); | 1393 unittest.expect(o.origin, unittest.equals('foo')); |
| 1320 } | 1394 } |
| 1321 buildCounterMetricStructuredName--; | 1395 buildCounterMetricStructuredName--; |
| 1322 } | 1396 } |
| 1323 | 1397 |
| 1324 core.int buildCounterMetricUpdate = 0; | 1398 core.int buildCounterMetricUpdate = 0; |
| 1325 buildMetricUpdate() { | 1399 buildMetricUpdate() { |
| 1326 var o = new api.MetricUpdate(); | 1400 var o = new api.MetricUpdate(); |
| 1327 buildCounterMetricUpdate++; | 1401 buildCounterMetricUpdate++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 | 1503 |
| 1430 checkPackage(api.Package o) { | 1504 checkPackage(api.Package o) { |
| 1431 buildCounterPackage++; | 1505 buildCounterPackage++; |
| 1432 if (buildCounterPackage < 3) { | 1506 if (buildCounterPackage < 3) { |
| 1433 unittest.expect(o.location, unittest.equals('foo')); | 1507 unittest.expect(o.location, unittest.equals('foo')); |
| 1434 unittest.expect(o.name, unittest.equals('foo')); | 1508 unittest.expect(o.name, unittest.equals('foo')); |
| 1435 } | 1509 } |
| 1436 buildCounterPackage--; | 1510 buildCounterPackage--; |
| 1437 } | 1511 } |
| 1438 | 1512 |
| 1439 buildUnnamed3111() { | 1513 buildUnnamed3520() { |
| 1440 var o = new core.List<api.MultiOutputInfo>(); | 1514 var o = new core.List<api.MultiOutputInfo>(); |
| 1441 o.add(buildMultiOutputInfo()); | 1515 o.add(buildMultiOutputInfo()); |
| 1442 o.add(buildMultiOutputInfo()); | 1516 o.add(buildMultiOutputInfo()); |
| 1443 return o; | 1517 return o; |
| 1444 } | 1518 } |
| 1445 | 1519 |
| 1446 checkUnnamed3111(core.List<api.MultiOutputInfo> o) { | 1520 checkUnnamed3520(core.List<api.MultiOutputInfo> o) { |
| 1447 unittest.expect(o, unittest.hasLength(2)); | 1521 unittest.expect(o, unittest.hasLength(2)); |
| 1448 checkMultiOutputInfo(o[0]); | 1522 checkMultiOutputInfo(o[0]); |
| 1449 checkMultiOutputInfo(o[1]); | 1523 checkMultiOutputInfo(o[1]); |
| 1450 } | 1524 } |
| 1451 | 1525 |
| 1452 buildUnnamed3112() { | 1526 buildUnnamed3521() { |
| 1453 var o = new core.List<api.SideInputInfo>(); | 1527 var o = new core.List<api.SideInputInfo>(); |
| 1454 o.add(buildSideInputInfo()); | 1528 o.add(buildSideInputInfo()); |
| 1455 o.add(buildSideInputInfo()); | 1529 o.add(buildSideInputInfo()); |
| 1456 return o; | 1530 return o; |
| 1457 } | 1531 } |
| 1458 | 1532 |
| 1459 checkUnnamed3112(core.List<api.SideInputInfo> o) { | 1533 checkUnnamed3521(core.List<api.SideInputInfo> o) { |
| 1460 unittest.expect(o, unittest.hasLength(2)); | 1534 unittest.expect(o, unittest.hasLength(2)); |
| 1461 checkSideInputInfo(o[0]); | 1535 checkSideInputInfo(o[0]); |
| 1462 checkSideInputInfo(o[1]); | 1536 checkSideInputInfo(o[1]); |
| 1463 } | 1537 } |
| 1464 | 1538 |
| 1465 buildUnnamed3113() { | 1539 buildUnnamed3522() { |
| 1466 var o = new core.Map<core.String, core.Object>(); | 1540 var o = new core.Map<core.String, core.Object>(); |
| 1467 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1541 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1468 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1542 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1469 return o; | 1543 return o; |
| 1470 } | 1544 } |
| 1471 | 1545 |
| 1472 checkUnnamed3113(core.Map<core.String, core.Object> o) { | 1546 checkUnnamed3522(core.Map<core.String, core.Object> o) { |
| 1473 unittest.expect(o, unittest.hasLength(2)); | 1547 unittest.expect(o, unittest.hasLength(2)); |
| 1474 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')); | 1548 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')); |
| 1475 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')); | 1549 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')); |
| 1476 } | 1550 } |
| 1477 | 1551 |
| 1478 core.int buildCounterParDoInstruction = 0; | 1552 core.int buildCounterParDoInstruction = 0; |
| 1479 buildParDoInstruction() { | 1553 buildParDoInstruction() { |
| 1480 var o = new api.ParDoInstruction(); | 1554 var o = new api.ParDoInstruction(); |
| 1481 buildCounterParDoInstruction++; | 1555 buildCounterParDoInstruction++; |
| 1482 if (buildCounterParDoInstruction < 3) { | 1556 if (buildCounterParDoInstruction < 3) { |
| 1483 o.input = buildInstructionInput(); | 1557 o.input = buildInstructionInput(); |
| 1484 o.multiOutputInfos = buildUnnamed3111(); | 1558 o.multiOutputInfos = buildUnnamed3520(); |
| 1485 o.numOutputs = 42; | 1559 o.numOutputs = 42; |
| 1486 o.sideInputs = buildUnnamed3112(); | 1560 o.sideInputs = buildUnnamed3521(); |
| 1487 o.userFn = buildUnnamed3113(); | 1561 o.userFn = buildUnnamed3522(); |
| 1488 } | 1562 } |
| 1489 buildCounterParDoInstruction--; | 1563 buildCounterParDoInstruction--; |
| 1490 return o; | 1564 return o; |
| 1491 } | 1565 } |
| 1492 | 1566 |
| 1493 checkParDoInstruction(api.ParDoInstruction o) { | 1567 checkParDoInstruction(api.ParDoInstruction o) { |
| 1494 buildCounterParDoInstruction++; | 1568 buildCounterParDoInstruction++; |
| 1495 if (buildCounterParDoInstruction < 3) { | 1569 if (buildCounterParDoInstruction < 3) { |
| 1496 checkInstructionInput(o.input); | 1570 checkInstructionInput(o.input); |
| 1497 checkUnnamed3111(o.multiOutputInfos); | 1571 checkUnnamed3520(o.multiOutputInfos); |
| 1498 unittest.expect(o.numOutputs, unittest.equals(42)); | 1572 unittest.expect(o.numOutputs, unittest.equals(42)); |
| 1499 checkUnnamed3112(o.sideInputs); | 1573 checkUnnamed3521(o.sideInputs); |
| 1500 checkUnnamed3113(o.userFn); | 1574 checkUnnamed3522(o.userFn); |
| 1501 } | 1575 } |
| 1502 buildCounterParDoInstruction--; | 1576 buildCounterParDoInstruction--; |
| 1503 } | 1577 } |
| 1504 | 1578 |
| 1505 buildUnnamed3114() { | 1579 buildUnnamed3523() { |
| 1506 var o = new core.List<api.InstructionOutput>(); | 1580 var o = new core.List<api.InstructionOutput>(); |
| 1507 o.add(buildInstructionOutput()); | 1581 o.add(buildInstructionOutput()); |
| 1508 o.add(buildInstructionOutput()); | 1582 o.add(buildInstructionOutput()); |
| 1509 return o; | 1583 return o; |
| 1510 } | 1584 } |
| 1511 | 1585 |
| 1512 checkUnnamed3114(core.List<api.InstructionOutput> o) { | 1586 checkUnnamed3523(core.List<api.InstructionOutput> o) { |
| 1513 unittest.expect(o, unittest.hasLength(2)); | 1587 unittest.expect(o, unittest.hasLength(2)); |
| 1514 checkInstructionOutput(o[0]); | 1588 checkInstructionOutput(o[0]); |
| 1515 checkInstructionOutput(o[1]); | 1589 checkInstructionOutput(o[1]); |
| 1516 } | 1590 } |
| 1517 | 1591 |
| 1518 core.int buildCounterParallelInstruction = 0; | 1592 core.int buildCounterParallelInstruction = 0; |
| 1519 buildParallelInstruction() { | 1593 buildParallelInstruction() { |
| 1520 var o = new api.ParallelInstruction(); | 1594 var o = new api.ParallelInstruction(); |
| 1521 buildCounterParallelInstruction++; | 1595 buildCounterParallelInstruction++; |
| 1522 if (buildCounterParallelInstruction < 3) { | 1596 if (buildCounterParallelInstruction < 3) { |
| 1523 o.flatten = buildFlattenInstruction(); | 1597 o.flatten = buildFlattenInstruction(); |
| 1524 o.name = "foo"; | 1598 o.name = "foo"; |
| 1525 o.originalName = "foo"; | 1599 o.originalName = "foo"; |
| 1526 o.outputs = buildUnnamed3114(); | 1600 o.outputs = buildUnnamed3523(); |
| 1527 o.parDo = buildParDoInstruction(); | 1601 o.parDo = buildParDoInstruction(); |
| 1528 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); | 1602 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); |
| 1529 o.read = buildReadInstruction(); | 1603 o.read = buildReadInstruction(); |
| 1530 o.systemName = "foo"; | 1604 o.systemName = "foo"; |
| 1531 o.write = buildWriteInstruction(); | 1605 o.write = buildWriteInstruction(); |
| 1532 } | 1606 } |
| 1533 buildCounterParallelInstruction--; | 1607 buildCounterParallelInstruction--; |
| 1534 return o; | 1608 return o; |
| 1535 } | 1609 } |
| 1536 | 1610 |
| 1537 checkParallelInstruction(api.ParallelInstruction o) { | 1611 checkParallelInstruction(api.ParallelInstruction o) { |
| 1538 buildCounterParallelInstruction++; | 1612 buildCounterParallelInstruction++; |
| 1539 if (buildCounterParallelInstruction < 3) { | 1613 if (buildCounterParallelInstruction < 3) { |
| 1540 checkFlattenInstruction(o.flatten); | 1614 checkFlattenInstruction(o.flatten); |
| 1541 unittest.expect(o.name, unittest.equals('foo')); | 1615 unittest.expect(o.name, unittest.equals('foo')); |
| 1542 unittest.expect(o.originalName, unittest.equals('foo')); | 1616 unittest.expect(o.originalName, unittest.equals('foo')); |
| 1543 checkUnnamed3114(o.outputs); | 1617 checkUnnamed3523(o.outputs); |
| 1544 checkParDoInstruction(o.parDo); | 1618 checkParDoInstruction(o.parDo); |
| 1545 checkPartialGroupByKeyInstruction(o.partialGroupByKey); | 1619 checkPartialGroupByKeyInstruction(o.partialGroupByKey); |
| 1546 checkReadInstruction(o.read); | 1620 checkReadInstruction(o.read); |
| 1547 unittest.expect(o.systemName, unittest.equals('foo')); | 1621 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1548 checkWriteInstruction(o.write); | 1622 checkWriteInstruction(o.write); |
| 1549 } | 1623 } |
| 1550 buildCounterParallelInstruction--; | 1624 buildCounterParallelInstruction--; |
| 1551 } | 1625 } |
| 1552 | 1626 |
| 1553 buildUnnamed3115() { | 1627 buildUnnamed3524() { |
| 1554 var o = new core.Map<core.String, core.Object>(); | 1628 var o = new core.Map<core.String, core.Object>(); |
| 1555 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1629 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1556 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1630 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1557 return o; | 1631 return o; |
| 1558 } | 1632 } |
| 1559 | 1633 |
| 1560 checkUnnamed3115(core.Map<core.String, core.Object> o) { | 1634 checkUnnamed3524(core.Map<core.String, core.Object> o) { |
| 1561 unittest.expect(o, unittest.hasLength(2)); | 1635 unittest.expect(o, unittest.hasLength(2)); |
| 1562 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')); | 1636 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')); |
| 1563 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')); | 1637 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')); |
| 1564 } | 1638 } |
| 1565 | 1639 |
| 1566 buildUnnamed3116() { | 1640 buildUnnamed3525() { |
| 1567 var o = new core.List<api.SideInputInfo>(); | 1641 var o = new core.List<api.SideInputInfo>(); |
| 1568 o.add(buildSideInputInfo()); | 1642 o.add(buildSideInputInfo()); |
| 1569 o.add(buildSideInputInfo()); | 1643 o.add(buildSideInputInfo()); |
| 1570 return o; | 1644 return o; |
| 1571 } | 1645 } |
| 1572 | 1646 |
| 1573 checkUnnamed3116(core.List<api.SideInputInfo> o) { | 1647 checkUnnamed3525(core.List<api.SideInputInfo> o) { |
| 1574 unittest.expect(o, unittest.hasLength(2)); | 1648 unittest.expect(o, unittest.hasLength(2)); |
| 1575 checkSideInputInfo(o[0]); | 1649 checkSideInputInfo(o[0]); |
| 1576 checkSideInputInfo(o[1]); | 1650 checkSideInputInfo(o[1]); |
| 1577 } | 1651 } |
| 1578 | 1652 |
| 1579 buildUnnamed3117() { | 1653 buildUnnamed3526() { |
| 1580 var o = new core.Map<core.String, core.Object>(); | 1654 var o = new core.Map<core.String, core.Object>(); |
| 1581 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1655 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1582 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1656 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1583 return o; | 1657 return o; |
| 1584 } | 1658 } |
| 1585 | 1659 |
| 1586 checkUnnamed3117(core.Map<core.String, core.Object> o) { | 1660 checkUnnamed3526(core.Map<core.String, core.Object> o) { |
| 1587 unittest.expect(o, unittest.hasLength(2)); | 1661 unittest.expect(o, unittest.hasLength(2)); |
| 1588 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')); | 1662 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')); |
| 1589 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')); | 1663 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')); |
| 1590 } | 1664 } |
| 1591 | 1665 |
| 1592 core.int buildCounterPartialGroupByKeyInstruction = 0; | 1666 core.int buildCounterPartialGroupByKeyInstruction = 0; |
| 1593 buildPartialGroupByKeyInstruction() { | 1667 buildPartialGroupByKeyInstruction() { |
| 1594 var o = new api.PartialGroupByKeyInstruction(); | 1668 var o = new api.PartialGroupByKeyInstruction(); |
| 1595 buildCounterPartialGroupByKeyInstruction++; | 1669 buildCounterPartialGroupByKeyInstruction++; |
| 1596 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1670 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1597 o.input = buildInstructionInput(); | 1671 o.input = buildInstructionInput(); |
| 1598 o.inputElementCodec = buildUnnamed3115(); | 1672 o.inputElementCodec = buildUnnamed3524(); |
| 1599 o.originalCombineValuesInputStoreName = "foo"; | 1673 o.originalCombineValuesInputStoreName = "foo"; |
| 1600 o.originalCombineValuesStepName = "foo"; | 1674 o.originalCombineValuesStepName = "foo"; |
| 1601 o.sideInputs = buildUnnamed3116(); | 1675 o.sideInputs = buildUnnamed3525(); |
| 1602 o.valueCombiningFn = buildUnnamed3117(); | 1676 o.valueCombiningFn = buildUnnamed3526(); |
| 1603 } | 1677 } |
| 1604 buildCounterPartialGroupByKeyInstruction--; | 1678 buildCounterPartialGroupByKeyInstruction--; |
| 1605 return o; | 1679 return o; |
| 1606 } | 1680 } |
| 1607 | 1681 |
| 1608 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { | 1682 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { |
| 1609 buildCounterPartialGroupByKeyInstruction++; | 1683 buildCounterPartialGroupByKeyInstruction++; |
| 1610 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1684 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1611 checkInstructionInput(o.input); | 1685 checkInstructionInput(o.input); |
| 1612 checkUnnamed3115(o.inputElementCodec); | 1686 checkUnnamed3524(o.inputElementCodec); |
| 1613 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); | 1687 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); |
| 1614 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); | 1688 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); |
| 1615 checkUnnamed3116(o.sideInputs); | 1689 checkUnnamed3525(o.sideInputs); |
| 1616 checkUnnamed3117(o.valueCombiningFn); | 1690 checkUnnamed3526(o.valueCombiningFn); |
| 1617 } | 1691 } |
| 1618 buildCounterPartialGroupByKeyInstruction--; | 1692 buildCounterPartialGroupByKeyInstruction--; |
| 1619 } | 1693 } |
| 1620 | 1694 |
| 1621 core.int buildCounterPosition = 0; | 1695 core.int buildCounterPosition = 0; |
| 1622 buildPosition() { | 1696 buildPosition() { |
| 1623 var o = new api.Position(); | 1697 var o = new api.Position(); |
| 1624 buildCounterPosition++; | 1698 buildCounterPosition++; |
| 1625 if (buildCounterPosition < 3) { | 1699 if (buildCounterPosition < 3) { |
| 1626 o.byteOffset = "foo"; | 1700 o.byteOffset = "foo"; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 } | 1762 } |
| 1689 | 1763 |
| 1690 checkReadInstruction(api.ReadInstruction o) { | 1764 checkReadInstruction(api.ReadInstruction o) { |
| 1691 buildCounterReadInstruction++; | 1765 buildCounterReadInstruction++; |
| 1692 if (buildCounterReadInstruction < 3) { | 1766 if (buildCounterReadInstruction < 3) { |
| 1693 checkSource(o.source); | 1767 checkSource(o.source); |
| 1694 } | 1768 } |
| 1695 buildCounterReadInstruction--; | 1769 buildCounterReadInstruction--; |
| 1696 } | 1770 } |
| 1697 | 1771 |
| 1698 buildUnnamed3118() { | 1772 buildUnnamed3527() { |
| 1699 var o = new core.List<api.WorkItemStatus>(); | 1773 var o = new core.List<api.WorkItemStatus>(); |
| 1700 o.add(buildWorkItemStatus()); | 1774 o.add(buildWorkItemStatus()); |
| 1701 o.add(buildWorkItemStatus()); | 1775 o.add(buildWorkItemStatus()); |
| 1702 return o; | 1776 return o; |
| 1703 } | 1777 } |
| 1704 | 1778 |
| 1705 checkUnnamed3118(core.List<api.WorkItemStatus> o) { | 1779 checkUnnamed3527(core.List<api.WorkItemStatus> o) { |
| 1706 unittest.expect(o, unittest.hasLength(2)); | 1780 unittest.expect(o, unittest.hasLength(2)); |
| 1707 checkWorkItemStatus(o[0]); | 1781 checkWorkItemStatus(o[0]); |
| 1708 checkWorkItemStatus(o[1]); | 1782 checkWorkItemStatus(o[1]); |
| 1709 } | 1783 } |
| 1710 | 1784 |
| 1711 core.int buildCounterReportWorkItemStatusRequest = 0; | 1785 core.int buildCounterReportWorkItemStatusRequest = 0; |
| 1712 buildReportWorkItemStatusRequest() { | 1786 buildReportWorkItemStatusRequest() { |
| 1713 var o = new api.ReportWorkItemStatusRequest(); | 1787 var o = new api.ReportWorkItemStatusRequest(); |
| 1714 buildCounterReportWorkItemStatusRequest++; | 1788 buildCounterReportWorkItemStatusRequest++; |
| 1715 if (buildCounterReportWorkItemStatusRequest < 3) { | 1789 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1716 o.currentWorkerTime = "foo"; | 1790 o.currentWorkerTime = "foo"; |
| 1717 o.workItemStatuses = buildUnnamed3118(); | 1791 o.workItemStatuses = buildUnnamed3527(); |
| 1718 o.workerId = "foo"; | 1792 o.workerId = "foo"; |
| 1719 } | 1793 } |
| 1720 buildCounterReportWorkItemStatusRequest--; | 1794 buildCounterReportWorkItemStatusRequest--; |
| 1721 return o; | 1795 return o; |
| 1722 } | 1796 } |
| 1723 | 1797 |
| 1724 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { | 1798 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { |
| 1725 buildCounterReportWorkItemStatusRequest++; | 1799 buildCounterReportWorkItemStatusRequest++; |
| 1726 if (buildCounterReportWorkItemStatusRequest < 3) { | 1800 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1727 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1801 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1728 checkUnnamed3118(o.workItemStatuses); | 1802 checkUnnamed3527(o.workItemStatuses); |
| 1729 unittest.expect(o.workerId, unittest.equals('foo')); | 1803 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1730 } | 1804 } |
| 1731 buildCounterReportWorkItemStatusRequest--; | 1805 buildCounterReportWorkItemStatusRequest--; |
| 1732 } | 1806 } |
| 1733 | 1807 |
| 1734 buildUnnamed3119() { | 1808 buildUnnamed3528() { |
| 1735 var o = new core.List<api.WorkItemServiceState>(); | 1809 var o = new core.List<api.WorkItemServiceState>(); |
| 1736 o.add(buildWorkItemServiceState()); | 1810 o.add(buildWorkItemServiceState()); |
| 1737 o.add(buildWorkItemServiceState()); | 1811 o.add(buildWorkItemServiceState()); |
| 1738 return o; | 1812 return o; |
| 1739 } | 1813 } |
| 1740 | 1814 |
| 1741 checkUnnamed3119(core.List<api.WorkItemServiceState> o) { | 1815 checkUnnamed3528(core.List<api.WorkItemServiceState> o) { |
| 1742 unittest.expect(o, unittest.hasLength(2)); | 1816 unittest.expect(o, unittest.hasLength(2)); |
| 1743 checkWorkItemServiceState(o[0]); | 1817 checkWorkItemServiceState(o[0]); |
| 1744 checkWorkItemServiceState(o[1]); | 1818 checkWorkItemServiceState(o[1]); |
| 1745 } | 1819 } |
| 1746 | 1820 |
| 1747 core.int buildCounterReportWorkItemStatusResponse = 0; | 1821 core.int buildCounterReportWorkItemStatusResponse = 0; |
| 1748 buildReportWorkItemStatusResponse() { | 1822 buildReportWorkItemStatusResponse() { |
| 1749 var o = new api.ReportWorkItemStatusResponse(); | 1823 var o = new api.ReportWorkItemStatusResponse(); |
| 1750 buildCounterReportWorkItemStatusResponse++; | 1824 buildCounterReportWorkItemStatusResponse++; |
| 1751 if (buildCounterReportWorkItemStatusResponse < 3) { | 1825 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1752 o.workItemServiceStates = buildUnnamed3119(); | 1826 o.workItemServiceStates = buildUnnamed3528(); |
| 1753 } | 1827 } |
| 1754 buildCounterReportWorkItemStatusResponse--; | 1828 buildCounterReportWorkItemStatusResponse--; |
| 1755 return o; | 1829 return o; |
| 1756 } | 1830 } |
| 1757 | 1831 |
| 1758 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { | 1832 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { |
| 1759 buildCounterReportWorkItemStatusResponse++; | 1833 buildCounterReportWorkItemStatusResponse++; |
| 1760 if (buildCounterReportWorkItemStatusResponse < 3) { | 1834 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1761 checkUnnamed3119(o.workItemServiceStates); | 1835 checkUnnamed3528(o.workItemServiceStates); |
| 1762 } | 1836 } |
| 1763 buildCounterReportWorkItemStatusResponse--; | 1837 buildCounterReportWorkItemStatusResponse--; |
| 1764 } | 1838 } |
| 1765 | 1839 |
| 1766 core.int buildCounterReportedParallelism = 0; | 1840 core.int buildCounterReportedParallelism = 0; |
| 1767 buildReportedParallelism() { | 1841 buildReportedParallelism() { |
| 1768 var o = new api.ReportedParallelism(); | 1842 var o = new api.ReportedParallelism(); |
| 1769 buildCounterReportedParallelism++; | 1843 buildCounterReportedParallelism++; |
| 1770 if (buildCounterReportedParallelism < 3) { | 1844 if (buildCounterReportedParallelism < 3) { |
| 1771 o.isInfinite = true; | 1845 o.isInfinite = true; |
| 1772 o.value = 42.0; | 1846 o.value = 42.0; |
| 1773 } | 1847 } |
| 1774 buildCounterReportedParallelism--; | 1848 buildCounterReportedParallelism--; |
| 1775 return o; | 1849 return o; |
| 1776 } | 1850 } |
| 1777 | 1851 |
| 1778 checkReportedParallelism(api.ReportedParallelism o) { | 1852 checkReportedParallelism(api.ReportedParallelism o) { |
| 1779 buildCounterReportedParallelism++; | 1853 buildCounterReportedParallelism++; |
| 1780 if (buildCounterReportedParallelism < 3) { | 1854 if (buildCounterReportedParallelism < 3) { |
| 1781 unittest.expect(o.isInfinite, unittest.isTrue); | 1855 unittest.expect(o.isInfinite, unittest.isTrue); |
| 1782 unittest.expect(o.value, unittest.equals(42.0)); | 1856 unittest.expect(o.value, unittest.equals(42.0)); |
| 1783 } | 1857 } |
| 1784 buildCounterReportedParallelism--; | 1858 buildCounterReportedParallelism--; |
| 1785 } | 1859 } |
| 1786 | 1860 |
| 1787 buildUnnamed3120() { | 1861 core.int buildCounterSendDebugCaptureRequest = 0; |
| 1862 buildSendDebugCaptureRequest() { |
| 1863 var o = new api.SendDebugCaptureRequest(); |
| 1864 buildCounterSendDebugCaptureRequest++; |
| 1865 if (buildCounterSendDebugCaptureRequest < 3) { |
| 1866 o.componentId = "foo"; |
| 1867 o.data = "foo"; |
| 1868 o.workerId = "foo"; |
| 1869 } |
| 1870 buildCounterSendDebugCaptureRequest--; |
| 1871 return o; |
| 1872 } |
| 1873 |
| 1874 checkSendDebugCaptureRequest(api.SendDebugCaptureRequest o) { |
| 1875 buildCounterSendDebugCaptureRequest++; |
| 1876 if (buildCounterSendDebugCaptureRequest < 3) { |
| 1877 unittest.expect(o.componentId, unittest.equals('foo')); |
| 1878 unittest.expect(o.data, unittest.equals('foo')); |
| 1879 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1880 } |
| 1881 buildCounterSendDebugCaptureRequest--; |
| 1882 } |
| 1883 |
| 1884 core.int buildCounterSendDebugCaptureResponse = 0; |
| 1885 buildSendDebugCaptureResponse() { |
| 1886 var o = new api.SendDebugCaptureResponse(); |
| 1887 buildCounterSendDebugCaptureResponse++; |
| 1888 if (buildCounterSendDebugCaptureResponse < 3) { |
| 1889 } |
| 1890 buildCounterSendDebugCaptureResponse--; |
| 1891 return o; |
| 1892 } |
| 1893 |
| 1894 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { |
| 1895 buildCounterSendDebugCaptureResponse++; |
| 1896 if (buildCounterSendDebugCaptureResponse < 3) { |
| 1897 } |
| 1898 buildCounterSendDebugCaptureResponse--; |
| 1899 } |
| 1900 |
| 1901 buildUnnamed3529() { |
| 1788 var o = new core.List<api.WorkerMessage>(); | 1902 var o = new core.List<api.WorkerMessage>(); |
| 1789 o.add(buildWorkerMessage()); | 1903 o.add(buildWorkerMessage()); |
| 1790 o.add(buildWorkerMessage()); | 1904 o.add(buildWorkerMessage()); |
| 1791 return o; | 1905 return o; |
| 1792 } | 1906 } |
| 1793 | 1907 |
| 1794 checkUnnamed3120(core.List<api.WorkerMessage> o) { | 1908 checkUnnamed3529(core.List<api.WorkerMessage> o) { |
| 1795 unittest.expect(o, unittest.hasLength(2)); | 1909 unittest.expect(o, unittest.hasLength(2)); |
| 1796 checkWorkerMessage(o[0]); | 1910 checkWorkerMessage(o[0]); |
| 1797 checkWorkerMessage(o[1]); | 1911 checkWorkerMessage(o[1]); |
| 1798 } | 1912 } |
| 1799 | 1913 |
| 1800 core.int buildCounterSendWorkerMessagesRequest = 0; | 1914 core.int buildCounterSendWorkerMessagesRequest = 0; |
| 1801 buildSendWorkerMessagesRequest() { | 1915 buildSendWorkerMessagesRequest() { |
| 1802 var o = new api.SendWorkerMessagesRequest(); | 1916 var o = new api.SendWorkerMessagesRequest(); |
| 1803 buildCounterSendWorkerMessagesRequest++; | 1917 buildCounterSendWorkerMessagesRequest++; |
| 1804 if (buildCounterSendWorkerMessagesRequest < 3) { | 1918 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 1805 o.workerMessages = buildUnnamed3120(); | 1919 o.workerMessages = buildUnnamed3529(); |
| 1806 } | 1920 } |
| 1807 buildCounterSendWorkerMessagesRequest--; | 1921 buildCounterSendWorkerMessagesRequest--; |
| 1808 return o; | 1922 return o; |
| 1809 } | 1923 } |
| 1810 | 1924 |
| 1811 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { | 1925 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { |
| 1812 buildCounterSendWorkerMessagesRequest++; | 1926 buildCounterSendWorkerMessagesRequest++; |
| 1813 if (buildCounterSendWorkerMessagesRequest < 3) { | 1927 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 1814 checkUnnamed3120(o.workerMessages); | 1928 checkUnnamed3529(o.workerMessages); |
| 1815 } | 1929 } |
| 1816 buildCounterSendWorkerMessagesRequest--; | 1930 buildCounterSendWorkerMessagesRequest--; |
| 1817 } | 1931 } |
| 1818 | 1932 |
| 1819 buildUnnamed3121() { | 1933 buildUnnamed3530() { |
| 1820 var o = new core.List<api.WorkerMessageResponse>(); | 1934 var o = new core.List<api.WorkerMessageResponse>(); |
| 1821 o.add(buildWorkerMessageResponse()); | 1935 o.add(buildWorkerMessageResponse()); |
| 1822 o.add(buildWorkerMessageResponse()); | 1936 o.add(buildWorkerMessageResponse()); |
| 1823 return o; | 1937 return o; |
| 1824 } | 1938 } |
| 1825 | 1939 |
| 1826 checkUnnamed3121(core.List<api.WorkerMessageResponse> o) { | 1940 checkUnnamed3530(core.List<api.WorkerMessageResponse> o) { |
| 1827 unittest.expect(o, unittest.hasLength(2)); | 1941 unittest.expect(o, unittest.hasLength(2)); |
| 1828 checkWorkerMessageResponse(o[0]); | 1942 checkWorkerMessageResponse(o[0]); |
| 1829 checkWorkerMessageResponse(o[1]); | 1943 checkWorkerMessageResponse(o[1]); |
| 1830 } | 1944 } |
| 1831 | 1945 |
| 1832 core.int buildCounterSendWorkerMessagesResponse = 0; | 1946 core.int buildCounterSendWorkerMessagesResponse = 0; |
| 1833 buildSendWorkerMessagesResponse() { | 1947 buildSendWorkerMessagesResponse() { |
| 1834 var o = new api.SendWorkerMessagesResponse(); | 1948 var o = new api.SendWorkerMessagesResponse(); |
| 1835 buildCounterSendWorkerMessagesResponse++; | 1949 buildCounterSendWorkerMessagesResponse++; |
| 1836 if (buildCounterSendWorkerMessagesResponse < 3) { | 1950 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 1837 o.workerMessageResponses = buildUnnamed3121(); | 1951 o.workerMessageResponses = buildUnnamed3530(); |
| 1838 } | 1952 } |
| 1839 buildCounterSendWorkerMessagesResponse--; | 1953 buildCounterSendWorkerMessagesResponse--; |
| 1840 return o; | 1954 return o; |
| 1841 } | 1955 } |
| 1842 | 1956 |
| 1843 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { | 1957 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { |
| 1844 buildCounterSendWorkerMessagesResponse++; | 1958 buildCounterSendWorkerMessagesResponse++; |
| 1845 if (buildCounterSendWorkerMessagesResponse < 3) { | 1959 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 1846 checkUnnamed3121(o.workerMessageResponses); | 1960 checkUnnamed3530(o.workerMessageResponses); |
| 1847 } | 1961 } |
| 1848 buildCounterSendWorkerMessagesResponse--; | 1962 buildCounterSendWorkerMessagesResponse--; |
| 1849 } | 1963 } |
| 1850 | 1964 |
| 1851 buildUnnamed3122() { | 1965 buildUnnamed3531() { |
| 1852 var o = new core.List<api.SideInputInfo>(); | 1966 var o = new core.List<api.SideInputInfo>(); |
| 1853 o.add(buildSideInputInfo()); | 1967 o.add(buildSideInputInfo()); |
| 1854 o.add(buildSideInputInfo()); | 1968 o.add(buildSideInputInfo()); |
| 1855 return o; | 1969 return o; |
| 1856 } | 1970 } |
| 1857 | 1971 |
| 1858 checkUnnamed3122(core.List<api.SideInputInfo> o) { | 1972 checkUnnamed3531(core.List<api.SideInputInfo> o) { |
| 1859 unittest.expect(o, unittest.hasLength(2)); | 1973 unittest.expect(o, unittest.hasLength(2)); |
| 1860 checkSideInputInfo(o[0]); | 1974 checkSideInputInfo(o[0]); |
| 1861 checkSideInputInfo(o[1]); | 1975 checkSideInputInfo(o[1]); |
| 1862 } | 1976 } |
| 1863 | 1977 |
| 1864 buildUnnamed3123() { | 1978 buildUnnamed3532() { |
| 1865 var o = new core.List<api.SeqMapTaskOutputInfo>(); | 1979 var o = new core.List<api.SeqMapTaskOutputInfo>(); |
| 1866 o.add(buildSeqMapTaskOutputInfo()); | 1980 o.add(buildSeqMapTaskOutputInfo()); |
| 1867 o.add(buildSeqMapTaskOutputInfo()); | 1981 o.add(buildSeqMapTaskOutputInfo()); |
| 1868 return o; | 1982 return o; |
| 1869 } | 1983 } |
| 1870 | 1984 |
| 1871 checkUnnamed3123(core.List<api.SeqMapTaskOutputInfo> o) { | 1985 checkUnnamed3532(core.List<api.SeqMapTaskOutputInfo> o) { |
| 1872 unittest.expect(o, unittest.hasLength(2)); | 1986 unittest.expect(o, unittest.hasLength(2)); |
| 1873 checkSeqMapTaskOutputInfo(o[0]); | 1987 checkSeqMapTaskOutputInfo(o[0]); |
| 1874 checkSeqMapTaskOutputInfo(o[1]); | 1988 checkSeqMapTaskOutputInfo(o[1]); |
| 1875 } | 1989 } |
| 1876 | 1990 |
| 1877 buildUnnamed3124() { | 1991 buildUnnamed3533() { |
| 1878 var o = new core.Map<core.String, core.Object>(); | 1992 var o = new core.Map<core.String, core.Object>(); |
| 1879 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1993 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1880 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1994 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1881 return o; | 1995 return o; |
| 1882 } | 1996 } |
| 1883 | 1997 |
| 1884 checkUnnamed3124(core.Map<core.String, core.Object> o) { | 1998 checkUnnamed3533(core.Map<core.String, core.Object> o) { |
| 1885 unittest.expect(o, unittest.hasLength(2)); | 1999 unittest.expect(o, unittest.hasLength(2)); |
| 1886 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')); | 2000 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')); |
| 1887 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')); | 2001 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')); |
| 1888 } | 2002 } |
| 1889 | 2003 |
| 1890 core.int buildCounterSeqMapTask = 0; | 2004 core.int buildCounterSeqMapTask = 0; |
| 1891 buildSeqMapTask() { | 2005 buildSeqMapTask() { |
| 1892 var o = new api.SeqMapTask(); | 2006 var o = new api.SeqMapTask(); |
| 1893 buildCounterSeqMapTask++; | 2007 buildCounterSeqMapTask++; |
| 1894 if (buildCounterSeqMapTask < 3) { | 2008 if (buildCounterSeqMapTask < 3) { |
| 1895 o.inputs = buildUnnamed3122(); | 2009 o.inputs = buildUnnamed3531(); |
| 1896 o.name = "foo"; | 2010 o.name = "foo"; |
| 1897 o.outputInfos = buildUnnamed3123(); | 2011 o.outputInfos = buildUnnamed3532(); |
| 1898 o.stageName = "foo"; | 2012 o.stageName = "foo"; |
| 1899 o.systemName = "foo"; | 2013 o.systemName = "foo"; |
| 1900 o.userFn = buildUnnamed3124(); | 2014 o.userFn = buildUnnamed3533(); |
| 1901 } | 2015 } |
| 1902 buildCounterSeqMapTask--; | 2016 buildCounterSeqMapTask--; |
| 1903 return o; | 2017 return o; |
| 1904 } | 2018 } |
| 1905 | 2019 |
| 1906 checkSeqMapTask(api.SeqMapTask o) { | 2020 checkSeqMapTask(api.SeqMapTask o) { |
| 1907 buildCounterSeqMapTask++; | 2021 buildCounterSeqMapTask++; |
| 1908 if (buildCounterSeqMapTask < 3) { | 2022 if (buildCounterSeqMapTask < 3) { |
| 1909 checkUnnamed3122(o.inputs); | 2023 checkUnnamed3531(o.inputs); |
| 1910 unittest.expect(o.name, unittest.equals('foo')); | 2024 unittest.expect(o.name, unittest.equals('foo')); |
| 1911 checkUnnamed3123(o.outputInfos); | 2025 checkUnnamed3532(o.outputInfos); |
| 1912 unittest.expect(o.stageName, unittest.equals('foo')); | 2026 unittest.expect(o.stageName, unittest.equals('foo')); |
| 1913 unittest.expect(o.systemName, unittest.equals('foo')); | 2027 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1914 checkUnnamed3124(o.userFn); | 2028 checkUnnamed3533(o.userFn); |
| 1915 } | 2029 } |
| 1916 buildCounterSeqMapTask--; | 2030 buildCounterSeqMapTask--; |
| 1917 } | 2031 } |
| 1918 | 2032 |
| 1919 core.int buildCounterSeqMapTaskOutputInfo = 0; | 2033 core.int buildCounterSeqMapTaskOutputInfo = 0; |
| 1920 buildSeqMapTaskOutputInfo() { | 2034 buildSeqMapTaskOutputInfo() { |
| 1921 var o = new api.SeqMapTaskOutputInfo(); | 2035 var o = new api.SeqMapTaskOutputInfo(); |
| 1922 buildCounterSeqMapTaskOutputInfo++; | 2036 buildCounterSeqMapTaskOutputInfo++; |
| 1923 if (buildCounterSeqMapTaskOutputInfo < 3) { | 2037 if (buildCounterSeqMapTaskOutputInfo < 3) { |
| 1924 o.sink = buildSink(); | 2038 o.sink = buildSink(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1951 | 2065 |
| 1952 checkShellTask(api.ShellTask o) { | 2066 checkShellTask(api.ShellTask o) { |
| 1953 buildCounterShellTask++; | 2067 buildCounterShellTask++; |
| 1954 if (buildCounterShellTask < 3) { | 2068 if (buildCounterShellTask < 3) { |
| 1955 unittest.expect(o.command, unittest.equals('foo')); | 2069 unittest.expect(o.command, unittest.equals('foo')); |
| 1956 unittest.expect(o.exitCode, unittest.equals(42)); | 2070 unittest.expect(o.exitCode, unittest.equals(42)); |
| 1957 } | 2071 } |
| 1958 buildCounterShellTask--; | 2072 buildCounterShellTask--; |
| 1959 } | 2073 } |
| 1960 | 2074 |
| 1961 buildUnnamed3125() { | 2075 buildUnnamed3534() { |
| 1962 var o = new core.Map<core.String, core.Object>(); | 2076 var o = new core.Map<core.String, core.Object>(); |
| 1963 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2077 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1964 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2078 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1965 return o; | 2079 return o; |
| 1966 } | 2080 } |
| 1967 | 2081 |
| 1968 checkUnnamed3125(core.Map<core.String, core.Object> o) { | 2082 checkUnnamed3534(core.Map<core.String, core.Object> o) { |
| 1969 unittest.expect(o, unittest.hasLength(2)); | 2083 unittest.expect(o, unittest.hasLength(2)); |
| 1970 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')); | 2084 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')); |
| 1971 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')); | 2085 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')); |
| 1972 } | 2086 } |
| 1973 | 2087 |
| 1974 buildUnnamed3126() { | 2088 buildUnnamed3535() { |
| 1975 var o = new core.List<api.Source>(); | 2089 var o = new core.List<api.Source>(); |
| 1976 o.add(buildSource()); | 2090 o.add(buildSource()); |
| 1977 o.add(buildSource()); | 2091 o.add(buildSource()); |
| 1978 return o; | 2092 return o; |
| 1979 } | 2093 } |
| 1980 | 2094 |
| 1981 checkUnnamed3126(core.List<api.Source> o) { | 2095 checkUnnamed3535(core.List<api.Source> o) { |
| 1982 unittest.expect(o, unittest.hasLength(2)); | 2096 unittest.expect(o, unittest.hasLength(2)); |
| 1983 checkSource(o[0]); | 2097 checkSource(o[0]); |
| 1984 checkSource(o[1]); | 2098 checkSource(o[1]); |
| 1985 } | 2099 } |
| 1986 | 2100 |
| 1987 core.int buildCounterSideInputInfo = 0; | 2101 core.int buildCounterSideInputInfo = 0; |
| 1988 buildSideInputInfo() { | 2102 buildSideInputInfo() { |
| 1989 var o = new api.SideInputInfo(); | 2103 var o = new api.SideInputInfo(); |
| 1990 buildCounterSideInputInfo++; | 2104 buildCounterSideInputInfo++; |
| 1991 if (buildCounterSideInputInfo < 3) { | 2105 if (buildCounterSideInputInfo < 3) { |
| 1992 o.kind = buildUnnamed3125(); | 2106 o.kind = buildUnnamed3534(); |
| 1993 o.sources = buildUnnamed3126(); | 2107 o.sources = buildUnnamed3535(); |
| 1994 o.tag = "foo"; | 2108 o.tag = "foo"; |
| 1995 } | 2109 } |
| 1996 buildCounterSideInputInfo--; | 2110 buildCounterSideInputInfo--; |
| 1997 return o; | 2111 return o; |
| 1998 } | 2112 } |
| 1999 | 2113 |
| 2000 checkSideInputInfo(api.SideInputInfo o) { | 2114 checkSideInputInfo(api.SideInputInfo o) { |
| 2001 buildCounterSideInputInfo++; | 2115 buildCounterSideInputInfo++; |
| 2002 if (buildCounterSideInputInfo < 3) { | 2116 if (buildCounterSideInputInfo < 3) { |
| 2003 checkUnnamed3125(o.kind); | 2117 checkUnnamed3534(o.kind); |
| 2004 checkUnnamed3126(o.sources); | 2118 checkUnnamed3535(o.sources); |
| 2005 unittest.expect(o.tag, unittest.equals('foo')); | 2119 unittest.expect(o.tag, unittest.equals('foo')); |
| 2006 } | 2120 } |
| 2007 buildCounterSideInputInfo--; | 2121 buildCounterSideInputInfo--; |
| 2008 } | 2122 } |
| 2009 | 2123 |
| 2010 buildUnnamed3127() { | 2124 buildUnnamed3536() { |
| 2011 var o = new core.Map<core.String, core.Object>(); | 2125 var o = new core.Map<core.String, core.Object>(); |
| 2012 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2126 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2013 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2127 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2014 return o; | 2128 return o; |
| 2015 } | 2129 } |
| 2016 | 2130 |
| 2017 checkUnnamed3127(core.Map<core.String, core.Object> o) { | 2131 checkUnnamed3536(core.Map<core.String, core.Object> o) { |
| 2018 unittest.expect(o, unittest.hasLength(2)); | 2132 unittest.expect(o, unittest.hasLength(2)); |
| 2019 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')); | 2133 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')); |
| 2020 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')); | 2134 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')); |
| 2021 } | 2135 } |
| 2022 | 2136 |
| 2023 buildUnnamed3128() { | 2137 buildUnnamed3537() { |
| 2024 var o = new core.Map<core.String, core.Object>(); | 2138 var o = new core.Map<core.String, core.Object>(); |
| 2025 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2139 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2026 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2140 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2027 return o; | 2141 return o; |
| 2028 } | 2142 } |
| 2029 | 2143 |
| 2030 checkUnnamed3128(core.Map<core.String, core.Object> o) { | 2144 checkUnnamed3537(core.Map<core.String, core.Object> o) { |
| 2031 unittest.expect(o, unittest.hasLength(2)); | 2145 unittest.expect(o, unittest.hasLength(2)); |
| 2032 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')); | 2146 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')); |
| 2033 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')); | 2147 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')); |
| 2034 } | 2148 } |
| 2035 | 2149 |
| 2036 core.int buildCounterSink = 0; | 2150 core.int buildCounterSink = 0; |
| 2037 buildSink() { | 2151 buildSink() { |
| 2038 var o = new api.Sink(); | 2152 var o = new api.Sink(); |
| 2039 buildCounterSink++; | 2153 buildCounterSink++; |
| 2040 if (buildCounterSink < 3) { | 2154 if (buildCounterSink < 3) { |
| 2041 o.codec = buildUnnamed3127(); | 2155 o.codec = buildUnnamed3536(); |
| 2042 o.spec = buildUnnamed3128(); | 2156 o.spec = buildUnnamed3537(); |
| 2043 } | 2157 } |
| 2044 buildCounterSink--; | 2158 buildCounterSink--; |
| 2045 return o; | 2159 return o; |
| 2046 } | 2160 } |
| 2047 | 2161 |
| 2048 checkSink(api.Sink o) { | 2162 checkSink(api.Sink o) { |
| 2049 buildCounterSink++; | 2163 buildCounterSink++; |
| 2050 if (buildCounterSink < 3) { | 2164 if (buildCounterSink < 3) { |
| 2051 checkUnnamed3127(o.codec); | 2165 checkUnnamed3536(o.codec); |
| 2052 checkUnnamed3128(o.spec); | 2166 checkUnnamed3537(o.spec); |
| 2053 } | 2167 } |
| 2054 buildCounterSink--; | 2168 buildCounterSink--; |
| 2055 } | 2169 } |
| 2056 | 2170 |
| 2057 buildUnnamed3129() { | 2171 buildUnnamed3538() { |
| 2058 var o = new core.Map<core.String, core.Object>(); | 2172 var o = new core.Map<core.String, core.Object>(); |
| 2059 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2173 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2060 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2174 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2061 return o; | 2175 return o; |
| 2062 } | 2176 } |
| 2063 | 2177 |
| 2064 checkUnnamed3129(core.Map<core.String, core.Object> o) { | 2178 checkUnnamed3538(core.Map<core.String, core.Object> o) { |
| 2065 unittest.expect(o, unittest.hasLength(2)); | 2179 unittest.expect(o, unittest.hasLength(2)); |
| 2066 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')); | 2180 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')); |
| 2067 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')); | 2181 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')); |
| 2068 } | 2182 } |
| 2069 | 2183 |
| 2070 buildUnnamed3130() { | 2184 buildUnnamed3539() { |
| 2071 var o = new core.List<core.Map<core.String, core.Object>>(); | 2185 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2072 o.add(buildUnnamed3129()); | 2186 o.add(buildUnnamed3538()); |
| 2073 o.add(buildUnnamed3129()); | 2187 o.add(buildUnnamed3538()); |
| 2074 return o; | 2188 return o; |
| 2075 } | 2189 } |
| 2076 | 2190 |
| 2077 checkUnnamed3130(core.List<core.Map<core.String, core.Object>> o) { | 2191 checkUnnamed3539(core.List<core.Map<core.String, core.Object>> o) { |
| 2078 unittest.expect(o, unittest.hasLength(2)); | 2192 unittest.expect(o, unittest.hasLength(2)); |
| 2079 checkUnnamed3129(o[0]); | 2193 checkUnnamed3538(o[0]); |
| 2080 checkUnnamed3129(o[1]); | 2194 checkUnnamed3538(o[1]); |
| 2081 } | 2195 } |
| 2082 | 2196 |
| 2083 buildUnnamed3131() { | 2197 buildUnnamed3540() { |
| 2084 var o = new core.Map<core.String, core.Object>(); | 2198 var o = new core.Map<core.String, core.Object>(); |
| 2085 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2199 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2086 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2200 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2087 return o; | 2201 return o; |
| 2088 } | 2202 } |
| 2089 | 2203 |
| 2090 checkUnnamed3131(core.Map<core.String, core.Object> o) { | 2204 checkUnnamed3540(core.Map<core.String, core.Object> o) { |
| 2091 unittest.expect(o, unittest.hasLength(2)); | 2205 unittest.expect(o, unittest.hasLength(2)); |
| 2092 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')); | 2206 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')); |
| 2093 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')); | 2207 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')); |
| 2094 } | 2208 } |
| 2095 | 2209 |
| 2096 buildUnnamed3132() { | 2210 buildUnnamed3541() { |
| 2097 var o = new core.Map<core.String, core.Object>(); | 2211 var o = new core.Map<core.String, core.Object>(); |
| 2098 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2212 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2099 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2213 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2100 return o; | 2214 return o; |
| 2101 } | 2215 } |
| 2102 | 2216 |
| 2103 checkUnnamed3132(core.Map<core.String, core.Object> o) { | 2217 checkUnnamed3541(core.Map<core.String, core.Object> o) { |
| 2104 unittest.expect(o, unittest.hasLength(2)); | 2218 unittest.expect(o, unittest.hasLength(2)); |
| 2105 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')); | 2219 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')); |
| 2106 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')); | 2220 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')); |
| 2107 } | 2221 } |
| 2108 | 2222 |
| 2109 core.int buildCounterSource = 0; | 2223 core.int buildCounterSource = 0; |
| 2110 buildSource() { | 2224 buildSource() { |
| 2111 var o = new api.Source(); | 2225 var o = new api.Source(); |
| 2112 buildCounterSource++; | 2226 buildCounterSource++; |
| 2113 if (buildCounterSource < 3) { | 2227 if (buildCounterSource < 3) { |
| 2114 o.baseSpecs = buildUnnamed3130(); | 2228 o.baseSpecs = buildUnnamed3539(); |
| 2115 o.codec = buildUnnamed3131(); | 2229 o.codec = buildUnnamed3540(); |
| 2116 o.doesNotNeedSplitting = true; | 2230 o.doesNotNeedSplitting = true; |
| 2117 o.metadata = buildSourceMetadata(); | 2231 o.metadata = buildSourceMetadata(); |
| 2118 o.spec = buildUnnamed3132(); | 2232 o.spec = buildUnnamed3541(); |
| 2119 } | 2233 } |
| 2120 buildCounterSource--; | 2234 buildCounterSource--; |
| 2121 return o; | 2235 return o; |
| 2122 } | 2236 } |
| 2123 | 2237 |
| 2124 checkSource(api.Source o) { | 2238 checkSource(api.Source o) { |
| 2125 buildCounterSource++; | 2239 buildCounterSource++; |
| 2126 if (buildCounterSource < 3) { | 2240 if (buildCounterSource < 3) { |
| 2127 checkUnnamed3130(o.baseSpecs); | 2241 checkUnnamed3539(o.baseSpecs); |
| 2128 checkUnnamed3131(o.codec); | 2242 checkUnnamed3540(o.codec); |
| 2129 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); | 2243 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); |
| 2130 checkSourceMetadata(o.metadata); | 2244 checkSourceMetadata(o.metadata); |
| 2131 checkUnnamed3132(o.spec); | 2245 checkUnnamed3541(o.spec); |
| 2132 } | 2246 } |
| 2133 buildCounterSource--; | 2247 buildCounterSource--; |
| 2134 } | 2248 } |
| 2135 | 2249 |
| 2136 core.int buildCounterSourceFork = 0; | 2250 core.int buildCounterSourceFork = 0; |
| 2137 buildSourceFork() { | 2251 buildSourceFork() { |
| 2138 var o = new api.SourceFork(); | 2252 var o = new api.SourceFork(); |
| 2139 buildCounterSourceFork++; | 2253 buildCounterSourceFork++; |
| 2140 if (buildCounterSourceFork < 3) { | 2254 if (buildCounterSourceFork < 3) { |
| 2141 o.primary = buildSourceSplitShard(); | 2255 o.primary = buildSourceSplitShard(); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2296 | 2410 |
| 2297 checkSourceSplitRequest(api.SourceSplitRequest o) { | 2411 checkSourceSplitRequest(api.SourceSplitRequest o) { |
| 2298 buildCounterSourceSplitRequest++; | 2412 buildCounterSourceSplitRequest++; |
| 2299 if (buildCounterSourceSplitRequest < 3) { | 2413 if (buildCounterSourceSplitRequest < 3) { |
| 2300 checkSourceSplitOptions(o.options); | 2414 checkSourceSplitOptions(o.options); |
| 2301 checkSource(o.source); | 2415 checkSource(o.source); |
| 2302 } | 2416 } |
| 2303 buildCounterSourceSplitRequest--; | 2417 buildCounterSourceSplitRequest--; |
| 2304 } | 2418 } |
| 2305 | 2419 |
| 2306 buildUnnamed3133() { | 2420 buildUnnamed3542() { |
| 2307 var o = new core.List<api.DerivedSource>(); | 2421 var o = new core.List<api.DerivedSource>(); |
| 2308 o.add(buildDerivedSource()); | 2422 o.add(buildDerivedSource()); |
| 2309 o.add(buildDerivedSource()); | 2423 o.add(buildDerivedSource()); |
| 2310 return o; | 2424 return o; |
| 2311 } | 2425 } |
| 2312 | 2426 |
| 2313 checkUnnamed3133(core.List<api.DerivedSource> o) { | 2427 checkUnnamed3542(core.List<api.DerivedSource> o) { |
| 2314 unittest.expect(o, unittest.hasLength(2)); | 2428 unittest.expect(o, unittest.hasLength(2)); |
| 2315 checkDerivedSource(o[0]); | 2429 checkDerivedSource(o[0]); |
| 2316 checkDerivedSource(o[1]); | 2430 checkDerivedSource(o[1]); |
| 2317 } | 2431 } |
| 2318 | 2432 |
| 2319 buildUnnamed3134() { | 2433 buildUnnamed3543() { |
| 2320 var o = new core.List<api.SourceSplitShard>(); | 2434 var o = new core.List<api.SourceSplitShard>(); |
| 2321 o.add(buildSourceSplitShard()); | 2435 o.add(buildSourceSplitShard()); |
| 2322 o.add(buildSourceSplitShard()); | 2436 o.add(buildSourceSplitShard()); |
| 2323 return o; | 2437 return o; |
| 2324 } | 2438 } |
| 2325 | 2439 |
| 2326 checkUnnamed3134(core.List<api.SourceSplitShard> o) { | 2440 checkUnnamed3543(core.List<api.SourceSplitShard> o) { |
| 2327 unittest.expect(o, unittest.hasLength(2)); | 2441 unittest.expect(o, unittest.hasLength(2)); |
| 2328 checkSourceSplitShard(o[0]); | 2442 checkSourceSplitShard(o[0]); |
| 2329 checkSourceSplitShard(o[1]); | 2443 checkSourceSplitShard(o[1]); |
| 2330 } | 2444 } |
| 2331 | 2445 |
| 2332 core.int buildCounterSourceSplitResponse = 0; | 2446 core.int buildCounterSourceSplitResponse = 0; |
| 2333 buildSourceSplitResponse() { | 2447 buildSourceSplitResponse() { |
| 2334 var o = new api.SourceSplitResponse(); | 2448 var o = new api.SourceSplitResponse(); |
| 2335 buildCounterSourceSplitResponse++; | 2449 buildCounterSourceSplitResponse++; |
| 2336 if (buildCounterSourceSplitResponse < 3) { | 2450 if (buildCounterSourceSplitResponse < 3) { |
| 2337 o.bundles = buildUnnamed3133(); | 2451 o.bundles = buildUnnamed3542(); |
| 2338 o.outcome = "foo"; | 2452 o.outcome = "foo"; |
| 2339 o.shards = buildUnnamed3134(); | 2453 o.shards = buildUnnamed3543(); |
| 2340 } | 2454 } |
| 2341 buildCounterSourceSplitResponse--; | 2455 buildCounterSourceSplitResponse--; |
| 2342 return o; | 2456 return o; |
| 2343 } | 2457 } |
| 2344 | 2458 |
| 2345 checkSourceSplitResponse(api.SourceSplitResponse o) { | 2459 checkSourceSplitResponse(api.SourceSplitResponse o) { |
| 2346 buildCounterSourceSplitResponse++; | 2460 buildCounterSourceSplitResponse++; |
| 2347 if (buildCounterSourceSplitResponse < 3) { | 2461 if (buildCounterSourceSplitResponse < 3) { |
| 2348 checkUnnamed3133(o.bundles); | 2462 checkUnnamed3542(o.bundles); |
| 2349 unittest.expect(o.outcome, unittest.equals('foo')); | 2463 unittest.expect(o.outcome, unittest.equals('foo')); |
| 2350 checkUnnamed3134(o.shards); | 2464 checkUnnamed3543(o.shards); |
| 2351 } | 2465 } |
| 2352 buildCounterSourceSplitResponse--; | 2466 buildCounterSourceSplitResponse--; |
| 2353 } | 2467 } |
| 2354 | 2468 |
| 2355 core.int buildCounterSourceSplitShard = 0; | 2469 core.int buildCounterSourceSplitShard = 0; |
| 2356 buildSourceSplitShard() { | 2470 buildSourceSplitShard() { |
| 2357 var o = new api.SourceSplitShard(); | 2471 var o = new api.SourceSplitShard(); |
| 2358 buildCounterSourceSplitShard++; | 2472 buildCounterSourceSplitShard++; |
| 2359 if (buildCounterSourceSplitShard < 3) { | 2473 if (buildCounterSourceSplitShard < 3) { |
| 2360 o.derivationMode = "foo"; | 2474 o.derivationMode = "foo"; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2408 | 2522 |
| 2409 checkStateFamilyConfig(api.StateFamilyConfig o) { | 2523 checkStateFamilyConfig(api.StateFamilyConfig o) { |
| 2410 buildCounterStateFamilyConfig++; | 2524 buildCounterStateFamilyConfig++; |
| 2411 if (buildCounterStateFamilyConfig < 3) { | 2525 if (buildCounterStateFamilyConfig < 3) { |
| 2412 unittest.expect(o.isRead, unittest.isTrue); | 2526 unittest.expect(o.isRead, unittest.isTrue); |
| 2413 unittest.expect(o.stateFamily, unittest.equals('foo')); | 2527 unittest.expect(o.stateFamily, unittest.equals('foo')); |
| 2414 } | 2528 } |
| 2415 buildCounterStateFamilyConfig--; | 2529 buildCounterStateFamilyConfig--; |
| 2416 } | 2530 } |
| 2417 | 2531 |
| 2418 buildUnnamed3135() { | 2532 buildUnnamed3544() { |
| 2419 var o = new core.Map<core.String, core.Object>(); | 2533 var o = new core.Map<core.String, core.Object>(); |
| 2420 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2534 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2421 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2535 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2422 return o; | 2536 return o; |
| 2423 } | 2537 } |
| 2424 | 2538 |
| 2425 checkUnnamed3135(core.Map<core.String, core.Object> o) { | 2539 checkUnnamed3544(core.Map<core.String, core.Object> o) { |
| 2426 unittest.expect(o, unittest.hasLength(2)); | 2540 unittest.expect(o, unittest.hasLength(2)); |
| 2427 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')); | 2541 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')); |
| 2428 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')); | 2542 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')); |
| 2429 } | 2543 } |
| 2430 | 2544 |
| 2431 buildUnnamed3136() { | 2545 buildUnnamed3545() { |
| 2432 var o = new core.List<core.Map<core.String, core.Object>>(); | 2546 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2433 o.add(buildUnnamed3135()); | 2547 o.add(buildUnnamed3544()); |
| 2434 o.add(buildUnnamed3135()); | 2548 o.add(buildUnnamed3544()); |
| 2435 return o; | 2549 return o; |
| 2436 } | 2550 } |
| 2437 | 2551 |
| 2438 checkUnnamed3136(core.List<core.Map<core.String, core.Object>> o) { | 2552 checkUnnamed3545(core.List<core.Map<core.String, core.Object>> o) { |
| 2439 unittest.expect(o, unittest.hasLength(2)); | 2553 unittest.expect(o, unittest.hasLength(2)); |
| 2440 checkUnnamed3135(o[0]); | 2554 checkUnnamed3544(o[0]); |
| 2441 checkUnnamed3135(o[1]); | 2555 checkUnnamed3544(o[1]); |
| 2442 } | 2556 } |
| 2443 | 2557 |
| 2444 core.int buildCounterStatus = 0; | 2558 core.int buildCounterStatus = 0; |
| 2445 buildStatus() { | 2559 buildStatus() { |
| 2446 var o = new api.Status(); | 2560 var o = new api.Status(); |
| 2447 buildCounterStatus++; | 2561 buildCounterStatus++; |
| 2448 if (buildCounterStatus < 3) { | 2562 if (buildCounterStatus < 3) { |
| 2449 o.code = 42; | 2563 o.code = 42; |
| 2450 o.details = buildUnnamed3136(); | 2564 o.details = buildUnnamed3545(); |
| 2451 o.message = "foo"; | 2565 o.message = "foo"; |
| 2452 } | 2566 } |
| 2453 buildCounterStatus--; | 2567 buildCounterStatus--; |
| 2454 return o; | 2568 return o; |
| 2455 } | 2569 } |
| 2456 | 2570 |
| 2457 checkStatus(api.Status o) { | 2571 checkStatus(api.Status o) { |
| 2458 buildCounterStatus++; | 2572 buildCounterStatus++; |
| 2459 if (buildCounterStatus < 3) { | 2573 if (buildCounterStatus < 3) { |
| 2460 unittest.expect(o.code, unittest.equals(42)); | 2574 unittest.expect(o.code, unittest.equals(42)); |
| 2461 checkUnnamed3136(o.details); | 2575 checkUnnamed3545(o.details); |
| 2462 unittest.expect(o.message, unittest.equals('foo')); | 2576 unittest.expect(o.message, unittest.equals('foo')); |
| 2463 } | 2577 } |
| 2464 buildCounterStatus--; | 2578 buildCounterStatus--; |
| 2465 } | 2579 } |
| 2466 | 2580 |
| 2467 buildUnnamed3137() { | 2581 buildUnnamed3546() { |
| 2468 var o = new core.Map<core.String, core.Object>(); | 2582 var o = new core.Map<core.String, core.Object>(); |
| 2469 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2583 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2470 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2584 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2471 return o; | 2585 return o; |
| 2472 } | 2586 } |
| 2473 | 2587 |
| 2474 checkUnnamed3137(core.Map<core.String, core.Object> o) { | 2588 checkUnnamed3546(core.Map<core.String, core.Object> o) { |
| 2475 unittest.expect(o, unittest.hasLength(2)); | 2589 unittest.expect(o, unittest.hasLength(2)); |
| 2476 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')); | 2590 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')); |
| 2477 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')); | 2591 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')); |
| 2478 } | 2592 } |
| 2479 | 2593 |
| 2480 core.int buildCounterStep = 0; | 2594 core.int buildCounterStep = 0; |
| 2481 buildStep() { | 2595 buildStep() { |
| 2482 var o = new api.Step(); | 2596 var o = new api.Step(); |
| 2483 buildCounterStep++; | 2597 buildCounterStep++; |
| 2484 if (buildCounterStep < 3) { | 2598 if (buildCounterStep < 3) { |
| 2485 o.kind = "foo"; | 2599 o.kind = "foo"; |
| 2486 o.name = "foo"; | 2600 o.name = "foo"; |
| 2487 o.properties = buildUnnamed3137(); | 2601 o.properties = buildUnnamed3546(); |
| 2488 } | 2602 } |
| 2489 buildCounterStep--; | 2603 buildCounterStep--; |
| 2490 return o; | 2604 return o; |
| 2491 } | 2605 } |
| 2492 | 2606 |
| 2493 checkStep(api.Step o) { | 2607 checkStep(api.Step o) { |
| 2494 buildCounterStep++; | 2608 buildCounterStep++; |
| 2495 if (buildCounterStep < 3) { | 2609 if (buildCounterStep < 3) { |
| 2496 unittest.expect(o.kind, unittest.equals('foo')); | 2610 unittest.expect(o.kind, unittest.equals('foo')); |
| 2497 unittest.expect(o.name, unittest.equals('foo')); | 2611 unittest.expect(o.name, unittest.equals('foo')); |
| 2498 checkUnnamed3137(o.properties); | 2612 checkUnnamed3546(o.properties); |
| 2499 } | 2613 } |
| 2500 buildCounterStep--; | 2614 buildCounterStep--; |
| 2501 } | 2615 } |
| 2502 | 2616 |
| 2503 core.int buildCounterStreamLocation = 0; | 2617 core.int buildCounterStreamLocation = 0; |
| 2504 buildStreamLocation() { | 2618 buildStreamLocation() { |
| 2505 var o = new api.StreamLocation(); | 2619 var o = new api.StreamLocation(); |
| 2506 buildCounterStreamLocation++; | 2620 buildCounterStreamLocation++; |
| 2507 if (buildCounterStreamLocation < 3) { | 2621 if (buildCounterStreamLocation < 3) { |
| 2508 o.customSourceLocation = buildCustomSourceLocation(); | 2622 o.customSourceLocation = buildCustomSourceLocation(); |
| 2509 o.pubsubLocation = buildPubsubLocation(); | 2623 o.pubsubLocation = buildPubsubLocation(); |
| 2510 o.sideInputLocation = buildStreamingSideInputLocation(); | 2624 o.sideInputLocation = buildStreamingSideInputLocation(); |
| 2511 o.streamingStageLocation = buildStreamingStageLocation(); | 2625 o.streamingStageLocation = buildStreamingStageLocation(); |
| 2512 } | 2626 } |
| 2513 buildCounterStreamLocation--; | 2627 buildCounterStreamLocation--; |
| 2514 return o; | 2628 return o; |
| 2515 } | 2629 } |
| 2516 | 2630 |
| 2517 checkStreamLocation(api.StreamLocation o) { | 2631 checkStreamLocation(api.StreamLocation o) { |
| 2518 buildCounterStreamLocation++; | 2632 buildCounterStreamLocation++; |
| 2519 if (buildCounterStreamLocation < 3) { | 2633 if (buildCounterStreamLocation < 3) { |
| 2520 checkCustomSourceLocation(o.customSourceLocation); | 2634 checkCustomSourceLocation(o.customSourceLocation); |
| 2521 checkPubsubLocation(o.pubsubLocation); | 2635 checkPubsubLocation(o.pubsubLocation); |
| 2522 checkStreamingSideInputLocation(o.sideInputLocation); | 2636 checkStreamingSideInputLocation(o.sideInputLocation); |
| 2523 checkStreamingStageLocation(o.streamingStageLocation); | 2637 checkStreamingStageLocation(o.streamingStageLocation); |
| 2524 } | 2638 } |
| 2525 buildCounterStreamLocation--; | 2639 buildCounterStreamLocation--; |
| 2526 } | 2640 } |
| 2527 | 2641 |
| 2528 buildUnnamed3138() { | 2642 buildUnnamed3547() { |
| 2529 var o = new core.List<api.ParallelInstruction>(); | 2643 var o = new core.List<api.ParallelInstruction>(); |
| 2530 o.add(buildParallelInstruction()); | 2644 o.add(buildParallelInstruction()); |
| 2531 o.add(buildParallelInstruction()); | 2645 o.add(buildParallelInstruction()); |
| 2532 return o; | 2646 return o; |
| 2533 } | 2647 } |
| 2534 | 2648 |
| 2535 checkUnnamed3138(core.List<api.ParallelInstruction> o) { | 2649 checkUnnamed3547(core.List<api.ParallelInstruction> o) { |
| 2536 unittest.expect(o, unittest.hasLength(2)); | 2650 unittest.expect(o, unittest.hasLength(2)); |
| 2537 checkParallelInstruction(o[0]); | 2651 checkParallelInstruction(o[0]); |
| 2538 checkParallelInstruction(o[1]); | 2652 checkParallelInstruction(o[1]); |
| 2539 } | 2653 } |
| 2540 | 2654 |
| 2541 core.int buildCounterStreamingComputationConfig = 0; | 2655 core.int buildCounterStreamingComputationConfig = 0; |
| 2542 buildStreamingComputationConfig() { | 2656 buildStreamingComputationConfig() { |
| 2543 var o = new api.StreamingComputationConfig(); | 2657 var o = new api.StreamingComputationConfig(); |
| 2544 buildCounterStreamingComputationConfig++; | 2658 buildCounterStreamingComputationConfig++; |
| 2545 if (buildCounterStreamingComputationConfig < 3) { | 2659 if (buildCounterStreamingComputationConfig < 3) { |
| 2546 o.computationId = "foo"; | 2660 o.computationId = "foo"; |
| 2547 o.instructions = buildUnnamed3138(); | 2661 o.instructions = buildUnnamed3547(); |
| 2548 o.stageName = "foo"; | 2662 o.stageName = "foo"; |
| 2549 o.systemName = "foo"; | 2663 o.systemName = "foo"; |
| 2550 } | 2664 } |
| 2551 buildCounterStreamingComputationConfig--; | 2665 buildCounterStreamingComputationConfig--; |
| 2552 return o; | 2666 return o; |
| 2553 } | 2667 } |
| 2554 | 2668 |
| 2555 checkStreamingComputationConfig(api.StreamingComputationConfig o) { | 2669 checkStreamingComputationConfig(api.StreamingComputationConfig o) { |
| 2556 buildCounterStreamingComputationConfig++; | 2670 buildCounterStreamingComputationConfig++; |
| 2557 if (buildCounterStreamingComputationConfig < 3) { | 2671 if (buildCounterStreamingComputationConfig < 3) { |
| 2558 unittest.expect(o.computationId, unittest.equals('foo')); | 2672 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2559 checkUnnamed3138(o.instructions); | 2673 checkUnnamed3547(o.instructions); |
| 2560 unittest.expect(o.stageName, unittest.equals('foo')); | 2674 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2561 unittest.expect(o.systemName, unittest.equals('foo')); | 2675 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2562 } | 2676 } |
| 2563 buildCounterStreamingComputationConfig--; | 2677 buildCounterStreamingComputationConfig--; |
| 2564 } | 2678 } |
| 2565 | 2679 |
| 2566 buildUnnamed3139() { | 2680 buildUnnamed3548() { |
| 2567 var o = new core.List<api.KeyRangeDataDiskAssignment>(); | 2681 var o = new core.List<api.KeyRangeDataDiskAssignment>(); |
| 2568 o.add(buildKeyRangeDataDiskAssignment()); | 2682 o.add(buildKeyRangeDataDiskAssignment()); |
| 2569 o.add(buildKeyRangeDataDiskAssignment()); | 2683 o.add(buildKeyRangeDataDiskAssignment()); |
| 2570 return o; | 2684 return o; |
| 2571 } | 2685 } |
| 2572 | 2686 |
| 2573 checkUnnamed3139(core.List<api.KeyRangeDataDiskAssignment> o) { | 2687 checkUnnamed3548(core.List<api.KeyRangeDataDiskAssignment> o) { |
| 2574 unittest.expect(o, unittest.hasLength(2)); | 2688 unittest.expect(o, unittest.hasLength(2)); |
| 2575 checkKeyRangeDataDiskAssignment(o[0]); | 2689 checkKeyRangeDataDiskAssignment(o[0]); |
| 2576 checkKeyRangeDataDiskAssignment(o[1]); | 2690 checkKeyRangeDataDiskAssignment(o[1]); |
| 2577 } | 2691 } |
| 2578 | 2692 |
| 2579 core.int buildCounterStreamingComputationRanges = 0; | 2693 core.int buildCounterStreamingComputationRanges = 0; |
| 2580 buildStreamingComputationRanges() { | 2694 buildStreamingComputationRanges() { |
| 2581 var o = new api.StreamingComputationRanges(); | 2695 var o = new api.StreamingComputationRanges(); |
| 2582 buildCounterStreamingComputationRanges++; | 2696 buildCounterStreamingComputationRanges++; |
| 2583 if (buildCounterStreamingComputationRanges < 3) { | 2697 if (buildCounterStreamingComputationRanges < 3) { |
| 2584 o.computationId = "foo"; | 2698 o.computationId = "foo"; |
| 2585 o.rangeAssignments = buildUnnamed3139(); | 2699 o.rangeAssignments = buildUnnamed3548(); |
| 2586 } | 2700 } |
| 2587 buildCounterStreamingComputationRanges--; | 2701 buildCounterStreamingComputationRanges--; |
| 2588 return o; | 2702 return o; |
| 2589 } | 2703 } |
| 2590 | 2704 |
| 2591 checkStreamingComputationRanges(api.StreamingComputationRanges o) { | 2705 checkStreamingComputationRanges(api.StreamingComputationRanges o) { |
| 2592 buildCounterStreamingComputationRanges++; | 2706 buildCounterStreamingComputationRanges++; |
| 2593 if (buildCounterStreamingComputationRanges < 3) { | 2707 if (buildCounterStreamingComputationRanges < 3) { |
| 2594 unittest.expect(o.computationId, unittest.equals('foo')); | 2708 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2595 checkUnnamed3139(o.rangeAssignments); | 2709 checkUnnamed3548(o.rangeAssignments); |
| 2596 } | 2710 } |
| 2597 buildCounterStreamingComputationRanges--; | 2711 buildCounterStreamingComputationRanges--; |
| 2598 } | 2712 } |
| 2599 | 2713 |
| 2600 buildUnnamed3140() { | 2714 buildUnnamed3549() { |
| 2601 var o = new core.List<api.StreamingComputationRanges>(); | 2715 var o = new core.List<api.StreamingComputationRanges>(); |
| 2602 o.add(buildStreamingComputationRanges()); | 2716 o.add(buildStreamingComputationRanges()); |
| 2603 o.add(buildStreamingComputationRanges()); | 2717 o.add(buildStreamingComputationRanges()); |
| 2604 return o; | 2718 return o; |
| 2605 } | 2719 } |
| 2606 | 2720 |
| 2607 checkUnnamed3140(core.List<api.StreamingComputationRanges> o) { | 2721 checkUnnamed3549(core.List<api.StreamingComputationRanges> o) { |
| 2608 unittest.expect(o, unittest.hasLength(2)); | 2722 unittest.expect(o, unittest.hasLength(2)); |
| 2609 checkStreamingComputationRanges(o[0]); | 2723 checkStreamingComputationRanges(o[0]); |
| 2610 checkStreamingComputationRanges(o[1]); | 2724 checkStreamingComputationRanges(o[1]); |
| 2611 } | 2725 } |
| 2612 | 2726 |
| 2613 buildUnnamed3141() { | 2727 buildUnnamed3550() { |
| 2614 var o = new core.List<api.MountedDataDisk>(); | 2728 var o = new core.List<api.MountedDataDisk>(); |
| 2615 o.add(buildMountedDataDisk()); | 2729 o.add(buildMountedDataDisk()); |
| 2616 o.add(buildMountedDataDisk()); | 2730 o.add(buildMountedDataDisk()); |
| 2617 return o; | 2731 return o; |
| 2618 } | 2732 } |
| 2619 | 2733 |
| 2620 checkUnnamed3141(core.List<api.MountedDataDisk> o) { | 2734 checkUnnamed3550(core.List<api.MountedDataDisk> o) { |
| 2621 unittest.expect(o, unittest.hasLength(2)); | 2735 unittest.expect(o, unittest.hasLength(2)); |
| 2622 checkMountedDataDisk(o[0]); | 2736 checkMountedDataDisk(o[0]); |
| 2623 checkMountedDataDisk(o[1]); | 2737 checkMountedDataDisk(o[1]); |
| 2624 } | 2738 } |
| 2625 | 2739 |
| 2626 core.int buildCounterStreamingComputationTask = 0; | 2740 core.int buildCounterStreamingComputationTask = 0; |
| 2627 buildStreamingComputationTask() { | 2741 buildStreamingComputationTask() { |
| 2628 var o = new api.StreamingComputationTask(); | 2742 var o = new api.StreamingComputationTask(); |
| 2629 buildCounterStreamingComputationTask++; | 2743 buildCounterStreamingComputationTask++; |
| 2630 if (buildCounterStreamingComputationTask < 3) { | 2744 if (buildCounterStreamingComputationTask < 3) { |
| 2631 o.computationRanges = buildUnnamed3140(); | 2745 o.computationRanges = buildUnnamed3549(); |
| 2632 o.dataDisks = buildUnnamed3141(); | 2746 o.dataDisks = buildUnnamed3550(); |
| 2633 o.taskType = "foo"; | 2747 o.taskType = "foo"; |
| 2634 } | 2748 } |
| 2635 buildCounterStreamingComputationTask--; | 2749 buildCounterStreamingComputationTask--; |
| 2636 return o; | 2750 return o; |
| 2637 } | 2751 } |
| 2638 | 2752 |
| 2639 checkStreamingComputationTask(api.StreamingComputationTask o) { | 2753 checkStreamingComputationTask(api.StreamingComputationTask o) { |
| 2640 buildCounterStreamingComputationTask++; | 2754 buildCounterStreamingComputationTask++; |
| 2641 if (buildCounterStreamingComputationTask < 3) { | 2755 if (buildCounterStreamingComputationTask < 3) { |
| 2642 checkUnnamed3140(o.computationRanges); | 2756 checkUnnamed3549(o.computationRanges); |
| 2643 checkUnnamed3141(o.dataDisks); | 2757 checkUnnamed3550(o.dataDisks); |
| 2644 unittest.expect(o.taskType, unittest.equals('foo')); | 2758 unittest.expect(o.taskType, unittest.equals('foo')); |
| 2645 } | 2759 } |
| 2646 buildCounterStreamingComputationTask--; | 2760 buildCounterStreamingComputationTask--; |
| 2647 } | 2761 } |
| 2648 | 2762 |
| 2649 buildUnnamed3142() { | 2763 buildUnnamed3551() { |
| 2650 var o = new core.List<api.StreamingComputationConfig>(); | 2764 var o = new core.List<api.StreamingComputationConfig>(); |
| 2651 o.add(buildStreamingComputationConfig()); | 2765 o.add(buildStreamingComputationConfig()); |
| 2652 o.add(buildStreamingComputationConfig()); | 2766 o.add(buildStreamingComputationConfig()); |
| 2653 return o; | 2767 return o; |
| 2654 } | 2768 } |
| 2655 | 2769 |
| 2656 checkUnnamed3142(core.List<api.StreamingComputationConfig> o) { | 2770 checkUnnamed3551(core.List<api.StreamingComputationConfig> o) { |
| 2657 unittest.expect(o, unittest.hasLength(2)); | 2771 unittest.expect(o, unittest.hasLength(2)); |
| 2658 checkStreamingComputationConfig(o[0]); | 2772 checkStreamingComputationConfig(o[0]); |
| 2659 checkStreamingComputationConfig(o[1]); | 2773 checkStreamingComputationConfig(o[1]); |
| 2660 } | 2774 } |
| 2661 | 2775 |
| 2662 buildUnnamed3143() { | 2776 buildUnnamed3552() { |
| 2663 var o = new core.Map<core.String, core.String>(); | 2777 var o = new core.Map<core.String, core.String>(); |
| 2664 o["x"] = "foo"; | 2778 o["x"] = "foo"; |
| 2665 o["y"] = "foo"; | 2779 o["y"] = "foo"; |
| 2666 return o; | 2780 return o; |
| 2667 } | 2781 } |
| 2668 | 2782 |
| 2669 checkUnnamed3143(core.Map<core.String, core.String> o) { | 2783 checkUnnamed3552(core.Map<core.String, core.String> o) { |
| 2670 unittest.expect(o, unittest.hasLength(2)); | 2784 unittest.expect(o, unittest.hasLength(2)); |
| 2671 unittest.expect(o["x"], unittest.equals('foo')); | 2785 unittest.expect(o["x"], unittest.equals('foo')); |
| 2672 unittest.expect(o["y"], unittest.equals('foo')); | 2786 unittest.expect(o["y"], unittest.equals('foo')); |
| 2673 } | 2787 } |
| 2674 | 2788 |
| 2675 core.int buildCounterStreamingConfigTask = 0; | 2789 core.int buildCounterStreamingConfigTask = 0; |
| 2676 buildStreamingConfigTask() { | 2790 buildStreamingConfigTask() { |
| 2677 var o = new api.StreamingConfigTask(); | 2791 var o = new api.StreamingConfigTask(); |
| 2678 buildCounterStreamingConfigTask++; | 2792 buildCounterStreamingConfigTask++; |
| 2679 if (buildCounterStreamingConfigTask < 3) { | 2793 if (buildCounterStreamingConfigTask < 3) { |
| 2680 o.streamingComputationConfigs = buildUnnamed3142(); | 2794 o.streamingComputationConfigs = buildUnnamed3551(); |
| 2681 o.userStepToStateFamilyNameMap = buildUnnamed3143(); | 2795 o.userStepToStateFamilyNameMap = buildUnnamed3552(); |
| 2682 } | 2796 } |
| 2683 buildCounterStreamingConfigTask--; | 2797 buildCounterStreamingConfigTask--; |
| 2684 return o; | 2798 return o; |
| 2685 } | 2799 } |
| 2686 | 2800 |
| 2687 checkStreamingConfigTask(api.StreamingConfigTask o) { | 2801 checkStreamingConfigTask(api.StreamingConfigTask o) { |
| 2688 buildCounterStreamingConfigTask++; | 2802 buildCounterStreamingConfigTask++; |
| 2689 if (buildCounterStreamingConfigTask < 3) { | 2803 if (buildCounterStreamingConfigTask < 3) { |
| 2690 checkUnnamed3142(o.streamingComputationConfigs); | 2804 checkUnnamed3551(o.streamingComputationConfigs); |
| 2691 checkUnnamed3143(o.userStepToStateFamilyNameMap); | 2805 checkUnnamed3552(o.userStepToStateFamilyNameMap); |
| 2692 } | 2806 } |
| 2693 buildCounterStreamingConfigTask--; | 2807 buildCounterStreamingConfigTask--; |
| 2694 } | 2808 } |
| 2695 | 2809 |
| 2696 core.int buildCounterStreamingSetupTask = 0; | 2810 core.int buildCounterStreamingSetupTask = 0; |
| 2697 buildStreamingSetupTask() { | 2811 buildStreamingSetupTask() { |
| 2698 var o = new api.StreamingSetupTask(); | 2812 var o = new api.StreamingSetupTask(); |
| 2699 buildCounterStreamingSetupTask++; | 2813 buildCounterStreamingSetupTask++; |
| 2700 if (buildCounterStreamingSetupTask < 3) { | 2814 if (buildCounterStreamingSetupTask < 3) { |
| 2701 o.drain = true; | 2815 o.drain = true; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2751 } | 2865 } |
| 2752 | 2866 |
| 2753 checkStreamingStageLocation(api.StreamingStageLocation o) { | 2867 checkStreamingStageLocation(api.StreamingStageLocation o) { |
| 2754 buildCounterStreamingStageLocation++; | 2868 buildCounterStreamingStageLocation++; |
| 2755 if (buildCounterStreamingStageLocation < 3) { | 2869 if (buildCounterStreamingStageLocation < 3) { |
| 2756 unittest.expect(o.streamId, unittest.equals('foo')); | 2870 unittest.expect(o.streamId, unittest.equals('foo')); |
| 2757 } | 2871 } |
| 2758 buildCounterStreamingStageLocation--; | 2872 buildCounterStreamingStageLocation--; |
| 2759 } | 2873 } |
| 2760 | 2874 |
| 2761 buildUnnamed3144() { | 2875 buildUnnamed3553() { |
| 2762 var o = new core.List<core.String>(); | 2876 var o = new core.List<core.String>(); |
| 2763 o.add("foo"); | 2877 o.add("foo"); |
| 2764 o.add("foo"); | 2878 o.add("foo"); |
| 2765 return o; | 2879 return o; |
| 2766 } | 2880 } |
| 2767 | 2881 |
| 2768 checkUnnamed3144(core.List<core.String> o) { | 2882 checkUnnamed3553(core.List<core.String> o) { |
| 2769 unittest.expect(o, unittest.hasLength(2)); | 2883 unittest.expect(o, unittest.hasLength(2)); |
| 2770 unittest.expect(o[0], unittest.equals('foo')); | 2884 unittest.expect(o[0], unittest.equals('foo')); |
| 2771 unittest.expect(o[1], unittest.equals('foo')); | 2885 unittest.expect(o[1], unittest.equals('foo')); |
| 2772 } | 2886 } |
| 2773 | 2887 |
| 2774 core.int buildCounterStringList = 0; | 2888 core.int buildCounterStringList = 0; |
| 2775 buildStringList() { | 2889 buildStringList() { |
| 2776 var o = new api.StringList(); | 2890 var o = new api.StringList(); |
| 2777 buildCounterStringList++; | 2891 buildCounterStringList++; |
| 2778 if (buildCounterStringList < 3) { | 2892 if (buildCounterStringList < 3) { |
| 2779 o.elements = buildUnnamed3144(); | 2893 o.elements = buildUnnamed3553(); |
| 2780 } | 2894 } |
| 2781 buildCounterStringList--; | 2895 buildCounterStringList--; |
| 2782 return o; | 2896 return o; |
| 2783 } | 2897 } |
| 2784 | 2898 |
| 2785 checkStringList(api.StringList o) { | 2899 checkStringList(api.StringList o) { |
| 2786 buildCounterStringList++; | 2900 buildCounterStringList++; |
| 2787 if (buildCounterStringList < 3) { | 2901 if (buildCounterStringList < 3) { |
| 2788 checkUnnamed3144(o.elements); | 2902 checkUnnamed3553(o.elements); |
| 2789 } | 2903 } |
| 2790 buildCounterStringList--; | 2904 buildCounterStringList--; |
| 2791 } | 2905 } |
| 2792 | 2906 |
| 2793 buildUnnamed3145() { | 2907 buildUnnamed3554() { |
| 2794 var o = new core.List<core.String>(); | 2908 var o = new core.List<core.String>(); |
| 2795 o.add("foo"); | 2909 o.add("foo"); |
| 2796 o.add("foo"); | 2910 o.add("foo"); |
| 2797 return o; | 2911 return o; |
| 2798 } | 2912 } |
| 2799 | 2913 |
| 2800 checkUnnamed3145(core.List<core.String> o) { | 2914 checkUnnamed3554(core.List<core.String> o) { |
| 2801 unittest.expect(o, unittest.hasLength(2)); | 2915 unittest.expect(o, unittest.hasLength(2)); |
| 2802 unittest.expect(o[0], unittest.equals('foo')); | 2916 unittest.expect(o[0], unittest.equals('foo')); |
| 2803 unittest.expect(o[1], unittest.equals('foo')); | 2917 unittest.expect(o[1], unittest.equals('foo')); |
| 2804 } | 2918 } |
| 2805 | 2919 |
| 2806 core.int buildCounterTaskRunnerSettings = 0; | 2920 core.int buildCounterTaskRunnerSettings = 0; |
| 2807 buildTaskRunnerSettings() { | 2921 buildTaskRunnerSettings() { |
| 2808 var o = new api.TaskRunnerSettings(); | 2922 var o = new api.TaskRunnerSettings(); |
| 2809 buildCounterTaskRunnerSettings++; | 2923 buildCounterTaskRunnerSettings++; |
| 2810 if (buildCounterTaskRunnerSettings < 3) { | 2924 if (buildCounterTaskRunnerSettings < 3) { |
| 2811 o.alsologtostderr = true; | 2925 o.alsologtostderr = true; |
| 2812 o.baseTaskDir = "foo"; | 2926 o.baseTaskDir = "foo"; |
| 2813 o.baseUrl = "foo"; | 2927 o.baseUrl = "foo"; |
| 2814 o.commandlinesFileName = "foo"; | 2928 o.commandlinesFileName = "foo"; |
| 2815 o.continueOnException = true; | 2929 o.continueOnException = true; |
| 2816 o.dataflowApiVersion = "foo"; | 2930 o.dataflowApiVersion = "foo"; |
| 2817 o.harnessCommand = "foo"; | 2931 o.harnessCommand = "foo"; |
| 2818 o.languageHint = "foo"; | 2932 o.languageHint = "foo"; |
| 2819 o.logDir = "foo"; | 2933 o.logDir = "foo"; |
| 2820 o.logToSerialconsole = true; | 2934 o.logToSerialconsole = true; |
| 2821 o.logUploadLocation = "foo"; | 2935 o.logUploadLocation = "foo"; |
| 2822 o.oauthScopes = buildUnnamed3145(); | 2936 o.oauthScopes = buildUnnamed3554(); |
| 2823 o.parallelWorkerSettings = buildWorkerSettings(); | 2937 o.parallelWorkerSettings = buildWorkerSettings(); |
| 2824 o.streamingWorkerMainClass = "foo"; | 2938 o.streamingWorkerMainClass = "foo"; |
| 2825 o.taskGroup = "foo"; | 2939 o.taskGroup = "foo"; |
| 2826 o.taskUser = "foo"; | 2940 o.taskUser = "foo"; |
| 2827 o.tempStoragePrefix = "foo"; | 2941 o.tempStoragePrefix = "foo"; |
| 2828 o.vmId = "foo"; | 2942 o.vmId = "foo"; |
| 2829 o.workflowFileName = "foo"; | 2943 o.workflowFileName = "foo"; |
| 2830 } | 2944 } |
| 2831 buildCounterTaskRunnerSettings--; | 2945 buildCounterTaskRunnerSettings--; |
| 2832 return o; | 2946 return o; |
| 2833 } | 2947 } |
| 2834 | 2948 |
| 2835 checkTaskRunnerSettings(api.TaskRunnerSettings o) { | 2949 checkTaskRunnerSettings(api.TaskRunnerSettings o) { |
| 2836 buildCounterTaskRunnerSettings++; | 2950 buildCounterTaskRunnerSettings++; |
| 2837 if (buildCounterTaskRunnerSettings < 3) { | 2951 if (buildCounterTaskRunnerSettings < 3) { |
| 2838 unittest.expect(o.alsologtostderr, unittest.isTrue); | 2952 unittest.expect(o.alsologtostderr, unittest.isTrue); |
| 2839 unittest.expect(o.baseTaskDir, unittest.equals('foo')); | 2953 unittest.expect(o.baseTaskDir, unittest.equals('foo')); |
| 2840 unittest.expect(o.baseUrl, unittest.equals('foo')); | 2954 unittest.expect(o.baseUrl, unittest.equals('foo')); |
| 2841 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); | 2955 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); |
| 2842 unittest.expect(o.continueOnException, unittest.isTrue); | 2956 unittest.expect(o.continueOnException, unittest.isTrue); |
| 2843 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); | 2957 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); |
| 2844 unittest.expect(o.harnessCommand, unittest.equals('foo')); | 2958 unittest.expect(o.harnessCommand, unittest.equals('foo')); |
| 2845 unittest.expect(o.languageHint, unittest.equals('foo')); | 2959 unittest.expect(o.languageHint, unittest.equals('foo')); |
| 2846 unittest.expect(o.logDir, unittest.equals('foo')); | 2960 unittest.expect(o.logDir, unittest.equals('foo')); |
| 2847 unittest.expect(o.logToSerialconsole, unittest.isTrue); | 2961 unittest.expect(o.logToSerialconsole, unittest.isTrue); |
| 2848 unittest.expect(o.logUploadLocation, unittest.equals('foo')); | 2962 unittest.expect(o.logUploadLocation, unittest.equals('foo')); |
| 2849 checkUnnamed3145(o.oauthScopes); | 2963 checkUnnamed3554(o.oauthScopes); |
| 2850 checkWorkerSettings(o.parallelWorkerSettings); | 2964 checkWorkerSettings(o.parallelWorkerSettings); |
| 2851 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); | 2965 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); |
| 2852 unittest.expect(o.taskGroup, unittest.equals('foo')); | 2966 unittest.expect(o.taskGroup, unittest.equals('foo')); |
| 2853 unittest.expect(o.taskUser, unittest.equals('foo')); | 2967 unittest.expect(o.taskUser, unittest.equals('foo')); |
| 2854 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 2968 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 2855 unittest.expect(o.vmId, unittest.equals('foo')); | 2969 unittest.expect(o.vmId, unittest.equals('foo')); |
| 2856 unittest.expect(o.workflowFileName, unittest.equals('foo')); | 2970 unittest.expect(o.workflowFileName, unittest.equals('foo')); |
| 2857 } | 2971 } |
| 2858 buildCounterTaskRunnerSettings--; | 2972 buildCounterTaskRunnerSettings--; |
| 2859 } | 2973 } |
| 2860 | 2974 |
| 2861 buildUnnamed3146() { | 2975 buildUnnamed3555() { |
| 2862 var o = new core.List<api.ComputationTopology>(); | 2976 var o = new core.List<api.ComputationTopology>(); |
| 2863 o.add(buildComputationTopology()); | 2977 o.add(buildComputationTopology()); |
| 2864 o.add(buildComputationTopology()); | 2978 o.add(buildComputationTopology()); |
| 2865 return o; | 2979 return o; |
| 2866 } | 2980 } |
| 2867 | 2981 |
| 2868 checkUnnamed3146(core.List<api.ComputationTopology> o) { | 2982 checkUnnamed3555(core.List<api.ComputationTopology> o) { |
| 2869 unittest.expect(o, unittest.hasLength(2)); | 2983 unittest.expect(o, unittest.hasLength(2)); |
| 2870 checkComputationTopology(o[0]); | 2984 checkComputationTopology(o[0]); |
| 2871 checkComputationTopology(o[1]); | 2985 checkComputationTopology(o[1]); |
| 2872 } | 2986 } |
| 2873 | 2987 |
| 2874 buildUnnamed3147() { | 2988 buildUnnamed3556() { |
| 2875 var o = new core.List<api.DataDiskAssignment>(); | 2989 var o = new core.List<api.DataDiskAssignment>(); |
| 2876 o.add(buildDataDiskAssignment()); | 2990 o.add(buildDataDiskAssignment()); |
| 2877 o.add(buildDataDiskAssignment()); | 2991 o.add(buildDataDiskAssignment()); |
| 2878 return o; | 2992 return o; |
| 2879 } | 2993 } |
| 2880 | 2994 |
| 2881 checkUnnamed3147(core.List<api.DataDiskAssignment> o) { | 2995 checkUnnamed3556(core.List<api.DataDiskAssignment> o) { |
| 2882 unittest.expect(o, unittest.hasLength(2)); | 2996 unittest.expect(o, unittest.hasLength(2)); |
| 2883 checkDataDiskAssignment(o[0]); | 2997 checkDataDiskAssignment(o[0]); |
| 2884 checkDataDiskAssignment(o[1]); | 2998 checkDataDiskAssignment(o[1]); |
| 2885 } | 2999 } |
| 2886 | 3000 |
| 2887 buildUnnamed3148() { | 3001 buildUnnamed3557() { |
| 2888 var o = new core.Map<core.String, core.String>(); | 3002 var o = new core.Map<core.String, core.String>(); |
| 2889 o["x"] = "foo"; | 3003 o["x"] = "foo"; |
| 2890 o["y"] = "foo"; | 3004 o["y"] = "foo"; |
| 2891 return o; | 3005 return o; |
| 2892 } | 3006 } |
| 2893 | 3007 |
| 2894 checkUnnamed3148(core.Map<core.String, core.String> o) { | 3008 checkUnnamed3557(core.Map<core.String, core.String> o) { |
| 2895 unittest.expect(o, unittest.hasLength(2)); | 3009 unittest.expect(o, unittest.hasLength(2)); |
| 2896 unittest.expect(o["x"], unittest.equals('foo')); | 3010 unittest.expect(o["x"], unittest.equals('foo')); |
| 2897 unittest.expect(o["y"], unittest.equals('foo')); | 3011 unittest.expect(o["y"], unittest.equals('foo')); |
| 2898 } | 3012 } |
| 2899 | 3013 |
| 2900 core.int buildCounterTopologyConfig = 0; | 3014 core.int buildCounterTopologyConfig = 0; |
| 2901 buildTopologyConfig() { | 3015 buildTopologyConfig() { |
| 2902 var o = new api.TopologyConfig(); | 3016 var o = new api.TopologyConfig(); |
| 2903 buildCounterTopologyConfig++; | 3017 buildCounterTopologyConfig++; |
| 2904 if (buildCounterTopologyConfig < 3) { | 3018 if (buildCounterTopologyConfig < 3) { |
| 2905 o.computations = buildUnnamed3146(); | 3019 o.computations = buildUnnamed3555(); |
| 2906 o.dataDiskAssignments = buildUnnamed3147(); | 3020 o.dataDiskAssignments = buildUnnamed3556(); |
| 2907 o.forwardingKeyBits = 42; | 3021 o.forwardingKeyBits = 42; |
| 2908 o.persistentStateVersion = 42; | 3022 o.persistentStateVersion = 42; |
| 2909 o.userStageToComputationNameMap = buildUnnamed3148(); | 3023 o.userStageToComputationNameMap = buildUnnamed3557(); |
| 2910 } | 3024 } |
| 2911 buildCounterTopologyConfig--; | 3025 buildCounterTopologyConfig--; |
| 2912 return o; | 3026 return o; |
| 2913 } | 3027 } |
| 2914 | 3028 |
| 2915 checkTopologyConfig(api.TopologyConfig o) { | 3029 checkTopologyConfig(api.TopologyConfig o) { |
| 2916 buildCounterTopologyConfig++; | 3030 buildCounterTopologyConfig++; |
| 2917 if (buildCounterTopologyConfig < 3) { | 3031 if (buildCounterTopologyConfig < 3) { |
| 2918 checkUnnamed3146(o.computations); | 3032 checkUnnamed3555(o.computations); |
| 2919 checkUnnamed3147(o.dataDiskAssignments); | 3033 checkUnnamed3556(o.dataDiskAssignments); |
| 2920 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); | 3034 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); |
| 2921 unittest.expect(o.persistentStateVersion, unittest.equals(42)); | 3035 unittest.expect(o.persistentStateVersion, unittest.equals(42)); |
| 2922 checkUnnamed3148(o.userStageToComputationNameMap); | 3036 checkUnnamed3557(o.userStageToComputationNameMap); |
| 2923 } | 3037 } |
| 2924 buildCounterTopologyConfig--; | 3038 buildCounterTopologyConfig--; |
| 2925 } | 3039 } |
| 2926 | 3040 |
| 2927 buildUnnamed3149() { | 3041 buildUnnamed3558() { |
| 2928 var o = new core.List<api.Package>(); | 3042 var o = new core.List<api.Package>(); |
| 2929 o.add(buildPackage()); | 3043 o.add(buildPackage()); |
| 2930 o.add(buildPackage()); | 3044 o.add(buildPackage()); |
| 2931 return o; | 3045 return o; |
| 2932 } | 3046 } |
| 2933 | 3047 |
| 2934 checkUnnamed3149(core.List<api.Package> o) { | 3048 checkUnnamed3558(core.List<api.Package> o) { |
| 2935 unittest.expect(o, unittest.hasLength(2)); | 3049 unittest.expect(o, unittest.hasLength(2)); |
| 2936 checkPackage(o[0]); | 3050 checkPackage(o[0]); |
| 2937 checkPackage(o[1]); | 3051 checkPackage(o[1]); |
| 2938 } | 3052 } |
| 2939 | 3053 |
| 2940 core.int buildCounterWorkItem = 0; | 3054 core.int buildCounterWorkItem = 0; |
| 2941 buildWorkItem() { | 3055 buildWorkItem() { |
| 2942 var o = new api.WorkItem(); | 3056 var o = new api.WorkItem(); |
| 2943 buildCounterWorkItem++; | 3057 buildCounterWorkItem++; |
| 2944 if (buildCounterWorkItem < 3) { | 3058 if (buildCounterWorkItem < 3) { |
| 2945 o.configuration = "foo"; | 3059 o.configuration = "foo"; |
| 2946 o.id = "foo"; | 3060 o.id = "foo"; |
| 2947 o.initialReportIndex = "foo"; | 3061 o.initialReportIndex = "foo"; |
| 2948 o.jobId = "foo"; | 3062 o.jobId = "foo"; |
| 2949 o.leaseExpireTime = "foo"; | 3063 o.leaseExpireTime = "foo"; |
| 2950 o.mapTask = buildMapTask(); | 3064 o.mapTask = buildMapTask(); |
| 2951 o.packages = buildUnnamed3149(); | 3065 o.packages = buildUnnamed3558(); |
| 2952 o.projectId = "foo"; | 3066 o.projectId = "foo"; |
| 2953 o.reportStatusInterval = "foo"; | 3067 o.reportStatusInterval = "foo"; |
| 2954 o.seqMapTask = buildSeqMapTask(); | 3068 o.seqMapTask = buildSeqMapTask(); |
| 2955 o.shellTask = buildShellTask(); | 3069 o.shellTask = buildShellTask(); |
| 2956 o.sourceOperationTask = buildSourceOperationRequest(); | 3070 o.sourceOperationTask = buildSourceOperationRequest(); |
| 2957 o.streamingComputationTask = buildStreamingComputationTask(); | 3071 o.streamingComputationTask = buildStreamingComputationTask(); |
| 2958 o.streamingConfigTask = buildStreamingConfigTask(); | 3072 o.streamingConfigTask = buildStreamingConfigTask(); |
| 2959 o.streamingSetupTask = buildStreamingSetupTask(); | 3073 o.streamingSetupTask = buildStreamingSetupTask(); |
| 2960 } | 3074 } |
| 2961 buildCounterWorkItem--; | 3075 buildCounterWorkItem--; |
| 2962 return o; | 3076 return o; |
| 2963 } | 3077 } |
| 2964 | 3078 |
| 2965 checkWorkItem(api.WorkItem o) { | 3079 checkWorkItem(api.WorkItem o) { |
| 2966 buildCounterWorkItem++; | 3080 buildCounterWorkItem++; |
| 2967 if (buildCounterWorkItem < 3) { | 3081 if (buildCounterWorkItem < 3) { |
| 2968 unittest.expect(o.configuration, unittest.equals('foo')); | 3082 unittest.expect(o.configuration, unittest.equals('foo')); |
| 2969 unittest.expect(o.id, unittest.equals('foo')); | 3083 unittest.expect(o.id, unittest.equals('foo')); |
| 2970 unittest.expect(o.initialReportIndex, unittest.equals('foo')); | 3084 unittest.expect(o.initialReportIndex, unittest.equals('foo')); |
| 2971 unittest.expect(o.jobId, unittest.equals('foo')); | 3085 unittest.expect(o.jobId, unittest.equals('foo')); |
| 2972 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3086 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 2973 checkMapTask(o.mapTask); | 3087 checkMapTask(o.mapTask); |
| 2974 checkUnnamed3149(o.packages); | 3088 checkUnnamed3558(o.packages); |
| 2975 unittest.expect(o.projectId, unittest.equals('foo')); | 3089 unittest.expect(o.projectId, unittest.equals('foo')); |
| 2976 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3090 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 2977 checkSeqMapTask(o.seqMapTask); | 3091 checkSeqMapTask(o.seqMapTask); |
| 2978 checkShellTask(o.shellTask); | 3092 checkShellTask(o.shellTask); |
| 2979 checkSourceOperationRequest(o.sourceOperationTask); | 3093 checkSourceOperationRequest(o.sourceOperationTask); |
| 2980 checkStreamingComputationTask(o.streamingComputationTask); | 3094 checkStreamingComputationTask(o.streamingComputationTask); |
| 2981 checkStreamingConfigTask(o.streamingConfigTask); | 3095 checkStreamingConfigTask(o.streamingConfigTask); |
| 2982 checkStreamingSetupTask(o.streamingSetupTask); | 3096 checkStreamingSetupTask(o.streamingSetupTask); |
| 2983 } | 3097 } |
| 2984 buildCounterWorkItem--; | 3098 buildCounterWorkItem--; |
| 2985 } | 3099 } |
| 2986 | 3100 |
| 2987 buildUnnamed3150() { | 3101 buildUnnamed3559() { |
| 2988 var o = new core.Map<core.String, core.Object>(); | 3102 var o = new core.Map<core.String, core.Object>(); |
| 2989 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3103 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2990 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3104 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2991 return o; | 3105 return o; |
| 2992 } | 3106 } |
| 2993 | 3107 |
| 2994 checkUnnamed3150(core.Map<core.String, core.Object> o) { | 3108 checkUnnamed3559(core.Map<core.String, core.Object> o) { |
| 2995 unittest.expect(o, unittest.hasLength(2)); | 3109 unittest.expect(o, unittest.hasLength(2)); |
| 2996 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')); | 3110 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')); |
| 2997 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')); | 3111 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')); |
| 2998 } | 3112 } |
| 2999 | 3113 |
| 3000 buildUnnamed3151() { | 3114 buildUnnamed3560() { |
| 3001 var o = new core.List<api.MetricShortId>(); | 3115 var o = new core.List<api.MetricShortId>(); |
| 3002 o.add(buildMetricShortId()); | 3116 o.add(buildMetricShortId()); |
| 3003 o.add(buildMetricShortId()); | 3117 o.add(buildMetricShortId()); |
| 3004 return o; | 3118 return o; |
| 3005 } | 3119 } |
| 3006 | 3120 |
| 3007 checkUnnamed3151(core.List<api.MetricShortId> o) { | 3121 checkUnnamed3560(core.List<api.MetricShortId> o) { |
| 3008 unittest.expect(o, unittest.hasLength(2)); | 3122 unittest.expect(o, unittest.hasLength(2)); |
| 3009 checkMetricShortId(o[0]); | 3123 checkMetricShortId(o[0]); |
| 3010 checkMetricShortId(o[1]); | 3124 checkMetricShortId(o[1]); |
| 3011 } | 3125 } |
| 3012 | 3126 |
| 3013 core.int buildCounterWorkItemServiceState = 0; | 3127 core.int buildCounterWorkItemServiceState = 0; |
| 3014 buildWorkItemServiceState() { | 3128 buildWorkItemServiceState() { |
| 3015 var o = new api.WorkItemServiceState(); | 3129 var o = new api.WorkItemServiceState(); |
| 3016 buildCounterWorkItemServiceState++; | 3130 buildCounterWorkItemServiceState++; |
| 3017 if (buildCounterWorkItemServiceState < 3) { | 3131 if (buildCounterWorkItemServiceState < 3) { |
| 3018 o.harnessData = buildUnnamed3150(); | 3132 o.harnessData = buildUnnamed3559(); |
| 3019 o.leaseExpireTime = "foo"; | 3133 o.leaseExpireTime = "foo"; |
| 3020 o.metricShortId = buildUnnamed3151(); | 3134 o.metricShortId = buildUnnamed3560(); |
| 3021 o.nextReportIndex = "foo"; | 3135 o.nextReportIndex = "foo"; |
| 3022 o.reportStatusInterval = "foo"; | 3136 o.reportStatusInterval = "foo"; |
| 3023 o.splitRequest = buildApproximateSplitRequest(); | 3137 o.splitRequest = buildApproximateSplitRequest(); |
| 3024 o.suggestedStopPoint = buildApproximateProgress(); | 3138 o.suggestedStopPoint = buildApproximateProgress(); |
| 3025 o.suggestedStopPosition = buildPosition(); | 3139 o.suggestedStopPosition = buildPosition(); |
| 3026 } | 3140 } |
| 3027 buildCounterWorkItemServiceState--; | 3141 buildCounterWorkItemServiceState--; |
| 3028 return o; | 3142 return o; |
| 3029 } | 3143 } |
| 3030 | 3144 |
| 3031 checkWorkItemServiceState(api.WorkItemServiceState o) { | 3145 checkWorkItemServiceState(api.WorkItemServiceState o) { |
| 3032 buildCounterWorkItemServiceState++; | 3146 buildCounterWorkItemServiceState++; |
| 3033 if (buildCounterWorkItemServiceState < 3) { | 3147 if (buildCounterWorkItemServiceState < 3) { |
| 3034 checkUnnamed3150(o.harnessData); | 3148 checkUnnamed3559(o.harnessData); |
| 3035 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3149 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3036 checkUnnamed3151(o.metricShortId); | 3150 checkUnnamed3560(o.metricShortId); |
| 3037 unittest.expect(o.nextReportIndex, unittest.equals('foo')); | 3151 unittest.expect(o.nextReportIndex, unittest.equals('foo')); |
| 3038 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3152 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3039 checkApproximateSplitRequest(o.splitRequest); | 3153 checkApproximateSplitRequest(o.splitRequest); |
| 3040 checkApproximateProgress(o.suggestedStopPoint); | 3154 checkApproximateProgress(o.suggestedStopPoint); |
| 3041 checkPosition(o.suggestedStopPosition); | 3155 checkPosition(o.suggestedStopPosition); |
| 3042 } | 3156 } |
| 3043 buildCounterWorkItemServiceState--; | 3157 buildCounterWorkItemServiceState--; |
| 3044 } | 3158 } |
| 3045 | 3159 |
| 3046 buildUnnamed3152() { | 3160 buildUnnamed3561() { |
| 3047 var o = new core.List<api.CounterUpdate>(); | 3161 var o = new core.List<api.CounterUpdate>(); |
| 3048 o.add(buildCounterUpdate()); | 3162 o.add(buildCounterUpdate()); |
| 3049 o.add(buildCounterUpdate()); | 3163 o.add(buildCounterUpdate()); |
| 3050 return o; | 3164 return o; |
| 3051 } | 3165 } |
| 3052 | 3166 |
| 3053 checkUnnamed3152(core.List<api.CounterUpdate> o) { | 3167 checkUnnamed3561(core.List<api.CounterUpdate> o) { |
| 3054 unittest.expect(o, unittest.hasLength(2)); | 3168 unittest.expect(o, unittest.hasLength(2)); |
| 3055 checkCounterUpdate(o[0]); | 3169 checkCounterUpdate(o[0]); |
| 3056 checkCounterUpdate(o[1]); | 3170 checkCounterUpdate(o[1]); |
| 3057 } | 3171 } |
| 3058 | 3172 |
| 3059 buildUnnamed3153() { | 3173 buildUnnamed3562() { |
| 3060 var o = new core.List<api.Status>(); | 3174 var o = new core.List<api.Status>(); |
| 3061 o.add(buildStatus()); | 3175 o.add(buildStatus()); |
| 3062 o.add(buildStatus()); | 3176 o.add(buildStatus()); |
| 3063 return o; | 3177 return o; |
| 3064 } | 3178 } |
| 3065 | 3179 |
| 3066 checkUnnamed3153(core.List<api.Status> o) { | 3180 checkUnnamed3562(core.List<api.Status> o) { |
| 3067 unittest.expect(o, unittest.hasLength(2)); | 3181 unittest.expect(o, unittest.hasLength(2)); |
| 3068 checkStatus(o[0]); | 3182 checkStatus(o[0]); |
| 3069 checkStatus(o[1]); | 3183 checkStatus(o[1]); |
| 3070 } | 3184 } |
| 3071 | 3185 |
| 3072 buildUnnamed3154() { | 3186 buildUnnamed3563() { |
| 3073 var o = new core.List<api.MetricUpdate>(); | 3187 var o = new core.List<api.MetricUpdate>(); |
| 3074 o.add(buildMetricUpdate()); | 3188 o.add(buildMetricUpdate()); |
| 3075 o.add(buildMetricUpdate()); | 3189 o.add(buildMetricUpdate()); |
| 3076 return o; | 3190 return o; |
| 3077 } | 3191 } |
| 3078 | 3192 |
| 3079 checkUnnamed3154(core.List<api.MetricUpdate> o) { | 3193 checkUnnamed3563(core.List<api.MetricUpdate> o) { |
| 3080 unittest.expect(o, unittest.hasLength(2)); | 3194 unittest.expect(o, unittest.hasLength(2)); |
| 3081 checkMetricUpdate(o[0]); | 3195 checkMetricUpdate(o[0]); |
| 3082 checkMetricUpdate(o[1]); | 3196 checkMetricUpdate(o[1]); |
| 3083 } | 3197 } |
| 3084 | 3198 |
| 3085 core.int buildCounterWorkItemStatus = 0; | 3199 core.int buildCounterWorkItemStatus = 0; |
| 3086 buildWorkItemStatus() { | 3200 buildWorkItemStatus() { |
| 3087 var o = new api.WorkItemStatus(); | 3201 var o = new api.WorkItemStatus(); |
| 3088 buildCounterWorkItemStatus++; | 3202 buildCounterWorkItemStatus++; |
| 3089 if (buildCounterWorkItemStatus < 3) { | 3203 if (buildCounterWorkItemStatus < 3) { |
| 3090 o.completed = true; | 3204 o.completed = true; |
| 3091 o.counterUpdates = buildUnnamed3152(); | 3205 o.counterUpdates = buildUnnamed3561(); |
| 3092 o.dynamicSourceSplit = buildDynamicSourceSplit(); | 3206 o.dynamicSourceSplit = buildDynamicSourceSplit(); |
| 3093 o.errors = buildUnnamed3153(); | 3207 o.errors = buildUnnamed3562(); |
| 3094 o.metricUpdates = buildUnnamed3154(); | 3208 o.metricUpdates = buildUnnamed3563(); |
| 3095 o.progress = buildApproximateProgress(); | 3209 o.progress = buildApproximateProgress(); |
| 3096 o.reportIndex = "foo"; | 3210 o.reportIndex = "foo"; |
| 3097 o.reportedProgress = buildApproximateReportedProgress(); | 3211 o.reportedProgress = buildApproximateReportedProgress(); |
| 3098 o.requestedLeaseDuration = "foo"; | 3212 o.requestedLeaseDuration = "foo"; |
| 3099 o.sourceFork = buildSourceFork(); | 3213 o.sourceFork = buildSourceFork(); |
| 3100 o.sourceOperationResponse = buildSourceOperationResponse(); | 3214 o.sourceOperationResponse = buildSourceOperationResponse(); |
| 3101 o.stopPosition = buildPosition(); | 3215 o.stopPosition = buildPosition(); |
| 3102 o.workItemId = "foo"; | 3216 o.workItemId = "foo"; |
| 3103 } | 3217 } |
| 3104 buildCounterWorkItemStatus--; | 3218 buildCounterWorkItemStatus--; |
| 3105 return o; | 3219 return o; |
| 3106 } | 3220 } |
| 3107 | 3221 |
| 3108 checkWorkItemStatus(api.WorkItemStatus o) { | 3222 checkWorkItemStatus(api.WorkItemStatus o) { |
| 3109 buildCounterWorkItemStatus++; | 3223 buildCounterWorkItemStatus++; |
| 3110 if (buildCounterWorkItemStatus < 3) { | 3224 if (buildCounterWorkItemStatus < 3) { |
| 3111 unittest.expect(o.completed, unittest.isTrue); | 3225 unittest.expect(o.completed, unittest.isTrue); |
| 3112 checkUnnamed3152(o.counterUpdates); | 3226 checkUnnamed3561(o.counterUpdates); |
| 3113 checkDynamicSourceSplit(o.dynamicSourceSplit); | 3227 checkDynamicSourceSplit(o.dynamicSourceSplit); |
| 3114 checkUnnamed3153(o.errors); | 3228 checkUnnamed3562(o.errors); |
| 3115 checkUnnamed3154(o.metricUpdates); | 3229 checkUnnamed3563(o.metricUpdates); |
| 3116 checkApproximateProgress(o.progress); | 3230 checkApproximateProgress(o.progress); |
| 3117 unittest.expect(o.reportIndex, unittest.equals('foo')); | 3231 unittest.expect(o.reportIndex, unittest.equals('foo')); |
| 3118 checkApproximateReportedProgress(o.reportedProgress); | 3232 checkApproximateReportedProgress(o.reportedProgress); |
| 3119 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 3233 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 3120 checkSourceFork(o.sourceFork); | 3234 checkSourceFork(o.sourceFork); |
| 3121 checkSourceOperationResponse(o.sourceOperationResponse); | 3235 checkSourceOperationResponse(o.sourceOperationResponse); |
| 3122 checkPosition(o.stopPosition); | 3236 checkPosition(o.stopPosition); |
| 3123 unittest.expect(o.workItemId, unittest.equals('foo')); | 3237 unittest.expect(o.workItemId, unittest.equals('foo')); |
| 3124 } | 3238 } |
| 3125 buildCounterWorkItemStatus--; | 3239 buildCounterWorkItemStatus--; |
| 3126 } | 3240 } |
| 3127 | 3241 |
| 3128 buildUnnamed3155() { | 3242 buildUnnamed3564() { |
| 3129 var o = new core.Map<core.String, core.Object>(); | 3243 var o = new core.Map<core.String, core.Object>(); |
| 3130 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3244 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3131 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3245 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3132 return o; | 3246 return o; |
| 3133 } | 3247 } |
| 3134 | 3248 |
| 3135 checkUnnamed3155(core.Map<core.String, core.Object> o) { | 3249 checkUnnamed3564(core.Map<core.String, core.Object> o) { |
| 3136 unittest.expect(o, unittest.hasLength(2)); | 3250 unittest.expect(o, unittest.hasLength(2)); |
| 3137 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')); | 3251 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')); |
| 3138 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')); | 3252 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')); |
| 3139 } | 3253 } |
| 3140 | 3254 |
| 3141 buildUnnamed3156() { | 3255 buildUnnamed3565() { |
| 3142 var o = new core.List<core.Map<core.String, core.Object>>(); | 3256 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3143 o.add(buildUnnamed3155()); | 3257 o.add(buildUnnamed3564()); |
| 3144 o.add(buildUnnamed3155()); | 3258 o.add(buildUnnamed3564()); |
| 3145 return o; | 3259 return o; |
| 3146 } | 3260 } |
| 3147 | 3261 |
| 3148 checkUnnamed3156(core.List<core.Map<core.String, core.Object>> o) { | 3262 checkUnnamed3565(core.List<core.Map<core.String, core.Object>> o) { |
| 3149 unittest.expect(o, unittest.hasLength(2)); | 3263 unittest.expect(o, unittest.hasLength(2)); |
| 3150 checkUnnamed3155(o[0]); | 3264 checkUnnamed3564(o[0]); |
| 3151 checkUnnamed3155(o[1]); | 3265 checkUnnamed3564(o[1]); |
| 3152 } | 3266 } |
| 3153 | 3267 |
| 3154 core.int buildCounterWorkerHealthReport = 0; | 3268 core.int buildCounterWorkerHealthReport = 0; |
| 3155 buildWorkerHealthReport() { | 3269 buildWorkerHealthReport() { |
| 3156 var o = new api.WorkerHealthReport(); | 3270 var o = new api.WorkerHealthReport(); |
| 3157 buildCounterWorkerHealthReport++; | 3271 buildCounterWorkerHealthReport++; |
| 3158 if (buildCounterWorkerHealthReport < 3) { | 3272 if (buildCounterWorkerHealthReport < 3) { |
| 3159 o.pods = buildUnnamed3156(); | 3273 o.pods = buildUnnamed3565(); |
| 3160 o.reportInterval = "foo"; | 3274 o.reportInterval = "foo"; |
| 3161 o.vmIsHealthy = true; | 3275 o.vmIsHealthy = true; |
| 3162 o.vmStartupTime = "foo"; | 3276 o.vmStartupTime = "foo"; |
| 3163 } | 3277 } |
| 3164 buildCounterWorkerHealthReport--; | 3278 buildCounterWorkerHealthReport--; |
| 3165 return o; | 3279 return o; |
| 3166 } | 3280 } |
| 3167 | 3281 |
| 3168 checkWorkerHealthReport(api.WorkerHealthReport o) { | 3282 checkWorkerHealthReport(api.WorkerHealthReport o) { |
| 3169 buildCounterWorkerHealthReport++; | 3283 buildCounterWorkerHealthReport++; |
| 3170 if (buildCounterWorkerHealthReport < 3) { | 3284 if (buildCounterWorkerHealthReport < 3) { |
| 3171 checkUnnamed3156(o.pods); | 3285 checkUnnamed3565(o.pods); |
| 3172 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3286 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3173 unittest.expect(o.vmIsHealthy, unittest.isTrue); | 3287 unittest.expect(o.vmIsHealthy, unittest.isTrue); |
| 3174 unittest.expect(o.vmStartupTime, unittest.equals('foo')); | 3288 unittest.expect(o.vmStartupTime, unittest.equals('foo')); |
| 3175 } | 3289 } |
| 3176 buildCounterWorkerHealthReport--; | 3290 buildCounterWorkerHealthReport--; |
| 3177 } | 3291 } |
| 3178 | 3292 |
| 3179 core.int buildCounterWorkerHealthReportResponse = 0; | 3293 core.int buildCounterWorkerHealthReportResponse = 0; |
| 3180 buildWorkerHealthReportResponse() { | 3294 buildWorkerHealthReportResponse() { |
| 3181 var o = new api.WorkerHealthReportResponse(); | 3295 var o = new api.WorkerHealthReportResponse(); |
| 3182 buildCounterWorkerHealthReportResponse++; | 3296 buildCounterWorkerHealthReportResponse++; |
| 3183 if (buildCounterWorkerHealthReportResponse < 3) { | 3297 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3184 o.reportInterval = "foo"; | 3298 o.reportInterval = "foo"; |
| 3185 } | 3299 } |
| 3186 buildCounterWorkerHealthReportResponse--; | 3300 buildCounterWorkerHealthReportResponse--; |
| 3187 return o; | 3301 return o; |
| 3188 } | 3302 } |
| 3189 | 3303 |
| 3190 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { | 3304 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { |
| 3191 buildCounterWorkerHealthReportResponse++; | 3305 buildCounterWorkerHealthReportResponse++; |
| 3192 if (buildCounterWorkerHealthReportResponse < 3) { | 3306 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3193 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3307 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3194 } | 3308 } |
| 3195 buildCounterWorkerHealthReportResponse--; | 3309 buildCounterWorkerHealthReportResponse--; |
| 3196 } | 3310 } |
| 3197 | 3311 |
| 3198 buildUnnamed3157() { | 3312 buildUnnamed3566() { |
| 3199 var o = new core.Map<core.String, core.String>(); | 3313 var o = new core.Map<core.String, core.String>(); |
| 3200 o["x"] = "foo"; | 3314 o["x"] = "foo"; |
| 3201 o["y"] = "foo"; | 3315 o["y"] = "foo"; |
| 3202 return o; | 3316 return o; |
| 3203 } | 3317 } |
| 3204 | 3318 |
| 3205 checkUnnamed3157(core.Map<core.String, core.String> o) { | 3319 checkUnnamed3566(core.Map<core.String, core.String> o) { |
| 3206 unittest.expect(o, unittest.hasLength(2)); | 3320 unittest.expect(o, unittest.hasLength(2)); |
| 3207 unittest.expect(o["x"], unittest.equals('foo')); | 3321 unittest.expect(o["x"], unittest.equals('foo')); |
| 3208 unittest.expect(o["y"], unittest.equals('foo')); | 3322 unittest.expect(o["y"], unittest.equals('foo')); |
| 3209 } | 3323 } |
| 3210 | 3324 |
| 3211 core.int buildCounterWorkerMessage = 0; | 3325 core.int buildCounterWorkerMessage = 0; |
| 3212 buildWorkerMessage() { | 3326 buildWorkerMessage() { |
| 3213 var o = new api.WorkerMessage(); | 3327 var o = new api.WorkerMessage(); |
| 3214 buildCounterWorkerMessage++; | 3328 buildCounterWorkerMessage++; |
| 3215 if (buildCounterWorkerMessage < 3) { | 3329 if (buildCounterWorkerMessage < 3) { |
| 3216 o.labels = buildUnnamed3157(); | 3330 o.labels = buildUnnamed3566(); |
| 3217 o.time = "foo"; | 3331 o.time = "foo"; |
| 3218 o.workerHealthReport = buildWorkerHealthReport(); | 3332 o.workerHealthReport = buildWorkerHealthReport(); |
| 3219 o.workerMessageCode = buildWorkerMessageCode(); | 3333 o.workerMessageCode = buildWorkerMessageCode(); |
| 3220 } | 3334 } |
| 3221 buildCounterWorkerMessage--; | 3335 buildCounterWorkerMessage--; |
| 3222 return o; | 3336 return o; |
| 3223 } | 3337 } |
| 3224 | 3338 |
| 3225 checkWorkerMessage(api.WorkerMessage o) { | 3339 checkWorkerMessage(api.WorkerMessage o) { |
| 3226 buildCounterWorkerMessage++; | 3340 buildCounterWorkerMessage++; |
| 3227 if (buildCounterWorkerMessage < 3) { | 3341 if (buildCounterWorkerMessage < 3) { |
| 3228 checkUnnamed3157(o.labels); | 3342 checkUnnamed3566(o.labels); |
| 3229 unittest.expect(o.time, unittest.equals('foo')); | 3343 unittest.expect(o.time, unittest.equals('foo')); |
| 3230 checkWorkerHealthReport(o.workerHealthReport); | 3344 checkWorkerHealthReport(o.workerHealthReport); |
| 3231 checkWorkerMessageCode(o.workerMessageCode); | 3345 checkWorkerMessageCode(o.workerMessageCode); |
| 3232 } | 3346 } |
| 3233 buildCounterWorkerMessage--; | 3347 buildCounterWorkerMessage--; |
| 3234 } | 3348 } |
| 3235 | 3349 |
| 3236 buildUnnamed3158() { | 3350 buildUnnamed3567() { |
| 3237 var o = new core.Map<core.String, core.Object>(); | 3351 var o = new core.Map<core.String, core.Object>(); |
| 3238 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3352 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3239 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3353 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3240 return o; | 3354 return o; |
| 3241 } | 3355 } |
| 3242 | 3356 |
| 3243 checkUnnamed3158(core.Map<core.String, core.Object> o) { | 3357 checkUnnamed3567(core.Map<core.String, core.Object> o) { |
| 3244 unittest.expect(o, unittest.hasLength(2)); | 3358 unittest.expect(o, unittest.hasLength(2)); |
| 3245 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')); | 3359 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')); |
| 3246 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')); | 3360 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')); |
| 3247 } | 3361 } |
| 3248 | 3362 |
| 3249 core.int buildCounterWorkerMessageCode = 0; | 3363 core.int buildCounterWorkerMessageCode = 0; |
| 3250 buildWorkerMessageCode() { | 3364 buildWorkerMessageCode() { |
| 3251 var o = new api.WorkerMessageCode(); | 3365 var o = new api.WorkerMessageCode(); |
| 3252 buildCounterWorkerMessageCode++; | 3366 buildCounterWorkerMessageCode++; |
| 3253 if (buildCounterWorkerMessageCode < 3) { | 3367 if (buildCounterWorkerMessageCode < 3) { |
| 3254 o.code = "foo"; | 3368 o.code = "foo"; |
| 3255 o.parameters = buildUnnamed3158(); | 3369 o.parameters = buildUnnamed3567(); |
| 3256 } | 3370 } |
| 3257 buildCounterWorkerMessageCode--; | 3371 buildCounterWorkerMessageCode--; |
| 3258 return o; | 3372 return o; |
| 3259 } | 3373 } |
| 3260 | 3374 |
| 3261 checkWorkerMessageCode(api.WorkerMessageCode o) { | 3375 checkWorkerMessageCode(api.WorkerMessageCode o) { |
| 3262 buildCounterWorkerMessageCode++; | 3376 buildCounterWorkerMessageCode++; |
| 3263 if (buildCounterWorkerMessageCode < 3) { | 3377 if (buildCounterWorkerMessageCode < 3) { |
| 3264 unittest.expect(o.code, unittest.equals('foo')); | 3378 unittest.expect(o.code, unittest.equals('foo')); |
| 3265 checkUnnamed3158(o.parameters); | 3379 checkUnnamed3567(o.parameters); |
| 3266 } | 3380 } |
| 3267 buildCounterWorkerMessageCode--; | 3381 buildCounterWorkerMessageCode--; |
| 3268 } | 3382 } |
| 3269 | 3383 |
| 3270 core.int buildCounterWorkerMessageResponse = 0; | 3384 core.int buildCounterWorkerMessageResponse = 0; |
| 3271 buildWorkerMessageResponse() { | 3385 buildWorkerMessageResponse() { |
| 3272 var o = new api.WorkerMessageResponse(); | 3386 var o = new api.WorkerMessageResponse(); |
| 3273 buildCounterWorkerMessageResponse++; | 3387 buildCounterWorkerMessageResponse++; |
| 3274 if (buildCounterWorkerMessageResponse < 3) { | 3388 if (buildCounterWorkerMessageResponse < 3) { |
| 3275 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); | 3389 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); |
| 3276 } | 3390 } |
| 3277 buildCounterWorkerMessageResponse--; | 3391 buildCounterWorkerMessageResponse--; |
| 3278 return o; | 3392 return o; |
| 3279 } | 3393 } |
| 3280 | 3394 |
| 3281 checkWorkerMessageResponse(api.WorkerMessageResponse o) { | 3395 checkWorkerMessageResponse(api.WorkerMessageResponse o) { |
| 3282 buildCounterWorkerMessageResponse++; | 3396 buildCounterWorkerMessageResponse++; |
| 3283 if (buildCounterWorkerMessageResponse < 3) { | 3397 if (buildCounterWorkerMessageResponse < 3) { |
| 3284 checkWorkerHealthReportResponse(o.workerHealthReportResponse); | 3398 checkWorkerHealthReportResponse(o.workerHealthReportResponse); |
| 3285 } | 3399 } |
| 3286 buildCounterWorkerMessageResponse--; | 3400 buildCounterWorkerMessageResponse--; |
| 3287 } | 3401 } |
| 3288 | 3402 |
| 3289 buildUnnamed3159() { | 3403 buildUnnamed3568() { |
| 3290 var o = new core.List<api.Disk>(); | 3404 var o = new core.List<api.Disk>(); |
| 3291 o.add(buildDisk()); | 3405 o.add(buildDisk()); |
| 3292 o.add(buildDisk()); | 3406 o.add(buildDisk()); |
| 3293 return o; | 3407 return o; |
| 3294 } | 3408 } |
| 3295 | 3409 |
| 3296 checkUnnamed3159(core.List<api.Disk> o) { | 3410 checkUnnamed3568(core.List<api.Disk> o) { |
| 3297 unittest.expect(o, unittest.hasLength(2)); | 3411 unittest.expect(o, unittest.hasLength(2)); |
| 3298 checkDisk(o[0]); | 3412 checkDisk(o[0]); |
| 3299 checkDisk(o[1]); | 3413 checkDisk(o[1]); |
| 3300 } | 3414 } |
| 3301 | 3415 |
| 3302 buildUnnamed3160() { | 3416 buildUnnamed3569() { |
| 3303 var o = new core.Map<core.String, core.String>(); | 3417 var o = new core.Map<core.String, core.String>(); |
| 3304 o["x"] = "foo"; | 3418 o["x"] = "foo"; |
| 3305 o["y"] = "foo"; | 3419 o["y"] = "foo"; |
| 3306 return o; | 3420 return o; |
| 3307 } | 3421 } |
| 3308 | 3422 |
| 3309 checkUnnamed3160(core.Map<core.String, core.String> o) { | 3423 checkUnnamed3569(core.Map<core.String, core.String> o) { |
| 3310 unittest.expect(o, unittest.hasLength(2)); | 3424 unittest.expect(o, unittest.hasLength(2)); |
| 3311 unittest.expect(o["x"], unittest.equals('foo')); | 3425 unittest.expect(o["x"], unittest.equals('foo')); |
| 3312 unittest.expect(o["y"], unittest.equals('foo')); | 3426 unittest.expect(o["y"], unittest.equals('foo')); |
| 3313 } | 3427 } |
| 3314 | 3428 |
| 3315 buildUnnamed3161() { | 3429 buildUnnamed3570() { |
| 3316 var o = new core.List<api.Package>(); | 3430 var o = new core.List<api.Package>(); |
| 3317 o.add(buildPackage()); | 3431 o.add(buildPackage()); |
| 3318 o.add(buildPackage()); | 3432 o.add(buildPackage()); |
| 3319 return o; | 3433 return o; |
| 3320 } | 3434 } |
| 3321 | 3435 |
| 3322 checkUnnamed3161(core.List<api.Package> o) { | 3436 checkUnnamed3570(core.List<api.Package> o) { |
| 3323 unittest.expect(o, unittest.hasLength(2)); | 3437 unittest.expect(o, unittest.hasLength(2)); |
| 3324 checkPackage(o[0]); | 3438 checkPackage(o[0]); |
| 3325 checkPackage(o[1]); | 3439 checkPackage(o[1]); |
| 3326 } | 3440 } |
| 3327 | 3441 |
| 3328 buildUnnamed3162() { | 3442 buildUnnamed3571() { |
| 3329 var o = new core.Map<core.String, core.Object>(); | 3443 var o = new core.Map<core.String, core.Object>(); |
| 3330 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3444 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3331 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3445 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3332 return o; | 3446 return o; |
| 3333 } | 3447 } |
| 3334 | 3448 |
| 3335 checkUnnamed3162(core.Map<core.String, core.Object> o) { | 3449 checkUnnamed3571(core.Map<core.String, core.Object> o) { |
| 3336 unittest.expect(o, unittest.hasLength(2)); | 3450 unittest.expect(o, unittest.hasLength(2)); |
| 3337 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')); | 3451 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')); |
| 3338 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')); | 3452 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')); |
| 3339 } | 3453 } |
| 3340 | 3454 |
| 3341 core.int buildCounterWorkerPool = 0; | 3455 core.int buildCounterWorkerPool = 0; |
| 3342 buildWorkerPool() { | 3456 buildWorkerPool() { |
| 3343 var o = new api.WorkerPool(); | 3457 var o = new api.WorkerPool(); |
| 3344 buildCounterWorkerPool++; | 3458 buildCounterWorkerPool++; |
| 3345 if (buildCounterWorkerPool < 3) { | 3459 if (buildCounterWorkerPool < 3) { |
| 3346 o.autoscalingSettings = buildAutoscalingSettings(); | 3460 o.autoscalingSettings = buildAutoscalingSettings(); |
| 3347 o.dataDisks = buildUnnamed3159(); | 3461 o.dataDisks = buildUnnamed3568(); |
| 3348 o.defaultPackageSet = "foo"; | 3462 o.defaultPackageSet = "foo"; |
| 3349 o.diskSizeGb = 42; | 3463 o.diskSizeGb = 42; |
| 3350 o.diskSourceImage = "foo"; | 3464 o.diskSourceImage = "foo"; |
| 3351 o.diskType = "foo"; | 3465 o.diskType = "foo"; |
| 3466 o.ipConfiguration = "foo"; |
| 3352 o.kind = "foo"; | 3467 o.kind = "foo"; |
| 3353 o.machineType = "foo"; | 3468 o.machineType = "foo"; |
| 3354 o.metadata = buildUnnamed3160(); | 3469 o.metadata = buildUnnamed3569(); |
| 3355 o.network = "foo"; | 3470 o.network = "foo"; |
| 3356 o.numThreadsPerWorker = 42; | 3471 o.numThreadsPerWorker = 42; |
| 3357 o.numWorkers = 42; | 3472 o.numWorkers = 42; |
| 3358 o.onHostMaintenance = "foo"; | 3473 o.onHostMaintenance = "foo"; |
| 3359 o.packages = buildUnnamed3161(); | 3474 o.packages = buildUnnamed3570(); |
| 3360 o.poolArgs = buildUnnamed3162(); | 3475 o.poolArgs = buildUnnamed3571(); |
| 3361 o.subnetwork = "foo"; | 3476 o.subnetwork = "foo"; |
| 3362 o.taskrunnerSettings = buildTaskRunnerSettings(); | 3477 o.taskrunnerSettings = buildTaskRunnerSettings(); |
| 3363 o.teardownPolicy = "foo"; | 3478 o.teardownPolicy = "foo"; |
| 3364 o.workerHarnessContainerImage = "foo"; | 3479 o.workerHarnessContainerImage = "foo"; |
| 3365 o.zone = "foo"; | 3480 o.zone = "foo"; |
| 3366 } | 3481 } |
| 3367 buildCounterWorkerPool--; | 3482 buildCounterWorkerPool--; |
| 3368 return o; | 3483 return o; |
| 3369 } | 3484 } |
| 3370 | 3485 |
| 3371 checkWorkerPool(api.WorkerPool o) { | 3486 checkWorkerPool(api.WorkerPool o) { |
| 3372 buildCounterWorkerPool++; | 3487 buildCounterWorkerPool++; |
| 3373 if (buildCounterWorkerPool < 3) { | 3488 if (buildCounterWorkerPool < 3) { |
| 3374 checkAutoscalingSettings(o.autoscalingSettings); | 3489 checkAutoscalingSettings(o.autoscalingSettings); |
| 3375 checkUnnamed3159(o.dataDisks); | 3490 checkUnnamed3568(o.dataDisks); |
| 3376 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); | 3491 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); |
| 3377 unittest.expect(o.diskSizeGb, unittest.equals(42)); | 3492 unittest.expect(o.diskSizeGb, unittest.equals(42)); |
| 3378 unittest.expect(o.diskSourceImage, unittest.equals('foo')); | 3493 unittest.expect(o.diskSourceImage, unittest.equals('foo')); |
| 3379 unittest.expect(o.diskType, unittest.equals('foo')); | 3494 unittest.expect(o.diskType, unittest.equals('foo')); |
| 3495 unittest.expect(o.ipConfiguration, unittest.equals('foo')); |
| 3380 unittest.expect(o.kind, unittest.equals('foo')); | 3496 unittest.expect(o.kind, unittest.equals('foo')); |
| 3381 unittest.expect(o.machineType, unittest.equals('foo')); | 3497 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3382 checkUnnamed3160(o.metadata); | 3498 checkUnnamed3569(o.metadata); |
| 3383 unittest.expect(o.network, unittest.equals('foo')); | 3499 unittest.expect(o.network, unittest.equals('foo')); |
| 3384 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); | 3500 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); |
| 3385 unittest.expect(o.numWorkers, unittest.equals(42)); | 3501 unittest.expect(o.numWorkers, unittest.equals(42)); |
| 3386 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); | 3502 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); |
| 3387 checkUnnamed3161(o.packages); | 3503 checkUnnamed3570(o.packages); |
| 3388 checkUnnamed3162(o.poolArgs); | 3504 checkUnnamed3571(o.poolArgs); |
| 3389 unittest.expect(o.subnetwork, unittest.equals('foo')); | 3505 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 3390 checkTaskRunnerSettings(o.taskrunnerSettings); | 3506 checkTaskRunnerSettings(o.taskrunnerSettings); |
| 3391 unittest.expect(o.teardownPolicy, unittest.equals('foo')); | 3507 unittest.expect(o.teardownPolicy, unittest.equals('foo')); |
| 3392 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); | 3508 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); |
| 3393 unittest.expect(o.zone, unittest.equals('foo')); | 3509 unittest.expect(o.zone, unittest.equals('foo')); |
| 3394 } | 3510 } |
| 3395 buildCounterWorkerPool--; | 3511 buildCounterWorkerPool--; |
| 3396 } | 3512 } |
| 3397 | 3513 |
| 3398 core.int buildCounterWorkerSettings = 0; | 3514 core.int buildCounterWorkerSettings = 0; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3530 | 3646 |
| 3531 unittest.group("obj-schema-CounterUpdate", () { | 3647 unittest.group("obj-schema-CounterUpdate", () { |
| 3532 unittest.test("to-json--from-json", () { | 3648 unittest.test("to-json--from-json", () { |
| 3533 var o = buildCounterUpdate(); | 3649 var o = buildCounterUpdate(); |
| 3534 var od = new api.CounterUpdate.fromJson(o.toJson()); | 3650 var od = new api.CounterUpdate.fromJson(o.toJson()); |
| 3535 checkCounterUpdate(od); | 3651 checkCounterUpdate(od); |
| 3536 }); | 3652 }); |
| 3537 }); | 3653 }); |
| 3538 | 3654 |
| 3539 | 3655 |
| 3656 unittest.group("obj-schema-CreateJobFromTemplateRequest", () { |
| 3657 unittest.test("to-json--from-json", () { |
| 3658 var o = buildCreateJobFromTemplateRequest(); |
| 3659 var od = new api.CreateJobFromTemplateRequest.fromJson(o.toJson()); |
| 3660 checkCreateJobFromTemplateRequest(od); |
| 3661 }); |
| 3662 }); |
| 3663 |
| 3664 |
| 3540 unittest.group("obj-schema-CustomSourceLocation", () { | 3665 unittest.group("obj-schema-CustomSourceLocation", () { |
| 3541 unittest.test("to-json--from-json", () { | 3666 unittest.test("to-json--from-json", () { |
| 3542 var o = buildCustomSourceLocation(); | 3667 var o = buildCustomSourceLocation(); |
| 3543 var od = new api.CustomSourceLocation.fromJson(o.toJson()); | 3668 var od = new api.CustomSourceLocation.fromJson(o.toJson()); |
| 3544 checkCustomSourceLocation(od); | 3669 checkCustomSourceLocation(od); |
| 3545 }); | 3670 }); |
| 3546 }); | 3671 }); |
| 3547 | 3672 |
| 3548 | 3673 |
| 3549 unittest.group("obj-schema-DataDiskAssignment", () { | 3674 unittest.group("obj-schema-DataDiskAssignment", () { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3611 | 3736 |
| 3612 unittest.group("obj-schema-FloatingPointMean", () { | 3737 unittest.group("obj-schema-FloatingPointMean", () { |
| 3613 unittest.test("to-json--from-json", () { | 3738 unittest.test("to-json--from-json", () { |
| 3614 var o = buildFloatingPointMean(); | 3739 var o = buildFloatingPointMean(); |
| 3615 var od = new api.FloatingPointMean.fromJson(o.toJson()); | 3740 var od = new api.FloatingPointMean.fromJson(o.toJson()); |
| 3616 checkFloatingPointMean(od); | 3741 checkFloatingPointMean(od); |
| 3617 }); | 3742 }); |
| 3618 }); | 3743 }); |
| 3619 | 3744 |
| 3620 | 3745 |
| 3746 unittest.group("obj-schema-GetDebugConfigRequest", () { |
| 3747 unittest.test("to-json--from-json", () { |
| 3748 var o = buildGetDebugConfigRequest(); |
| 3749 var od = new api.GetDebugConfigRequest.fromJson(o.toJson()); |
| 3750 checkGetDebugConfigRequest(od); |
| 3751 }); |
| 3752 }); |
| 3753 |
| 3754 |
| 3755 unittest.group("obj-schema-GetDebugConfigResponse", () { |
| 3756 unittest.test("to-json--from-json", () { |
| 3757 var o = buildGetDebugConfigResponse(); |
| 3758 var od = new api.GetDebugConfigResponse.fromJson(o.toJson()); |
| 3759 checkGetDebugConfigResponse(od); |
| 3760 }); |
| 3761 }); |
| 3762 |
| 3763 |
| 3621 unittest.group("obj-schema-InstructionInput", () { | 3764 unittest.group("obj-schema-InstructionInput", () { |
| 3622 unittest.test("to-json--from-json", () { | 3765 unittest.test("to-json--from-json", () { |
| 3623 var o = buildInstructionInput(); | 3766 var o = buildInstructionInput(); |
| 3624 var od = new api.InstructionInput.fromJson(o.toJson()); | 3767 var od = new api.InstructionInput.fromJson(o.toJson()); |
| 3625 checkInstructionInput(od); | 3768 checkInstructionInput(od); |
| 3626 }); | 3769 }); |
| 3627 }); | 3770 }); |
| 3628 | 3771 |
| 3629 | 3772 |
| 3630 unittest.group("obj-schema-InstructionOutput", () { | 3773 unittest.group("obj-schema-InstructionOutput", () { |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3899 | 4042 |
| 3900 unittest.group("obj-schema-ReportedParallelism", () { | 4043 unittest.group("obj-schema-ReportedParallelism", () { |
| 3901 unittest.test("to-json--from-json", () { | 4044 unittest.test("to-json--from-json", () { |
| 3902 var o = buildReportedParallelism(); | 4045 var o = buildReportedParallelism(); |
| 3903 var od = new api.ReportedParallelism.fromJson(o.toJson()); | 4046 var od = new api.ReportedParallelism.fromJson(o.toJson()); |
| 3904 checkReportedParallelism(od); | 4047 checkReportedParallelism(od); |
| 3905 }); | 4048 }); |
| 3906 }); | 4049 }); |
| 3907 | 4050 |
| 3908 | 4051 |
| 4052 unittest.group("obj-schema-SendDebugCaptureRequest", () { |
| 4053 unittest.test("to-json--from-json", () { |
| 4054 var o = buildSendDebugCaptureRequest(); |
| 4055 var od = new api.SendDebugCaptureRequest.fromJson(o.toJson()); |
| 4056 checkSendDebugCaptureRequest(od); |
| 4057 }); |
| 4058 }); |
| 4059 |
| 4060 |
| 4061 unittest.group("obj-schema-SendDebugCaptureResponse", () { |
| 4062 unittest.test("to-json--from-json", () { |
| 4063 var o = buildSendDebugCaptureResponse(); |
| 4064 var od = new api.SendDebugCaptureResponse.fromJson(o.toJson()); |
| 4065 checkSendDebugCaptureResponse(od); |
| 4066 }); |
| 4067 }); |
| 4068 |
| 4069 |
| 3909 unittest.group("obj-schema-SendWorkerMessagesRequest", () { | 4070 unittest.group("obj-schema-SendWorkerMessagesRequest", () { |
| 3910 unittest.test("to-json--from-json", () { | 4071 unittest.test("to-json--from-json", () { |
| 3911 var o = buildSendWorkerMessagesRequest(); | 4072 var o = buildSendWorkerMessagesRequest(); |
| 3912 var od = new api.SendWorkerMessagesRequest.fromJson(o.toJson()); | 4073 var od = new api.SendWorkerMessagesRequest.fromJson(o.toJson()); |
| 3913 checkSendWorkerMessagesRequest(od); | 4074 checkSendWorkerMessagesRequest(od); |
| 3914 }); | 4075 }); |
| 3915 }); | 4076 }); |
| 3916 | 4077 |
| 3917 | 4078 |
| 3918 unittest.group("obj-schema-SendWorkerMessagesResponse", () { | 4079 unittest.group("obj-schema-SendWorkerMessagesResponse", () { |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4653 return new async.Future.value(stringResponse(200, h, resp)); | 4814 return new async.Future.value(stringResponse(200, h, resp)); |
| 4654 }), true); | 4815 }), true); |
| 4655 res.update(arg_request, arg_projectId, arg_jobId).then(unittest.expectAsyn
c(((api.Job response) { | 4816 res.update(arg_request, arg_projectId, arg_jobId).then(unittest.expectAsyn
c(((api.Job response) { |
| 4656 checkJob(response); | 4817 checkJob(response); |
| 4657 }))); | 4818 }))); |
| 4658 }); | 4819 }); |
| 4659 | 4820 |
| 4660 }); | 4821 }); |
| 4661 | 4822 |
| 4662 | 4823 |
| 4824 unittest.group("resource-ProjectsJobsDebugResourceApi", () { |
| 4825 unittest.test("method--getConfig", () { |
| 4826 |
| 4827 var mock = new HttpServerMock(); |
| 4828 api.ProjectsJobsDebugResourceApi res = new api.DataflowApi(mock).projects.
jobs.debug; |
| 4829 var arg_request = buildGetDebugConfigRequest(); |
| 4830 var arg_projectId = "foo"; |
| 4831 var arg_jobId = "foo"; |
| 4832 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4833 var obj = new api.GetDebugConfigRequest.fromJson(json); |
| 4834 checkGetDebugConfigRequest(obj); |
| 4835 |
| 4836 var path = (req.url).path; |
| 4837 var pathOffset = 0; |
| 4838 var index; |
| 4839 var subPart; |
| 4840 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4841 pathOffset += 1; |
| 4842 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 4843 pathOffset += 14; |
| 4844 index = path.indexOf("/jobs/", pathOffset); |
| 4845 unittest.expect(index >= 0, unittest.isTrue); |
| 4846 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 4847 pathOffset = index; |
| 4848 unittest.expect(subPart, unittest.equals("$arg_projectId")); |
| 4849 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/jobs/")); |
| 4850 pathOffset += 6; |
| 4851 index = path.indexOf("/debug/getConfig", pathOffset); |
| 4852 unittest.expect(index >= 0, unittest.isTrue); |
| 4853 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 4854 pathOffset = index; |
| 4855 unittest.expect(subPart, unittest.equals("$arg_jobId")); |
| 4856 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/debug/getConfig")); |
| 4857 pathOffset += 16; |
| 4858 |
| 4859 var query = (req.url).query; |
| 4860 var queryOffset = 0; |
| 4861 var queryMap = {}; |
| 4862 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4863 parseBool(n) { |
| 4864 if (n == "true") return true; |
| 4865 if (n == "false") return false; |
| 4866 if (n == null) return null; |
| 4867 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4868 } |
| 4869 if (query.length > 0) { |
| 4870 for (var part in query.split("&")) { |
| 4871 var keyvalue = part.split("="); |
| 4872 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4873 } |
| 4874 } |
| 4875 |
| 4876 |
| 4877 var h = { |
| 4878 "content-type" : "application/json; charset=utf-8", |
| 4879 }; |
| 4880 var resp = convert.JSON.encode(buildGetDebugConfigResponse()); |
| 4881 return new async.Future.value(stringResponse(200, h, resp)); |
| 4882 }), true); |
| 4883 res.getConfig(arg_request, arg_projectId, arg_jobId).then(unittest.expectA
sync(((api.GetDebugConfigResponse response) { |
| 4884 checkGetDebugConfigResponse(response); |
| 4885 }))); |
| 4886 }); |
| 4887 |
| 4888 unittest.test("method--sendCapture", () { |
| 4889 |
| 4890 var mock = new HttpServerMock(); |
| 4891 api.ProjectsJobsDebugResourceApi res = new api.DataflowApi(mock).projects.
jobs.debug; |
| 4892 var arg_request = buildSendDebugCaptureRequest(); |
| 4893 var arg_projectId = "foo"; |
| 4894 var arg_jobId = "foo"; |
| 4895 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4896 var obj = new api.SendDebugCaptureRequest.fromJson(json); |
| 4897 checkSendDebugCaptureRequest(obj); |
| 4898 |
| 4899 var path = (req.url).path; |
| 4900 var pathOffset = 0; |
| 4901 var index; |
| 4902 var subPart; |
| 4903 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4904 pathOffset += 1; |
| 4905 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 4906 pathOffset += 14; |
| 4907 index = path.indexOf("/jobs/", pathOffset); |
| 4908 unittest.expect(index >= 0, unittest.isTrue); |
| 4909 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 4910 pathOffset = index; |
| 4911 unittest.expect(subPart, unittest.equals("$arg_projectId")); |
| 4912 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/jobs/")); |
| 4913 pathOffset += 6; |
| 4914 index = path.indexOf("/debug/sendCapture", pathOffset); |
| 4915 unittest.expect(index >= 0, unittest.isTrue); |
| 4916 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 4917 pathOffset = index; |
| 4918 unittest.expect(subPart, unittest.equals("$arg_jobId")); |
| 4919 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/debug/sendCapture")); |
| 4920 pathOffset += 18; |
| 4921 |
| 4922 var query = (req.url).query; |
| 4923 var queryOffset = 0; |
| 4924 var queryMap = {}; |
| 4925 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4926 parseBool(n) { |
| 4927 if (n == "true") return true; |
| 4928 if (n == "false") return false; |
| 4929 if (n == null) return null; |
| 4930 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4931 } |
| 4932 if (query.length > 0) { |
| 4933 for (var part in query.split("&")) { |
| 4934 var keyvalue = part.split("="); |
| 4935 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4936 } |
| 4937 } |
| 4938 |
| 4939 |
| 4940 var h = { |
| 4941 "content-type" : "application/json; charset=utf-8", |
| 4942 }; |
| 4943 var resp = convert.JSON.encode(buildSendDebugCaptureResponse()); |
| 4944 return new async.Future.value(stringResponse(200, h, resp)); |
| 4945 }), true); |
| 4946 res.sendCapture(arg_request, arg_projectId, arg_jobId).then(unittest.expec
tAsync(((api.SendDebugCaptureResponse response) { |
| 4947 checkSendDebugCaptureResponse(response); |
| 4948 }))); |
| 4949 }); |
| 4950 |
| 4951 }); |
| 4952 |
| 4953 |
| 4663 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { | 4954 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { |
| 4664 unittest.test("method--list", () { | 4955 unittest.test("method--list", () { |
| 4665 | 4956 |
| 4666 var mock = new HttpServerMock(); | 4957 var mock = new HttpServerMock(); |
| 4667 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; | 4958 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; |
| 4668 var arg_projectId = "foo"; | 4959 var arg_projectId = "foo"; |
| 4669 var arg_jobId = "foo"; | 4960 var arg_jobId = "foo"; |
| 4670 var arg_minimumImportance = "foo"; | 4961 var arg_minimumImportance = "foo"; |
| 4671 var arg_pageSize = 42; | 4962 var arg_pageSize = 42; |
| 4672 var arg_pageToken = "foo"; | 4963 var arg_pageToken = "foo"; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4856 return new async.Future.value(stringResponse(200, h, resp)); | 5147 return new async.Future.value(stringResponse(200, h, resp)); |
| 4857 }), true); | 5148 }), true); |
| 4858 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe
ctAsync(((api.ReportWorkItemStatusResponse response) { | 5149 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe
ctAsync(((api.ReportWorkItemStatusResponse response) { |
| 4859 checkReportWorkItemStatusResponse(response); | 5150 checkReportWorkItemStatusResponse(response); |
| 4860 }))); | 5151 }))); |
| 4861 }); | 5152 }); |
| 4862 | 5153 |
| 4863 }); | 5154 }); |
| 4864 | 5155 |
| 4865 | 5156 |
| 5157 unittest.group("resource-ProjectsTemplatesResourceApi", () { |
| 5158 unittest.test("method--create", () { |
| 5159 |
| 5160 var mock = new HttpServerMock(); |
| 5161 api.ProjectsTemplatesResourceApi res = new api.DataflowApi(mock).projects.
templates; |
| 5162 var arg_request = buildCreateJobFromTemplateRequest(); |
| 5163 var arg_projectId = "foo"; |
| 5164 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5165 var obj = new api.CreateJobFromTemplateRequest.fromJson(json); |
| 5166 checkCreateJobFromTemplateRequest(obj); |
| 5167 |
| 5168 var path = (req.url).path; |
| 5169 var pathOffset = 0; |
| 5170 var index; |
| 5171 var subPart; |
| 5172 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5173 pathOffset += 1; |
| 5174 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5175 pathOffset += 14; |
| 5176 index = path.indexOf("/templates", pathOffset); |
| 5177 unittest.expect(index >= 0, unittest.isTrue); |
| 5178 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 5179 pathOffset = index; |
| 5180 unittest.expect(subPart, unittest.equals("$arg_projectId")); |
| 5181 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/templates")); |
| 5182 pathOffset += 10; |
| 5183 |
| 5184 var query = (req.url).query; |
| 5185 var queryOffset = 0; |
| 5186 var queryMap = {}; |
| 5187 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 5188 parseBool(n) { |
| 5189 if (n == "true") return true; |
| 5190 if (n == "false") return false; |
| 5191 if (n == null) return null; |
| 5192 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5193 } |
| 5194 if (query.length > 0) { |
| 5195 for (var part in query.split("&")) { |
| 5196 var keyvalue = part.split("="); |
| 5197 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5198 } |
| 5199 } |
| 5200 |
| 5201 |
| 5202 var h = { |
| 5203 "content-type" : "application/json; charset=utf-8", |
| 5204 }; |
| 5205 var resp = convert.JSON.encode(buildJob()); |
| 5206 return new async.Future.value(stringResponse(200, h, resp)); |
| 5207 }), true); |
| 5208 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { |
| 5209 checkJob(response); |
| 5210 }))); |
| 5211 }); |
| 5212 |
| 5213 }); |
| 5214 |
| 5215 |
| 4866 } | 5216 } |
| 4867 | 5217 |
| OLD | NEW |