| 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 buildUnnamed3062() { | 144 buildUnnamed3047() { |
| 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 checkUnnamed3062(core.List<api.StreamLocation> o) { | 151 checkUnnamed3047(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 buildUnnamed3063() { | 157 buildUnnamed3048() { |
| 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 checkUnnamed3063(core.List<api.KeyRangeLocation> o) { | 164 checkUnnamed3048(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 buildUnnamed3064() { | 170 buildUnnamed3049() { |
| 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 checkUnnamed3064(core.List<api.StreamLocation> o) { | 177 checkUnnamed3049(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 buildUnnamed3065() { | 183 buildUnnamed3050() { |
| 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 checkUnnamed3065(core.List<api.StateFamilyConfig> o) { | 190 checkUnnamed3050(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 = buildUnnamed3062(); | 202 o.inputs = buildUnnamed3047(); |
| 203 o.keyRanges = buildUnnamed3063(); | 203 o.keyRanges = buildUnnamed3048(); |
| 204 o.outputs = buildUnnamed3064(); | 204 o.outputs = buildUnnamed3049(); |
| 205 o.stateFamilies = buildUnnamed3065(); | 205 o.stateFamilies = buildUnnamed3050(); |
| 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 checkUnnamed3062(o.inputs); | 217 checkUnnamed3047(o.inputs); |
| 218 checkUnnamed3063(o.keyRanges); | 218 checkUnnamed3048(o.keyRanges); |
| 219 checkUnnamed3064(o.outputs); | 219 checkUnnamed3049(o.outputs); |
| 220 checkUnnamed3065(o.stateFamilies); | 220 checkUnnamed3050(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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 buildCounterCounterStructuredNameAndMetadata--; | 324 buildCounterCounterStructuredNameAndMetadata--; |
| 325 } | 325 } |
| 326 | 326 |
| 327 core.int buildCounterCounterUpdate = 0; | 327 core.int buildCounterCounterUpdate = 0; |
| 328 buildCounterUpdate() { | 328 buildCounterUpdate() { |
| 329 var o = new api.CounterUpdate(); | 329 var o = new api.CounterUpdate(); |
| 330 buildCounterCounterUpdate++; | 330 buildCounterCounterUpdate++; |
| 331 if (buildCounterCounterUpdate < 3) { | 331 if (buildCounterCounterUpdate < 3) { |
| 332 o.boolean = true; | 332 o.boolean = true; |
| 333 o.cumulative = true; | 333 o.cumulative = true; |
| 334 o.distribution = buildDistributionUpdate(); |
| 334 o.floatingPoint = 42.0; | 335 o.floatingPoint = 42.0; |
| 335 o.floatingPointList = buildFloatingPointList(); | 336 o.floatingPointList = buildFloatingPointList(); |
| 336 o.floatingPointMean = buildFloatingPointMean(); | 337 o.floatingPointMean = buildFloatingPointMean(); |
| 337 o.integer = buildSplitInt64(); | 338 o.integer = buildSplitInt64(); |
| 338 o.integerList = buildIntegerList(); | 339 o.integerList = buildIntegerList(); |
| 339 o.integerMean = buildIntegerMean(); | 340 o.integerMean = buildIntegerMean(); |
| 340 o.internal = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 341 o.internal = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 341 o.nameAndKind = buildNameAndKind(); | 342 o.nameAndKind = buildNameAndKind(); |
| 342 o.shortId = "foo"; | 343 o.shortId = "foo"; |
| 343 o.stringList = buildStringList(); | 344 o.stringList = buildStringList(); |
| 344 o.structuredNameAndMetadata = buildCounterStructuredNameAndMetadata(); | 345 o.structuredNameAndMetadata = buildCounterStructuredNameAndMetadata(); |
| 345 } | 346 } |
| 346 buildCounterCounterUpdate--; | 347 buildCounterCounterUpdate--; |
| 347 return o; | 348 return o; |
| 348 } | 349 } |
| 349 | 350 |
| 350 checkCounterUpdate(api.CounterUpdate o) { | 351 checkCounterUpdate(api.CounterUpdate o) { |
| 351 buildCounterCounterUpdate++; | 352 buildCounterCounterUpdate++; |
| 352 if (buildCounterCounterUpdate < 3) { | 353 if (buildCounterCounterUpdate < 3) { |
| 353 unittest.expect(o.boolean, unittest.isTrue); | 354 unittest.expect(o.boolean, unittest.isTrue); |
| 354 unittest.expect(o.cumulative, unittest.isTrue); | 355 unittest.expect(o.cumulative, unittest.isTrue); |
| 356 checkDistributionUpdate(o.distribution); |
| 355 unittest.expect(o.floatingPoint, unittest.equals(42.0)); | 357 unittest.expect(o.floatingPoint, unittest.equals(42.0)); |
| 356 checkFloatingPointList(o.floatingPointList); | 358 checkFloatingPointList(o.floatingPointList); |
| 357 checkFloatingPointMean(o.floatingPointMean); | 359 checkFloatingPointMean(o.floatingPointMean); |
| 358 checkSplitInt64(o.integer); | 360 checkSplitInt64(o.integer); |
| 359 checkIntegerList(o.integerList); | 361 checkIntegerList(o.integerList); |
| 360 checkIntegerMean(o.integerMean); | 362 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')); | 363 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); | 364 checkNameAndKind(o.nameAndKind); |
| 363 unittest.expect(o.shortId, unittest.equals('foo')); | 365 unittest.expect(o.shortId, unittest.equals('foo')); |
| 364 checkStringList(o.stringList); | 366 checkStringList(o.stringList); |
| 365 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); | 367 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); |
| 366 } | 368 } |
| 367 buildCounterCounterUpdate--; | 369 buildCounterCounterUpdate--; |
| 368 } | 370 } |
| 369 | 371 |
| 370 buildUnnamed3066() { | 372 buildUnnamed3051() { |
| 371 var o = new core.Map<core.String, core.String>(); | 373 var o = new core.Map<core.String, core.String>(); |
| 372 o["x"] = "foo"; | 374 o["x"] = "foo"; |
| 373 o["y"] = "foo"; | 375 o["y"] = "foo"; |
| 374 return o; | 376 return o; |
| 375 } | 377 } |
| 376 | 378 |
| 377 checkUnnamed3066(core.Map<core.String, core.String> o) { | 379 checkUnnamed3051(core.Map<core.String, core.String> o) { |
| 378 unittest.expect(o, unittest.hasLength(2)); | 380 unittest.expect(o, unittest.hasLength(2)); |
| 379 unittest.expect(o["x"], unittest.equals('foo')); | 381 unittest.expect(o["x"], unittest.equals('foo')); |
| 380 unittest.expect(o["y"], unittest.equals('foo')); | 382 unittest.expect(o["y"], unittest.equals('foo')); |
| 381 } | 383 } |
| 382 | 384 |
| 383 core.int buildCounterCreateJobFromTemplateRequest = 0; | 385 core.int buildCounterCreateJobFromTemplateRequest = 0; |
| 384 buildCreateJobFromTemplateRequest() { | 386 buildCreateJobFromTemplateRequest() { |
| 385 var o = new api.CreateJobFromTemplateRequest(); | 387 var o = new api.CreateJobFromTemplateRequest(); |
| 386 buildCounterCreateJobFromTemplateRequest++; | 388 buildCounterCreateJobFromTemplateRequest++; |
| 387 if (buildCounterCreateJobFromTemplateRequest < 3) { | 389 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 388 o.environment = buildRuntimeEnvironment(); | 390 o.environment = buildRuntimeEnvironment(); |
| 389 o.gcsPath = "foo"; | 391 o.gcsPath = "foo"; |
| 390 o.jobName = "foo"; | 392 o.jobName = "foo"; |
| 391 o.parameters = buildUnnamed3066(); | 393 o.parameters = buildUnnamed3051(); |
| 392 } | 394 } |
| 393 buildCounterCreateJobFromTemplateRequest--; | 395 buildCounterCreateJobFromTemplateRequest--; |
| 394 return o; | 396 return o; |
| 395 } | 397 } |
| 396 | 398 |
| 397 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { | 399 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { |
| 398 buildCounterCreateJobFromTemplateRequest++; | 400 buildCounterCreateJobFromTemplateRequest++; |
| 399 if (buildCounterCreateJobFromTemplateRequest < 3) { | 401 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 400 checkRuntimeEnvironment(o.environment); | 402 checkRuntimeEnvironment(o.environment); |
| 401 unittest.expect(o.gcsPath, unittest.equals('foo')); | 403 unittest.expect(o.gcsPath, unittest.equals('foo')); |
| 402 unittest.expect(o.jobName, unittest.equals('foo')); | 404 unittest.expect(o.jobName, unittest.equals('foo')); |
| 403 checkUnnamed3066(o.parameters); | 405 checkUnnamed3051(o.parameters); |
| 404 } | 406 } |
| 405 buildCounterCreateJobFromTemplateRequest--; | 407 buildCounterCreateJobFromTemplateRequest--; |
| 406 } | 408 } |
| 407 | 409 |
| 408 core.int buildCounterCustomSourceLocation = 0; | 410 core.int buildCounterCustomSourceLocation = 0; |
| 409 buildCustomSourceLocation() { | 411 buildCustomSourceLocation() { |
| 410 var o = new api.CustomSourceLocation(); | 412 var o = new api.CustomSourceLocation(); |
| 411 buildCounterCustomSourceLocation++; | 413 buildCounterCustomSourceLocation++; |
| 412 if (buildCounterCustomSourceLocation < 3) { | 414 if (buildCounterCustomSourceLocation < 3) { |
| 413 o.stateful = true; | 415 o.stateful = true; |
| 414 } | 416 } |
| 415 buildCounterCustomSourceLocation--; | 417 buildCounterCustomSourceLocation--; |
| 416 return o; | 418 return o; |
| 417 } | 419 } |
| 418 | 420 |
| 419 checkCustomSourceLocation(api.CustomSourceLocation o) { | 421 checkCustomSourceLocation(api.CustomSourceLocation o) { |
| 420 buildCounterCustomSourceLocation++; | 422 buildCounterCustomSourceLocation++; |
| 421 if (buildCounterCustomSourceLocation < 3) { | 423 if (buildCounterCustomSourceLocation < 3) { |
| 422 unittest.expect(o.stateful, unittest.isTrue); | 424 unittest.expect(o.stateful, unittest.isTrue); |
| 423 } | 425 } |
| 424 buildCounterCustomSourceLocation--; | 426 buildCounterCustomSourceLocation--; |
| 425 } | 427 } |
| 426 | 428 |
| 427 buildUnnamed3067() { | 429 buildUnnamed3052() { |
| 428 var o = new core.List<core.String>(); | 430 var o = new core.List<core.String>(); |
| 429 o.add("foo"); | 431 o.add("foo"); |
| 430 o.add("foo"); | 432 o.add("foo"); |
| 431 return o; | 433 return o; |
| 432 } | 434 } |
| 433 | 435 |
| 434 checkUnnamed3067(core.List<core.String> o) { | 436 checkUnnamed3052(core.List<core.String> o) { |
| 435 unittest.expect(o, unittest.hasLength(2)); | 437 unittest.expect(o, unittest.hasLength(2)); |
| 436 unittest.expect(o[0], unittest.equals('foo')); | 438 unittest.expect(o[0], unittest.equals('foo')); |
| 437 unittest.expect(o[1], unittest.equals('foo')); | 439 unittest.expect(o[1], unittest.equals('foo')); |
| 438 } | 440 } |
| 439 | 441 |
| 440 core.int buildCounterDataDiskAssignment = 0; | 442 core.int buildCounterDataDiskAssignment = 0; |
| 441 buildDataDiskAssignment() { | 443 buildDataDiskAssignment() { |
| 442 var o = new api.DataDiskAssignment(); | 444 var o = new api.DataDiskAssignment(); |
| 443 buildCounterDataDiskAssignment++; | 445 buildCounterDataDiskAssignment++; |
| 444 if (buildCounterDataDiskAssignment < 3) { | 446 if (buildCounterDataDiskAssignment < 3) { |
| 445 o.dataDisks = buildUnnamed3067(); | 447 o.dataDisks = buildUnnamed3052(); |
| 446 o.vmInstance = "foo"; | 448 o.vmInstance = "foo"; |
| 447 } | 449 } |
| 448 buildCounterDataDiskAssignment--; | 450 buildCounterDataDiskAssignment--; |
| 449 return o; | 451 return o; |
| 450 } | 452 } |
| 451 | 453 |
| 452 checkDataDiskAssignment(api.DataDiskAssignment o) { | 454 checkDataDiskAssignment(api.DataDiskAssignment o) { |
| 453 buildCounterDataDiskAssignment++; | 455 buildCounterDataDiskAssignment++; |
| 454 if (buildCounterDataDiskAssignment < 3) { | 456 if (buildCounterDataDiskAssignment < 3) { |
| 455 checkUnnamed3067(o.dataDisks); | 457 checkUnnamed3052(o.dataDisks); |
| 456 unittest.expect(o.vmInstance, unittest.equals('foo')); | 458 unittest.expect(o.vmInstance, unittest.equals('foo')); |
| 457 } | 459 } |
| 458 buildCounterDataDiskAssignment--; | 460 buildCounterDataDiskAssignment--; |
| 459 } | 461 } |
| 460 | 462 |
| 461 core.int buildCounterDerivedSource = 0; | 463 core.int buildCounterDerivedSource = 0; |
| 462 buildDerivedSource() { | 464 buildDerivedSource() { |
| 463 var o = new api.DerivedSource(); | 465 var o = new api.DerivedSource(); |
| 464 buildCounterDerivedSource++; | 466 buildCounterDerivedSource++; |
| 465 if (buildCounterDerivedSource < 3) { | 467 if (buildCounterDerivedSource < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 495 checkDisk(api.Disk o) { | 497 checkDisk(api.Disk o) { |
| 496 buildCounterDisk++; | 498 buildCounterDisk++; |
| 497 if (buildCounterDisk < 3) { | 499 if (buildCounterDisk < 3) { |
| 498 unittest.expect(o.diskType, unittest.equals('foo')); | 500 unittest.expect(o.diskType, unittest.equals('foo')); |
| 499 unittest.expect(o.mountPoint, unittest.equals('foo')); | 501 unittest.expect(o.mountPoint, unittest.equals('foo')); |
| 500 unittest.expect(o.sizeGb, unittest.equals(42)); | 502 unittest.expect(o.sizeGb, unittest.equals(42)); |
| 501 } | 503 } |
| 502 buildCounterDisk--; | 504 buildCounterDisk--; |
| 503 } | 505 } |
| 504 | 506 |
| 507 core.int buildCounterDistributionUpdate = 0; |
| 508 buildDistributionUpdate() { |
| 509 var o = new api.DistributionUpdate(); |
| 510 buildCounterDistributionUpdate++; |
| 511 if (buildCounterDistributionUpdate < 3) { |
| 512 o.count = buildSplitInt64(); |
| 513 o.max = buildSplitInt64(); |
| 514 o.min = buildSplitInt64(); |
| 515 o.sum = buildSplitInt64(); |
| 516 o.sumOfSquares = 42.0; |
| 517 } |
| 518 buildCounterDistributionUpdate--; |
| 519 return o; |
| 520 } |
| 521 |
| 522 checkDistributionUpdate(api.DistributionUpdate o) { |
| 523 buildCounterDistributionUpdate++; |
| 524 if (buildCounterDistributionUpdate < 3) { |
| 525 checkSplitInt64(o.count); |
| 526 checkSplitInt64(o.max); |
| 527 checkSplitInt64(o.min); |
| 528 checkSplitInt64(o.sum); |
| 529 unittest.expect(o.sumOfSquares, unittest.equals(42.0)); |
| 530 } |
| 531 buildCounterDistributionUpdate--; |
| 532 } |
| 533 |
| 505 core.int buildCounterDynamicSourceSplit = 0; | 534 core.int buildCounterDynamicSourceSplit = 0; |
| 506 buildDynamicSourceSplit() { | 535 buildDynamicSourceSplit() { |
| 507 var o = new api.DynamicSourceSplit(); | 536 var o = new api.DynamicSourceSplit(); |
| 508 buildCounterDynamicSourceSplit++; | 537 buildCounterDynamicSourceSplit++; |
| 509 if (buildCounterDynamicSourceSplit < 3) { | 538 if (buildCounterDynamicSourceSplit < 3) { |
| 510 o.primary = buildDerivedSource(); | 539 o.primary = buildDerivedSource(); |
| 511 o.residual = buildDerivedSource(); | 540 o.residual = buildDerivedSource(); |
| 512 } | 541 } |
| 513 buildCounterDynamicSourceSplit--; | 542 buildCounterDynamicSourceSplit--; |
| 514 return o; | 543 return o; |
| 515 } | 544 } |
| 516 | 545 |
| 517 checkDynamicSourceSplit(api.DynamicSourceSplit o) { | 546 checkDynamicSourceSplit(api.DynamicSourceSplit o) { |
| 518 buildCounterDynamicSourceSplit++; | 547 buildCounterDynamicSourceSplit++; |
| 519 if (buildCounterDynamicSourceSplit < 3) { | 548 if (buildCounterDynamicSourceSplit < 3) { |
| 520 checkDerivedSource(o.primary); | 549 checkDerivedSource(o.primary); |
| 521 checkDerivedSource(o.residual); | 550 checkDerivedSource(o.residual); |
| 522 } | 551 } |
| 523 buildCounterDynamicSourceSplit--; | 552 buildCounterDynamicSourceSplit--; |
| 524 } | 553 } |
| 525 | 554 |
| 526 buildUnnamed3068() { | 555 buildUnnamed3053() { |
| 527 var o = new core.List<core.String>(); | 556 var o = new core.List<core.String>(); |
| 528 o.add("foo"); | 557 o.add("foo"); |
| 529 o.add("foo"); | 558 o.add("foo"); |
| 530 return o; | 559 return o; |
| 531 } | 560 } |
| 532 | 561 |
| 533 checkUnnamed3068(core.List<core.String> o) { | 562 checkUnnamed3053(core.List<core.String> o) { |
| 534 unittest.expect(o, unittest.hasLength(2)); | 563 unittest.expect(o, unittest.hasLength(2)); |
| 535 unittest.expect(o[0], unittest.equals('foo')); | 564 unittest.expect(o[0], unittest.equals('foo')); |
| 536 unittest.expect(o[1], unittest.equals('foo')); | 565 unittest.expect(o[1], unittest.equals('foo')); |
| 537 } | 566 } |
| 538 | 567 |
| 539 buildUnnamed3069() { | 568 buildUnnamed3054() { |
| 540 var o = new core.Map<core.String, core.Object>(); | 569 var o = new core.Map<core.String, core.Object>(); |
| 541 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 570 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 542 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 571 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 543 return o; | 572 return o; |
| 544 } | 573 } |
| 545 | 574 |
| 546 checkUnnamed3069(core.Map<core.String, core.Object> o) { | 575 checkUnnamed3054(core.Map<core.String, core.Object> o) { |
| 547 unittest.expect(o, unittest.hasLength(2)); | 576 unittest.expect(o, unittest.hasLength(2)); |
| 548 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')); | 577 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')); |
| 549 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')); | 578 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')); |
| 550 } | 579 } |
| 551 | 580 |
| 552 buildUnnamed3070() { | 581 buildUnnamed3055() { |
| 553 var o = new core.Map<core.String, core.Object>(); | 582 var o = new core.Map<core.String, core.Object>(); |
| 554 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 583 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 555 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 584 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 556 return o; | 585 return o; |
| 557 } | 586 } |
| 558 | 587 |
| 559 checkUnnamed3070(core.Map<core.String, core.Object> o) { | 588 checkUnnamed3055(core.Map<core.String, core.Object> o) { |
| 560 unittest.expect(o, unittest.hasLength(2)); | 589 unittest.expect(o, unittest.hasLength(2)); |
| 561 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')); | 590 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')); |
| 562 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')); | 591 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')); |
| 563 } | 592 } |
| 564 | 593 |
| 565 buildUnnamed3071() { | 594 buildUnnamed3056() { |
| 566 var o = new core.Map<core.String, core.Object>(); | 595 var o = new core.Map<core.String, core.Object>(); |
| 567 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 596 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 568 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 597 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 569 return o; | 598 return o; |
| 570 } | 599 } |
| 571 | 600 |
| 572 checkUnnamed3071(core.Map<core.String, core.Object> o) { | 601 checkUnnamed3056(core.Map<core.String, core.Object> o) { |
| 573 unittest.expect(o, unittest.hasLength(2)); | 602 unittest.expect(o, unittest.hasLength(2)); |
| 574 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')); | 603 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')); |
| 575 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')); | 604 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')); |
| 576 } | 605 } |
| 577 | 606 |
| 578 buildUnnamed3072() { | 607 buildUnnamed3057() { |
| 579 var o = new core.Map<core.String, core.Object>(); | 608 var o = new core.Map<core.String, core.Object>(); |
| 580 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 609 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 581 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 610 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 582 return o; | 611 return o; |
| 583 } | 612 } |
| 584 | 613 |
| 585 checkUnnamed3072(core.Map<core.String, core.Object> o) { | 614 checkUnnamed3057(core.Map<core.String, core.Object> o) { |
| 586 unittest.expect(o, unittest.hasLength(2)); | 615 unittest.expect(o, unittest.hasLength(2)); |
| 587 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')); | 616 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')); |
| 588 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')); | 617 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')); |
| 589 } | 618 } |
| 590 | 619 |
| 591 buildUnnamed3073() { | 620 buildUnnamed3058() { |
| 592 var o = new core.List<api.WorkerPool>(); | 621 var o = new core.List<api.WorkerPool>(); |
| 593 o.add(buildWorkerPool()); | 622 o.add(buildWorkerPool()); |
| 594 o.add(buildWorkerPool()); | 623 o.add(buildWorkerPool()); |
| 595 return o; | 624 return o; |
| 596 } | 625 } |
| 597 | 626 |
| 598 checkUnnamed3073(core.List<api.WorkerPool> o) { | 627 checkUnnamed3058(core.List<api.WorkerPool> o) { |
| 599 unittest.expect(o, unittest.hasLength(2)); | 628 unittest.expect(o, unittest.hasLength(2)); |
| 600 checkWorkerPool(o[0]); | 629 checkWorkerPool(o[0]); |
| 601 checkWorkerPool(o[1]); | 630 checkWorkerPool(o[1]); |
| 602 } | 631 } |
| 603 | 632 |
| 604 core.int buildCounterEnvironment = 0; | 633 core.int buildCounterEnvironment = 0; |
| 605 buildEnvironment() { | 634 buildEnvironment() { |
| 606 var o = new api.Environment(); | 635 var o = new api.Environment(); |
| 607 buildCounterEnvironment++; | 636 buildCounterEnvironment++; |
| 608 if (buildCounterEnvironment < 3) { | 637 if (buildCounterEnvironment < 3) { |
| 609 o.clusterManagerApiService = "foo"; | 638 o.clusterManagerApiService = "foo"; |
| 610 o.dataset = "foo"; | 639 o.dataset = "foo"; |
| 611 o.experiments = buildUnnamed3068(); | 640 o.experiments = buildUnnamed3053(); |
| 612 o.internalExperiments = buildUnnamed3069(); | 641 o.internalExperiments = buildUnnamed3054(); |
| 613 o.sdkPipelineOptions = buildUnnamed3070(); | 642 o.sdkPipelineOptions = buildUnnamed3055(); |
| 614 o.serviceAccountEmail = "foo"; | 643 o.serviceAccountEmail = "foo"; |
| 615 o.tempStoragePrefix = "foo"; | 644 o.tempStoragePrefix = "foo"; |
| 616 o.userAgent = buildUnnamed3071(); | 645 o.userAgent = buildUnnamed3056(); |
| 617 o.version = buildUnnamed3072(); | 646 o.version = buildUnnamed3057(); |
| 618 o.workerPools = buildUnnamed3073(); | 647 o.workerPools = buildUnnamed3058(); |
| 619 } | 648 } |
| 620 buildCounterEnvironment--; | 649 buildCounterEnvironment--; |
| 621 return o; | 650 return o; |
| 622 } | 651 } |
| 623 | 652 |
| 624 checkEnvironment(api.Environment o) { | 653 checkEnvironment(api.Environment o) { |
| 625 buildCounterEnvironment++; | 654 buildCounterEnvironment++; |
| 626 if (buildCounterEnvironment < 3) { | 655 if (buildCounterEnvironment < 3) { |
| 627 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); | 656 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); |
| 628 unittest.expect(o.dataset, unittest.equals('foo')); | 657 unittest.expect(o.dataset, unittest.equals('foo')); |
| 629 checkUnnamed3068(o.experiments); | 658 checkUnnamed3053(o.experiments); |
| 630 checkUnnamed3069(o.internalExperiments); | 659 checkUnnamed3054(o.internalExperiments); |
| 631 checkUnnamed3070(o.sdkPipelineOptions); | 660 checkUnnamed3055(o.sdkPipelineOptions); |
| 632 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); | 661 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); |
| 633 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 662 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 634 checkUnnamed3071(o.userAgent); | 663 checkUnnamed3056(o.userAgent); |
| 635 checkUnnamed3072(o.version); | 664 checkUnnamed3057(o.version); |
| 636 checkUnnamed3073(o.workerPools); | 665 checkUnnamed3058(o.workerPools); |
| 637 } | 666 } |
| 638 buildCounterEnvironment--; | 667 buildCounterEnvironment--; |
| 639 } | 668 } |
| 640 | 669 |
| 641 core.int buildCounterFailedLocation = 0; | 670 core.int buildCounterFailedLocation = 0; |
| 642 buildFailedLocation() { | 671 buildFailedLocation() { |
| 643 var o = new api.FailedLocation(); | 672 var o = new api.FailedLocation(); |
| 644 buildCounterFailedLocation++; | 673 buildCounterFailedLocation++; |
| 645 if (buildCounterFailedLocation < 3) { | 674 if (buildCounterFailedLocation < 3) { |
| 646 o.name = "foo"; | 675 o.name = "foo"; |
| 647 } | 676 } |
| 648 buildCounterFailedLocation--; | 677 buildCounterFailedLocation--; |
| 649 return o; | 678 return o; |
| 650 } | 679 } |
| 651 | 680 |
| 652 checkFailedLocation(api.FailedLocation o) { | 681 checkFailedLocation(api.FailedLocation o) { |
| 653 buildCounterFailedLocation++; | 682 buildCounterFailedLocation++; |
| 654 if (buildCounterFailedLocation < 3) { | 683 if (buildCounterFailedLocation < 3) { |
| 655 unittest.expect(o.name, unittest.equals('foo')); | 684 unittest.expect(o.name, unittest.equals('foo')); |
| 656 } | 685 } |
| 657 buildCounterFailedLocation--; | 686 buildCounterFailedLocation--; |
| 658 } | 687 } |
| 659 | 688 |
| 660 buildUnnamed3074() { | 689 buildUnnamed3059() { |
| 661 var o = new core.List<api.InstructionInput>(); | 690 var o = new core.List<api.InstructionInput>(); |
| 662 o.add(buildInstructionInput()); | 691 o.add(buildInstructionInput()); |
| 663 o.add(buildInstructionInput()); | 692 o.add(buildInstructionInput()); |
| 664 return o; | 693 return o; |
| 665 } | 694 } |
| 666 | 695 |
| 667 checkUnnamed3074(core.List<api.InstructionInput> o) { | 696 checkUnnamed3059(core.List<api.InstructionInput> o) { |
| 668 unittest.expect(o, unittest.hasLength(2)); | 697 unittest.expect(o, unittest.hasLength(2)); |
| 669 checkInstructionInput(o[0]); | 698 checkInstructionInput(o[0]); |
| 670 checkInstructionInput(o[1]); | 699 checkInstructionInput(o[1]); |
| 671 } | 700 } |
| 672 | 701 |
| 673 core.int buildCounterFlattenInstruction = 0; | 702 core.int buildCounterFlattenInstruction = 0; |
| 674 buildFlattenInstruction() { | 703 buildFlattenInstruction() { |
| 675 var o = new api.FlattenInstruction(); | 704 var o = new api.FlattenInstruction(); |
| 676 buildCounterFlattenInstruction++; | 705 buildCounterFlattenInstruction++; |
| 677 if (buildCounterFlattenInstruction < 3) { | 706 if (buildCounterFlattenInstruction < 3) { |
| 678 o.inputs = buildUnnamed3074(); | 707 o.inputs = buildUnnamed3059(); |
| 679 } | 708 } |
| 680 buildCounterFlattenInstruction--; | 709 buildCounterFlattenInstruction--; |
| 681 return o; | 710 return o; |
| 682 } | 711 } |
| 683 | 712 |
| 684 checkFlattenInstruction(api.FlattenInstruction o) { | 713 checkFlattenInstruction(api.FlattenInstruction o) { |
| 685 buildCounterFlattenInstruction++; | 714 buildCounterFlattenInstruction++; |
| 686 if (buildCounterFlattenInstruction < 3) { | 715 if (buildCounterFlattenInstruction < 3) { |
| 687 checkUnnamed3074(o.inputs); | 716 checkUnnamed3059(o.inputs); |
| 688 } | 717 } |
| 689 buildCounterFlattenInstruction--; | 718 buildCounterFlattenInstruction--; |
| 690 } | 719 } |
| 691 | 720 |
| 692 buildUnnamed3075() { | 721 buildUnnamed3060() { |
| 693 var o = new core.List<core.double>(); | 722 var o = new core.List<core.double>(); |
| 694 o.add(42.0); | 723 o.add(42.0); |
| 695 o.add(42.0); | 724 o.add(42.0); |
| 696 return o; | 725 return o; |
| 697 } | 726 } |
| 698 | 727 |
| 699 checkUnnamed3075(core.List<core.double> o) { | 728 checkUnnamed3060(core.List<core.double> o) { |
| 700 unittest.expect(o, unittest.hasLength(2)); | 729 unittest.expect(o, unittest.hasLength(2)); |
| 701 unittest.expect(o[0], unittest.equals(42.0)); | 730 unittest.expect(o[0], unittest.equals(42.0)); |
| 702 unittest.expect(o[1], unittest.equals(42.0)); | 731 unittest.expect(o[1], unittest.equals(42.0)); |
| 703 } | 732 } |
| 704 | 733 |
| 705 core.int buildCounterFloatingPointList = 0; | 734 core.int buildCounterFloatingPointList = 0; |
| 706 buildFloatingPointList() { | 735 buildFloatingPointList() { |
| 707 var o = new api.FloatingPointList(); | 736 var o = new api.FloatingPointList(); |
| 708 buildCounterFloatingPointList++; | 737 buildCounterFloatingPointList++; |
| 709 if (buildCounterFloatingPointList < 3) { | 738 if (buildCounterFloatingPointList < 3) { |
| 710 o.elements = buildUnnamed3075(); | 739 o.elements = buildUnnamed3060(); |
| 711 } | 740 } |
| 712 buildCounterFloatingPointList--; | 741 buildCounterFloatingPointList--; |
| 713 return o; | 742 return o; |
| 714 } | 743 } |
| 715 | 744 |
| 716 checkFloatingPointList(api.FloatingPointList o) { | 745 checkFloatingPointList(api.FloatingPointList o) { |
| 717 buildCounterFloatingPointList++; | 746 buildCounterFloatingPointList++; |
| 718 if (buildCounterFloatingPointList < 3) { | 747 if (buildCounterFloatingPointList < 3) { |
| 719 checkUnnamed3075(o.elements); | 748 checkUnnamed3060(o.elements); |
| 720 } | 749 } |
| 721 buildCounterFloatingPointList--; | 750 buildCounterFloatingPointList--; |
| 722 } | 751 } |
| 723 | 752 |
| 724 core.int buildCounterFloatingPointMean = 0; | 753 core.int buildCounterFloatingPointMean = 0; |
| 725 buildFloatingPointMean() { | 754 buildFloatingPointMean() { |
| 726 var o = new api.FloatingPointMean(); | 755 var o = new api.FloatingPointMean(); |
| 727 buildCounterFloatingPointMean++; | 756 buildCounterFloatingPointMean++; |
| 728 if (buildCounterFloatingPointMean < 3) { | 757 if (buildCounterFloatingPointMean < 3) { |
| 729 o.count = buildSplitInt64(); | 758 o.count = buildSplitInt64(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 | 825 |
| 797 checkInstructionInput(api.InstructionInput o) { | 826 checkInstructionInput(api.InstructionInput o) { |
| 798 buildCounterInstructionInput++; | 827 buildCounterInstructionInput++; |
| 799 if (buildCounterInstructionInput < 3) { | 828 if (buildCounterInstructionInput < 3) { |
| 800 unittest.expect(o.outputNum, unittest.equals(42)); | 829 unittest.expect(o.outputNum, unittest.equals(42)); |
| 801 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); | 830 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); |
| 802 } | 831 } |
| 803 buildCounterInstructionInput--; | 832 buildCounterInstructionInput--; |
| 804 } | 833 } |
| 805 | 834 |
| 806 buildUnnamed3076() { | 835 buildUnnamed3061() { |
| 807 var o = new core.Map<core.String, core.Object>(); | 836 var o = new core.Map<core.String, core.Object>(); |
| 808 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 837 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 809 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 838 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 810 return o; | 839 return o; |
| 811 } | 840 } |
| 812 | 841 |
| 813 checkUnnamed3076(core.Map<core.String, core.Object> o) { | 842 checkUnnamed3061(core.Map<core.String, core.Object> o) { |
| 814 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
| 815 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')); | 844 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')); |
| 816 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')); | 845 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')); |
| 817 } | 846 } |
| 818 | 847 |
| 819 core.int buildCounterInstructionOutput = 0; | 848 core.int buildCounterInstructionOutput = 0; |
| 820 buildInstructionOutput() { | 849 buildInstructionOutput() { |
| 821 var o = new api.InstructionOutput(); | 850 var o = new api.InstructionOutput(); |
| 822 buildCounterInstructionOutput++; | 851 buildCounterInstructionOutput++; |
| 823 if (buildCounterInstructionOutput < 3) { | 852 if (buildCounterInstructionOutput < 3) { |
| 824 o.codec = buildUnnamed3076(); | 853 o.codec = buildUnnamed3061(); |
| 825 o.name = "foo"; | 854 o.name = "foo"; |
| 826 o.onlyCountKeyBytes = true; | 855 o.onlyCountKeyBytes = true; |
| 827 o.onlyCountValueBytes = true; | 856 o.onlyCountValueBytes = true; |
| 828 o.originalName = "foo"; | 857 o.originalName = "foo"; |
| 829 o.systemName = "foo"; | 858 o.systemName = "foo"; |
| 830 } | 859 } |
| 831 buildCounterInstructionOutput--; | 860 buildCounterInstructionOutput--; |
| 832 return o; | 861 return o; |
| 833 } | 862 } |
| 834 | 863 |
| 835 checkInstructionOutput(api.InstructionOutput o) { | 864 checkInstructionOutput(api.InstructionOutput o) { |
| 836 buildCounterInstructionOutput++; | 865 buildCounterInstructionOutput++; |
| 837 if (buildCounterInstructionOutput < 3) { | 866 if (buildCounterInstructionOutput < 3) { |
| 838 checkUnnamed3076(o.codec); | 867 checkUnnamed3061(o.codec); |
| 839 unittest.expect(o.name, unittest.equals('foo')); | 868 unittest.expect(o.name, unittest.equals('foo')); |
| 840 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); | 869 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); |
| 841 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); | 870 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); |
| 842 unittest.expect(o.originalName, unittest.equals('foo')); | 871 unittest.expect(o.originalName, unittest.equals('foo')); |
| 843 unittest.expect(o.systemName, unittest.equals('foo')); | 872 unittest.expect(o.systemName, unittest.equals('foo')); |
| 844 } | 873 } |
| 845 buildCounterInstructionOutput--; | 874 buildCounterInstructionOutput--; |
| 846 } | 875 } |
| 847 | 876 |
| 848 buildUnnamed3077() { | 877 buildUnnamed3062() { |
| 849 var o = new core.List<api.SplitInt64>(); | 878 var o = new core.List<api.SplitInt64>(); |
| 850 o.add(buildSplitInt64()); | 879 o.add(buildSplitInt64()); |
| 851 o.add(buildSplitInt64()); | 880 o.add(buildSplitInt64()); |
| 852 return o; | 881 return o; |
| 853 } | 882 } |
| 854 | 883 |
| 855 checkUnnamed3077(core.List<api.SplitInt64> o) { | 884 checkUnnamed3062(core.List<api.SplitInt64> o) { |
| 856 unittest.expect(o, unittest.hasLength(2)); | 885 unittest.expect(o, unittest.hasLength(2)); |
| 857 checkSplitInt64(o[0]); | 886 checkSplitInt64(o[0]); |
| 858 checkSplitInt64(o[1]); | 887 checkSplitInt64(o[1]); |
| 859 } | 888 } |
| 860 | 889 |
| 861 core.int buildCounterIntegerList = 0; | 890 core.int buildCounterIntegerList = 0; |
| 862 buildIntegerList() { | 891 buildIntegerList() { |
| 863 var o = new api.IntegerList(); | 892 var o = new api.IntegerList(); |
| 864 buildCounterIntegerList++; | 893 buildCounterIntegerList++; |
| 865 if (buildCounterIntegerList < 3) { | 894 if (buildCounterIntegerList < 3) { |
| 866 o.elements = buildUnnamed3077(); | 895 o.elements = buildUnnamed3062(); |
| 867 } | 896 } |
| 868 buildCounterIntegerList--; | 897 buildCounterIntegerList--; |
| 869 return o; | 898 return o; |
| 870 } | 899 } |
| 871 | 900 |
| 872 checkIntegerList(api.IntegerList o) { | 901 checkIntegerList(api.IntegerList o) { |
| 873 buildCounterIntegerList++; | 902 buildCounterIntegerList++; |
| 874 if (buildCounterIntegerList < 3) { | 903 if (buildCounterIntegerList < 3) { |
| 875 checkUnnamed3077(o.elements); | 904 checkUnnamed3062(o.elements); |
| 876 } | 905 } |
| 877 buildCounterIntegerList--; | 906 buildCounterIntegerList--; |
| 878 } | 907 } |
| 879 | 908 |
| 880 core.int buildCounterIntegerMean = 0; | 909 core.int buildCounterIntegerMean = 0; |
| 881 buildIntegerMean() { | 910 buildIntegerMean() { |
| 882 var o = new api.IntegerMean(); | 911 var o = new api.IntegerMean(); |
| 883 buildCounterIntegerMean++; | 912 buildCounterIntegerMean++; |
| 884 if (buildCounterIntegerMean < 3) { | 913 if (buildCounterIntegerMean < 3) { |
| 885 o.count = buildSplitInt64(); | 914 o.count = buildSplitInt64(); |
| 886 o.sum = buildSplitInt64(); | 915 o.sum = buildSplitInt64(); |
| 887 } | 916 } |
| 888 buildCounterIntegerMean--; | 917 buildCounterIntegerMean--; |
| 889 return o; | 918 return o; |
| 890 } | 919 } |
| 891 | 920 |
| 892 checkIntegerMean(api.IntegerMean o) { | 921 checkIntegerMean(api.IntegerMean o) { |
| 893 buildCounterIntegerMean++; | 922 buildCounterIntegerMean++; |
| 894 if (buildCounterIntegerMean < 3) { | 923 if (buildCounterIntegerMean < 3) { |
| 895 checkSplitInt64(o.count); | 924 checkSplitInt64(o.count); |
| 896 checkSplitInt64(o.sum); | 925 checkSplitInt64(o.sum); |
| 897 } | 926 } |
| 898 buildCounterIntegerMean--; | 927 buildCounterIntegerMean--; |
| 899 } | 928 } |
| 900 | 929 |
| 901 buildUnnamed3078() { | 930 buildUnnamed3063() { |
| 902 var o = new core.Map<core.String, core.String>(); | 931 var o = new core.Map<core.String, core.String>(); |
| 903 o["x"] = "foo"; | 932 o["x"] = "foo"; |
| 904 o["y"] = "foo"; | 933 o["y"] = "foo"; |
| 905 return o; | 934 return o; |
| 906 } | 935 } |
| 907 | 936 |
| 908 checkUnnamed3078(core.Map<core.String, core.String> o) { | 937 checkUnnamed3063(core.Map<core.String, core.String> o) { |
| 909 unittest.expect(o, unittest.hasLength(2)); | 938 unittest.expect(o, unittest.hasLength(2)); |
| 910 unittest.expect(o["x"], unittest.equals('foo')); | 939 unittest.expect(o["x"], unittest.equals('foo')); |
| 911 unittest.expect(o["y"], unittest.equals('foo')); | 940 unittest.expect(o["y"], unittest.equals('foo')); |
| 912 } | 941 } |
| 913 | 942 |
| 914 buildUnnamed3079() { | 943 buildUnnamed3064() { |
| 915 var o = new core.List<api.Step>(); | 944 var o = new core.List<api.Step>(); |
| 916 o.add(buildStep()); | 945 o.add(buildStep()); |
| 917 o.add(buildStep()); | 946 o.add(buildStep()); |
| 918 return o; | 947 return o; |
| 919 } | 948 } |
| 920 | 949 |
| 921 checkUnnamed3079(core.List<api.Step> o) { | 950 checkUnnamed3064(core.List<api.Step> o) { |
| 922 unittest.expect(o, unittest.hasLength(2)); | 951 unittest.expect(o, unittest.hasLength(2)); |
| 923 checkStep(o[0]); | 952 checkStep(o[0]); |
| 924 checkStep(o[1]); | 953 checkStep(o[1]); |
| 925 } | 954 } |
| 926 | 955 |
| 927 buildUnnamed3080() { | 956 buildUnnamed3065() { |
| 928 var o = new core.List<core.String>(); | 957 var o = new core.List<core.String>(); |
| 929 o.add("foo"); | 958 o.add("foo"); |
| 930 o.add("foo"); | 959 o.add("foo"); |
| 931 return o; | 960 return o; |
| 932 } | 961 } |
| 933 | 962 |
| 934 checkUnnamed3080(core.List<core.String> o) { | 963 checkUnnamed3065(core.List<core.String> o) { |
| 935 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 936 unittest.expect(o[0], unittest.equals('foo')); | 965 unittest.expect(o[0], unittest.equals('foo')); |
| 937 unittest.expect(o[1], unittest.equals('foo')); | 966 unittest.expect(o[1], unittest.equals('foo')); |
| 938 } | 967 } |
| 939 | 968 |
| 940 buildUnnamed3081() { | 969 buildUnnamed3066() { |
| 941 var o = new core.Map<core.String, core.String>(); | 970 var o = new core.Map<core.String, core.String>(); |
| 942 o["x"] = "foo"; | 971 o["x"] = "foo"; |
| 943 o["y"] = "foo"; | 972 o["y"] = "foo"; |
| 944 return o; | 973 return o; |
| 945 } | 974 } |
| 946 | 975 |
| 947 checkUnnamed3081(core.Map<core.String, core.String> o) { | 976 checkUnnamed3066(core.Map<core.String, core.String> o) { |
| 948 unittest.expect(o, unittest.hasLength(2)); | 977 unittest.expect(o, unittest.hasLength(2)); |
| 949 unittest.expect(o["x"], unittest.equals('foo')); | 978 unittest.expect(o["x"], unittest.equals('foo')); |
| 950 unittest.expect(o["y"], unittest.equals('foo')); | 979 unittest.expect(o["y"], unittest.equals('foo')); |
| 951 } | 980 } |
| 952 | 981 |
| 953 core.int buildCounterJob = 0; | 982 core.int buildCounterJob = 0; |
| 954 buildJob() { | 983 buildJob() { |
| 955 var o = new api.Job(); | 984 var o = new api.Job(); |
| 956 buildCounterJob++; | 985 buildCounterJob++; |
| 957 if (buildCounterJob < 3) { | 986 if (buildCounterJob < 3) { |
| 958 o.clientRequestId = "foo"; | 987 o.clientRequestId = "foo"; |
| 959 o.createTime = "foo"; | 988 o.createTime = "foo"; |
| 960 o.currentState = "foo"; | 989 o.currentState = "foo"; |
| 961 o.currentStateTime = "foo"; | 990 o.currentStateTime = "foo"; |
| 962 o.environment = buildEnvironment(); | 991 o.environment = buildEnvironment(); |
| 963 o.executionInfo = buildJobExecutionInfo(); | 992 o.executionInfo = buildJobExecutionInfo(); |
| 964 o.id = "foo"; | 993 o.id = "foo"; |
| 965 o.labels = buildUnnamed3078(); | 994 o.labels = buildUnnamed3063(); |
| 966 o.location = "foo"; | 995 o.location = "foo"; |
| 967 o.name = "foo"; | 996 o.name = "foo"; |
| 968 o.projectId = "foo"; | 997 o.projectId = "foo"; |
| 969 o.replaceJobId = "foo"; | 998 o.replaceJobId = "foo"; |
| 970 o.replacedByJobId = "foo"; | 999 o.replacedByJobId = "foo"; |
| 971 o.requestedState = "foo"; | 1000 o.requestedState = "foo"; |
| 972 o.steps = buildUnnamed3079(); | 1001 o.steps = buildUnnamed3064(); |
| 973 o.tempFiles = buildUnnamed3080(); | 1002 o.tempFiles = buildUnnamed3065(); |
| 974 o.transformNameMapping = buildUnnamed3081(); | 1003 o.transformNameMapping = buildUnnamed3066(); |
| 975 o.type = "foo"; | 1004 o.type = "foo"; |
| 976 } | 1005 } |
| 977 buildCounterJob--; | 1006 buildCounterJob--; |
| 978 return o; | 1007 return o; |
| 979 } | 1008 } |
| 980 | 1009 |
| 981 checkJob(api.Job o) { | 1010 checkJob(api.Job o) { |
| 982 buildCounterJob++; | 1011 buildCounterJob++; |
| 983 if (buildCounterJob < 3) { | 1012 if (buildCounterJob < 3) { |
| 984 unittest.expect(o.clientRequestId, unittest.equals('foo')); | 1013 unittest.expect(o.clientRequestId, unittest.equals('foo')); |
| 985 unittest.expect(o.createTime, unittest.equals('foo')); | 1014 unittest.expect(o.createTime, unittest.equals('foo')); |
| 986 unittest.expect(o.currentState, unittest.equals('foo')); | 1015 unittest.expect(o.currentState, unittest.equals('foo')); |
| 987 unittest.expect(o.currentStateTime, unittest.equals('foo')); | 1016 unittest.expect(o.currentStateTime, unittest.equals('foo')); |
| 988 checkEnvironment(o.environment); | 1017 checkEnvironment(o.environment); |
| 989 checkJobExecutionInfo(o.executionInfo); | 1018 checkJobExecutionInfo(o.executionInfo); |
| 990 unittest.expect(o.id, unittest.equals('foo')); | 1019 unittest.expect(o.id, unittest.equals('foo')); |
| 991 checkUnnamed3078(o.labels); | 1020 checkUnnamed3063(o.labels); |
| 992 unittest.expect(o.location, unittest.equals('foo')); | 1021 unittest.expect(o.location, unittest.equals('foo')); |
| 993 unittest.expect(o.name, unittest.equals('foo')); | 1022 unittest.expect(o.name, unittest.equals('foo')); |
| 994 unittest.expect(o.projectId, unittest.equals('foo')); | 1023 unittest.expect(o.projectId, unittest.equals('foo')); |
| 995 unittest.expect(o.replaceJobId, unittest.equals('foo')); | 1024 unittest.expect(o.replaceJobId, unittest.equals('foo')); |
| 996 unittest.expect(o.replacedByJobId, unittest.equals('foo')); | 1025 unittest.expect(o.replacedByJobId, unittest.equals('foo')); |
| 997 unittest.expect(o.requestedState, unittest.equals('foo')); | 1026 unittest.expect(o.requestedState, unittest.equals('foo')); |
| 998 checkUnnamed3079(o.steps); | 1027 checkUnnamed3064(o.steps); |
| 999 checkUnnamed3080(o.tempFiles); | 1028 checkUnnamed3065(o.tempFiles); |
| 1000 checkUnnamed3081(o.transformNameMapping); | 1029 checkUnnamed3066(o.transformNameMapping); |
| 1001 unittest.expect(o.type, unittest.equals('foo')); | 1030 unittest.expect(o.type, unittest.equals('foo')); |
| 1002 } | 1031 } |
| 1003 buildCounterJob--; | 1032 buildCounterJob--; |
| 1004 } | 1033 } |
| 1005 | 1034 |
| 1006 buildUnnamed3082() { | 1035 buildUnnamed3067() { |
| 1007 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); | 1036 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); |
| 1008 o["x"] = buildJobExecutionStageInfo(); | 1037 o["x"] = buildJobExecutionStageInfo(); |
| 1009 o["y"] = buildJobExecutionStageInfo(); | 1038 o["y"] = buildJobExecutionStageInfo(); |
| 1010 return o; | 1039 return o; |
| 1011 } | 1040 } |
| 1012 | 1041 |
| 1013 checkUnnamed3082(core.Map<core.String, api.JobExecutionStageInfo> o) { | 1042 checkUnnamed3067(core.Map<core.String, api.JobExecutionStageInfo> o) { |
| 1014 unittest.expect(o, unittest.hasLength(2)); | 1043 unittest.expect(o, unittest.hasLength(2)); |
| 1015 checkJobExecutionStageInfo(o["x"]); | 1044 checkJobExecutionStageInfo(o["x"]); |
| 1016 checkJobExecutionStageInfo(o["y"]); | 1045 checkJobExecutionStageInfo(o["y"]); |
| 1017 } | 1046 } |
| 1018 | 1047 |
| 1019 core.int buildCounterJobExecutionInfo = 0; | 1048 core.int buildCounterJobExecutionInfo = 0; |
| 1020 buildJobExecutionInfo() { | 1049 buildJobExecutionInfo() { |
| 1021 var o = new api.JobExecutionInfo(); | 1050 var o = new api.JobExecutionInfo(); |
| 1022 buildCounterJobExecutionInfo++; | 1051 buildCounterJobExecutionInfo++; |
| 1023 if (buildCounterJobExecutionInfo < 3) { | 1052 if (buildCounterJobExecutionInfo < 3) { |
| 1024 o.stages = buildUnnamed3082(); | 1053 o.stages = buildUnnamed3067(); |
| 1025 } | 1054 } |
| 1026 buildCounterJobExecutionInfo--; | 1055 buildCounterJobExecutionInfo--; |
| 1027 return o; | 1056 return o; |
| 1028 } | 1057 } |
| 1029 | 1058 |
| 1030 checkJobExecutionInfo(api.JobExecutionInfo o) { | 1059 checkJobExecutionInfo(api.JobExecutionInfo o) { |
| 1031 buildCounterJobExecutionInfo++; | 1060 buildCounterJobExecutionInfo++; |
| 1032 if (buildCounterJobExecutionInfo < 3) { | 1061 if (buildCounterJobExecutionInfo < 3) { |
| 1033 checkUnnamed3082(o.stages); | 1062 checkUnnamed3067(o.stages); |
| 1034 } | 1063 } |
| 1035 buildCounterJobExecutionInfo--; | 1064 buildCounterJobExecutionInfo--; |
| 1036 } | 1065 } |
| 1037 | 1066 |
| 1038 buildUnnamed3083() { | 1067 buildUnnamed3068() { |
| 1039 var o = new core.List<core.String>(); | 1068 var o = new core.List<core.String>(); |
| 1040 o.add("foo"); | 1069 o.add("foo"); |
| 1041 o.add("foo"); | 1070 o.add("foo"); |
| 1042 return o; | 1071 return o; |
| 1043 } | 1072 } |
| 1044 | 1073 |
| 1045 checkUnnamed3083(core.List<core.String> o) { | 1074 checkUnnamed3068(core.List<core.String> o) { |
| 1046 unittest.expect(o, unittest.hasLength(2)); | 1075 unittest.expect(o, unittest.hasLength(2)); |
| 1047 unittest.expect(o[0], unittest.equals('foo')); | 1076 unittest.expect(o[0], unittest.equals('foo')); |
| 1048 unittest.expect(o[1], unittest.equals('foo')); | 1077 unittest.expect(o[1], unittest.equals('foo')); |
| 1049 } | 1078 } |
| 1050 | 1079 |
| 1051 core.int buildCounterJobExecutionStageInfo = 0; | 1080 core.int buildCounterJobExecutionStageInfo = 0; |
| 1052 buildJobExecutionStageInfo() { | 1081 buildJobExecutionStageInfo() { |
| 1053 var o = new api.JobExecutionStageInfo(); | 1082 var o = new api.JobExecutionStageInfo(); |
| 1054 buildCounterJobExecutionStageInfo++; | 1083 buildCounterJobExecutionStageInfo++; |
| 1055 if (buildCounterJobExecutionStageInfo < 3) { | 1084 if (buildCounterJobExecutionStageInfo < 3) { |
| 1056 o.stepName = buildUnnamed3083(); | 1085 o.stepName = buildUnnamed3068(); |
| 1057 } | 1086 } |
| 1058 buildCounterJobExecutionStageInfo--; | 1087 buildCounterJobExecutionStageInfo--; |
| 1059 return o; | 1088 return o; |
| 1060 } | 1089 } |
| 1061 | 1090 |
| 1062 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { | 1091 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { |
| 1063 buildCounterJobExecutionStageInfo++; | 1092 buildCounterJobExecutionStageInfo++; |
| 1064 if (buildCounterJobExecutionStageInfo < 3) { | 1093 if (buildCounterJobExecutionStageInfo < 3) { |
| 1065 checkUnnamed3083(o.stepName); | 1094 checkUnnamed3068(o.stepName); |
| 1066 } | 1095 } |
| 1067 buildCounterJobExecutionStageInfo--; | 1096 buildCounterJobExecutionStageInfo--; |
| 1068 } | 1097 } |
| 1069 | 1098 |
| 1070 core.int buildCounterJobMessage = 0; | 1099 core.int buildCounterJobMessage = 0; |
| 1071 buildJobMessage() { | 1100 buildJobMessage() { |
| 1072 var o = new api.JobMessage(); | 1101 var o = new api.JobMessage(); |
| 1073 buildCounterJobMessage++; | 1102 buildCounterJobMessage++; |
| 1074 if (buildCounterJobMessage < 3) { | 1103 if (buildCounterJobMessage < 3) { |
| 1075 o.id = "foo"; | 1104 o.id = "foo"; |
| 1076 o.messageImportance = "foo"; | 1105 o.messageImportance = "foo"; |
| 1077 o.messageText = "foo"; | 1106 o.messageText = "foo"; |
| 1078 o.time = "foo"; | 1107 o.time = "foo"; |
| 1079 } | 1108 } |
| 1080 buildCounterJobMessage--; | 1109 buildCounterJobMessage--; |
| 1081 return o; | 1110 return o; |
| 1082 } | 1111 } |
| 1083 | 1112 |
| 1084 checkJobMessage(api.JobMessage o) { | 1113 checkJobMessage(api.JobMessage o) { |
| 1085 buildCounterJobMessage++; | 1114 buildCounterJobMessage++; |
| 1086 if (buildCounterJobMessage < 3) { | 1115 if (buildCounterJobMessage < 3) { |
| 1087 unittest.expect(o.id, unittest.equals('foo')); | 1116 unittest.expect(o.id, unittest.equals('foo')); |
| 1088 unittest.expect(o.messageImportance, unittest.equals('foo')); | 1117 unittest.expect(o.messageImportance, unittest.equals('foo')); |
| 1089 unittest.expect(o.messageText, unittest.equals('foo')); | 1118 unittest.expect(o.messageText, unittest.equals('foo')); |
| 1090 unittest.expect(o.time, unittest.equals('foo')); | 1119 unittest.expect(o.time, unittest.equals('foo')); |
| 1091 } | 1120 } |
| 1092 buildCounterJobMessage--; | 1121 buildCounterJobMessage--; |
| 1093 } | 1122 } |
| 1094 | 1123 |
| 1095 buildUnnamed3084() { | 1124 buildUnnamed3069() { |
| 1096 var o = new core.List<api.MetricUpdate>(); | 1125 var o = new core.List<api.MetricUpdate>(); |
| 1097 o.add(buildMetricUpdate()); | 1126 o.add(buildMetricUpdate()); |
| 1098 o.add(buildMetricUpdate()); | 1127 o.add(buildMetricUpdate()); |
| 1099 return o; | 1128 return o; |
| 1100 } | 1129 } |
| 1101 | 1130 |
| 1102 checkUnnamed3084(core.List<api.MetricUpdate> o) { | 1131 checkUnnamed3069(core.List<api.MetricUpdate> o) { |
| 1103 unittest.expect(o, unittest.hasLength(2)); | 1132 unittest.expect(o, unittest.hasLength(2)); |
| 1104 checkMetricUpdate(o[0]); | 1133 checkMetricUpdate(o[0]); |
| 1105 checkMetricUpdate(o[1]); | 1134 checkMetricUpdate(o[1]); |
| 1106 } | 1135 } |
| 1107 | 1136 |
| 1108 core.int buildCounterJobMetrics = 0; | 1137 core.int buildCounterJobMetrics = 0; |
| 1109 buildJobMetrics() { | 1138 buildJobMetrics() { |
| 1110 var o = new api.JobMetrics(); | 1139 var o = new api.JobMetrics(); |
| 1111 buildCounterJobMetrics++; | 1140 buildCounterJobMetrics++; |
| 1112 if (buildCounterJobMetrics < 3) { | 1141 if (buildCounterJobMetrics < 3) { |
| 1113 o.metricTime = "foo"; | 1142 o.metricTime = "foo"; |
| 1114 o.metrics = buildUnnamed3084(); | 1143 o.metrics = buildUnnamed3069(); |
| 1115 } | 1144 } |
| 1116 buildCounterJobMetrics--; | 1145 buildCounterJobMetrics--; |
| 1117 return o; | 1146 return o; |
| 1118 } | 1147 } |
| 1119 | 1148 |
| 1120 checkJobMetrics(api.JobMetrics o) { | 1149 checkJobMetrics(api.JobMetrics o) { |
| 1121 buildCounterJobMetrics++; | 1150 buildCounterJobMetrics++; |
| 1122 if (buildCounterJobMetrics < 3) { | 1151 if (buildCounterJobMetrics < 3) { |
| 1123 unittest.expect(o.metricTime, unittest.equals('foo')); | 1152 unittest.expect(o.metricTime, unittest.equals('foo')); |
| 1124 checkUnnamed3084(o.metrics); | 1153 checkUnnamed3069(o.metrics); |
| 1125 } | 1154 } |
| 1126 buildCounterJobMetrics--; | 1155 buildCounterJobMetrics--; |
| 1127 } | 1156 } |
| 1128 | 1157 |
| 1129 core.int buildCounterKeyRangeDataDiskAssignment = 0; | 1158 core.int buildCounterKeyRangeDataDiskAssignment = 0; |
| 1130 buildKeyRangeDataDiskAssignment() { | 1159 buildKeyRangeDataDiskAssignment() { |
| 1131 var o = new api.KeyRangeDataDiskAssignment(); | 1160 var o = new api.KeyRangeDataDiskAssignment(); |
| 1132 buildCounterKeyRangeDataDiskAssignment++; | 1161 buildCounterKeyRangeDataDiskAssignment++; |
| 1133 if (buildCounterKeyRangeDataDiskAssignment < 3) { | 1162 if (buildCounterKeyRangeDataDiskAssignment < 3) { |
| 1134 o.dataDisk = "foo"; | 1163 o.dataDisk = "foo"; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 if (buildCounterKeyRangeLocation < 3) { | 1198 if (buildCounterKeyRangeLocation < 3) { |
| 1170 unittest.expect(o.dataDisk, unittest.equals('foo')); | 1199 unittest.expect(o.dataDisk, unittest.equals('foo')); |
| 1171 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); | 1200 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); |
| 1172 unittest.expect(o.end, unittest.equals('foo')); | 1201 unittest.expect(o.end, unittest.equals('foo')); |
| 1173 unittest.expect(o.persistentDirectory, unittest.equals('foo')); | 1202 unittest.expect(o.persistentDirectory, unittest.equals('foo')); |
| 1174 unittest.expect(o.start, unittest.equals('foo')); | 1203 unittest.expect(o.start, unittest.equals('foo')); |
| 1175 } | 1204 } |
| 1176 buildCounterKeyRangeLocation--; | 1205 buildCounterKeyRangeLocation--; |
| 1177 } | 1206 } |
| 1178 | 1207 |
| 1179 buildUnnamed3085() { | 1208 buildUnnamed3070() { |
| 1180 var o = new core.List<core.String>(); | 1209 var o = new core.List<core.String>(); |
| 1181 o.add("foo"); | 1210 o.add("foo"); |
| 1182 o.add("foo"); | 1211 o.add("foo"); |
| 1183 return o; | 1212 return o; |
| 1184 } | 1213 } |
| 1185 | 1214 |
| 1186 checkUnnamed3085(core.List<core.String> o) { | 1215 checkUnnamed3070(core.List<core.String> o) { |
| 1187 unittest.expect(o, unittest.hasLength(2)); | 1216 unittest.expect(o, unittest.hasLength(2)); |
| 1188 unittest.expect(o[0], unittest.equals('foo')); | 1217 unittest.expect(o[0], unittest.equals('foo')); |
| 1189 unittest.expect(o[1], unittest.equals('foo')); | 1218 unittest.expect(o[1], unittest.equals('foo')); |
| 1190 } | 1219 } |
| 1191 | 1220 |
| 1192 buildUnnamed3086() { | 1221 buildUnnamed3071() { |
| 1193 var o = new core.List<core.String>(); | 1222 var o = new core.List<core.String>(); |
| 1194 o.add("foo"); | 1223 o.add("foo"); |
| 1195 o.add("foo"); | 1224 o.add("foo"); |
| 1196 return o; | 1225 return o; |
| 1197 } | 1226 } |
| 1198 | 1227 |
| 1199 checkUnnamed3086(core.List<core.String> o) { | 1228 checkUnnamed3071(core.List<core.String> o) { |
| 1200 unittest.expect(o, unittest.hasLength(2)); | 1229 unittest.expect(o, unittest.hasLength(2)); |
| 1201 unittest.expect(o[0], unittest.equals('foo')); | 1230 unittest.expect(o[0], unittest.equals('foo')); |
| 1202 unittest.expect(o[1], unittest.equals('foo')); | 1231 unittest.expect(o[1], unittest.equals('foo')); |
| 1203 } | 1232 } |
| 1204 | 1233 |
| 1205 core.int buildCounterLeaseWorkItemRequest = 0; | 1234 core.int buildCounterLeaseWorkItemRequest = 0; |
| 1206 buildLeaseWorkItemRequest() { | 1235 buildLeaseWorkItemRequest() { |
| 1207 var o = new api.LeaseWorkItemRequest(); | 1236 var o = new api.LeaseWorkItemRequest(); |
| 1208 buildCounterLeaseWorkItemRequest++; | 1237 buildCounterLeaseWorkItemRequest++; |
| 1209 if (buildCounterLeaseWorkItemRequest < 3) { | 1238 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1210 o.currentWorkerTime = "foo"; | 1239 o.currentWorkerTime = "foo"; |
| 1211 o.location = "foo"; | 1240 o.location = "foo"; |
| 1212 o.requestedLeaseDuration = "foo"; | 1241 o.requestedLeaseDuration = "foo"; |
| 1213 o.workItemTypes = buildUnnamed3085(); | 1242 o.workItemTypes = buildUnnamed3070(); |
| 1214 o.workerCapabilities = buildUnnamed3086(); | 1243 o.workerCapabilities = buildUnnamed3071(); |
| 1215 o.workerId = "foo"; | 1244 o.workerId = "foo"; |
| 1216 } | 1245 } |
| 1217 buildCounterLeaseWorkItemRequest--; | 1246 buildCounterLeaseWorkItemRequest--; |
| 1218 return o; | 1247 return o; |
| 1219 } | 1248 } |
| 1220 | 1249 |
| 1221 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { | 1250 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { |
| 1222 buildCounterLeaseWorkItemRequest++; | 1251 buildCounterLeaseWorkItemRequest++; |
| 1223 if (buildCounterLeaseWorkItemRequest < 3) { | 1252 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1224 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1253 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1225 unittest.expect(o.location, unittest.equals('foo')); | 1254 unittest.expect(o.location, unittest.equals('foo')); |
| 1226 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 1255 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 1227 checkUnnamed3085(o.workItemTypes); | 1256 checkUnnamed3070(o.workItemTypes); |
| 1228 checkUnnamed3086(o.workerCapabilities); | 1257 checkUnnamed3071(o.workerCapabilities); |
| 1229 unittest.expect(o.workerId, unittest.equals('foo')); | 1258 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1230 } | 1259 } |
| 1231 buildCounterLeaseWorkItemRequest--; | 1260 buildCounterLeaseWorkItemRequest--; |
| 1232 } | 1261 } |
| 1233 | 1262 |
| 1234 buildUnnamed3087() { | 1263 buildUnnamed3072() { |
| 1235 var o = new core.List<api.WorkItem>(); | 1264 var o = new core.List<api.WorkItem>(); |
| 1236 o.add(buildWorkItem()); | 1265 o.add(buildWorkItem()); |
| 1237 o.add(buildWorkItem()); | 1266 o.add(buildWorkItem()); |
| 1238 return o; | 1267 return o; |
| 1239 } | 1268 } |
| 1240 | 1269 |
| 1241 checkUnnamed3087(core.List<api.WorkItem> o) { | 1270 checkUnnamed3072(core.List<api.WorkItem> o) { |
| 1242 unittest.expect(o, unittest.hasLength(2)); | 1271 unittest.expect(o, unittest.hasLength(2)); |
| 1243 checkWorkItem(o[0]); | 1272 checkWorkItem(o[0]); |
| 1244 checkWorkItem(o[1]); | 1273 checkWorkItem(o[1]); |
| 1245 } | 1274 } |
| 1246 | 1275 |
| 1247 core.int buildCounterLeaseWorkItemResponse = 0; | 1276 core.int buildCounterLeaseWorkItemResponse = 0; |
| 1248 buildLeaseWorkItemResponse() { | 1277 buildLeaseWorkItemResponse() { |
| 1249 var o = new api.LeaseWorkItemResponse(); | 1278 var o = new api.LeaseWorkItemResponse(); |
| 1250 buildCounterLeaseWorkItemResponse++; | 1279 buildCounterLeaseWorkItemResponse++; |
| 1251 if (buildCounterLeaseWorkItemResponse < 3) { | 1280 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1252 o.workItems = buildUnnamed3087(); | 1281 o.workItems = buildUnnamed3072(); |
| 1253 } | 1282 } |
| 1254 buildCounterLeaseWorkItemResponse--; | 1283 buildCounterLeaseWorkItemResponse--; |
| 1255 return o; | 1284 return o; |
| 1256 } | 1285 } |
| 1257 | 1286 |
| 1258 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { | 1287 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { |
| 1259 buildCounterLeaseWorkItemResponse++; | 1288 buildCounterLeaseWorkItemResponse++; |
| 1260 if (buildCounterLeaseWorkItemResponse < 3) { | 1289 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1261 checkUnnamed3087(o.workItems); | 1290 checkUnnamed3072(o.workItems); |
| 1262 } | 1291 } |
| 1263 buildCounterLeaseWorkItemResponse--; | 1292 buildCounterLeaseWorkItemResponse--; |
| 1264 } | 1293 } |
| 1265 | 1294 |
| 1266 buildUnnamed3088() { | 1295 buildUnnamed3073() { |
| 1267 var o = new core.List<api.JobMessage>(); | 1296 var o = new core.List<api.JobMessage>(); |
| 1268 o.add(buildJobMessage()); | 1297 o.add(buildJobMessage()); |
| 1269 o.add(buildJobMessage()); | 1298 o.add(buildJobMessage()); |
| 1270 return o; | 1299 return o; |
| 1271 } | 1300 } |
| 1272 | 1301 |
| 1273 checkUnnamed3088(core.List<api.JobMessage> o) { | 1302 checkUnnamed3073(core.List<api.JobMessage> o) { |
| 1274 unittest.expect(o, unittest.hasLength(2)); | 1303 unittest.expect(o, unittest.hasLength(2)); |
| 1275 checkJobMessage(o[0]); | 1304 checkJobMessage(o[0]); |
| 1276 checkJobMessage(o[1]); | 1305 checkJobMessage(o[1]); |
| 1277 } | 1306 } |
| 1278 | 1307 |
| 1279 core.int buildCounterListJobMessagesResponse = 0; | 1308 core.int buildCounterListJobMessagesResponse = 0; |
| 1280 buildListJobMessagesResponse() { | 1309 buildListJobMessagesResponse() { |
| 1281 var o = new api.ListJobMessagesResponse(); | 1310 var o = new api.ListJobMessagesResponse(); |
| 1282 buildCounterListJobMessagesResponse++; | 1311 buildCounterListJobMessagesResponse++; |
| 1283 if (buildCounterListJobMessagesResponse < 3) { | 1312 if (buildCounterListJobMessagesResponse < 3) { |
| 1284 o.jobMessages = buildUnnamed3088(); | 1313 o.jobMessages = buildUnnamed3073(); |
| 1285 o.nextPageToken = "foo"; | 1314 o.nextPageToken = "foo"; |
| 1286 } | 1315 } |
| 1287 buildCounterListJobMessagesResponse--; | 1316 buildCounterListJobMessagesResponse--; |
| 1288 return o; | 1317 return o; |
| 1289 } | 1318 } |
| 1290 | 1319 |
| 1291 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { | 1320 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { |
| 1292 buildCounterListJobMessagesResponse++; | 1321 buildCounterListJobMessagesResponse++; |
| 1293 if (buildCounterListJobMessagesResponse < 3) { | 1322 if (buildCounterListJobMessagesResponse < 3) { |
| 1294 checkUnnamed3088(o.jobMessages); | 1323 checkUnnamed3073(o.jobMessages); |
| 1295 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1324 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1296 } | 1325 } |
| 1297 buildCounterListJobMessagesResponse--; | 1326 buildCounterListJobMessagesResponse--; |
| 1298 } | 1327 } |
| 1299 | 1328 |
| 1300 buildUnnamed3089() { | 1329 buildUnnamed3074() { |
| 1301 var o = new core.List<api.FailedLocation>(); | 1330 var o = new core.List<api.FailedLocation>(); |
| 1302 o.add(buildFailedLocation()); | 1331 o.add(buildFailedLocation()); |
| 1303 o.add(buildFailedLocation()); | 1332 o.add(buildFailedLocation()); |
| 1304 return o; | 1333 return o; |
| 1305 } | 1334 } |
| 1306 | 1335 |
| 1307 checkUnnamed3089(core.List<api.FailedLocation> o) { | 1336 checkUnnamed3074(core.List<api.FailedLocation> o) { |
| 1308 unittest.expect(o, unittest.hasLength(2)); | 1337 unittest.expect(o, unittest.hasLength(2)); |
| 1309 checkFailedLocation(o[0]); | 1338 checkFailedLocation(o[0]); |
| 1310 checkFailedLocation(o[1]); | 1339 checkFailedLocation(o[1]); |
| 1311 } | 1340 } |
| 1312 | 1341 |
| 1313 buildUnnamed3090() { | 1342 buildUnnamed3075() { |
| 1314 var o = new core.List<api.Job>(); | 1343 var o = new core.List<api.Job>(); |
| 1315 o.add(buildJob()); | 1344 o.add(buildJob()); |
| 1316 o.add(buildJob()); | 1345 o.add(buildJob()); |
| 1317 return o; | 1346 return o; |
| 1318 } | 1347 } |
| 1319 | 1348 |
| 1320 checkUnnamed3090(core.List<api.Job> o) { | 1349 checkUnnamed3075(core.List<api.Job> o) { |
| 1321 unittest.expect(o, unittest.hasLength(2)); | 1350 unittest.expect(o, unittest.hasLength(2)); |
| 1322 checkJob(o[0]); | 1351 checkJob(o[0]); |
| 1323 checkJob(o[1]); | 1352 checkJob(o[1]); |
| 1324 } | 1353 } |
| 1325 | 1354 |
| 1326 core.int buildCounterListJobsResponse = 0; | 1355 core.int buildCounterListJobsResponse = 0; |
| 1327 buildListJobsResponse() { | 1356 buildListJobsResponse() { |
| 1328 var o = new api.ListJobsResponse(); | 1357 var o = new api.ListJobsResponse(); |
| 1329 buildCounterListJobsResponse++; | 1358 buildCounterListJobsResponse++; |
| 1330 if (buildCounterListJobsResponse < 3) { | 1359 if (buildCounterListJobsResponse < 3) { |
| 1331 o.failedLocation = buildUnnamed3089(); | 1360 o.failedLocation = buildUnnamed3074(); |
| 1332 o.jobs = buildUnnamed3090(); | 1361 o.jobs = buildUnnamed3075(); |
| 1333 o.nextPageToken = "foo"; | 1362 o.nextPageToken = "foo"; |
| 1334 } | 1363 } |
| 1335 buildCounterListJobsResponse--; | 1364 buildCounterListJobsResponse--; |
| 1336 return o; | 1365 return o; |
| 1337 } | 1366 } |
| 1338 | 1367 |
| 1339 checkListJobsResponse(api.ListJobsResponse o) { | 1368 checkListJobsResponse(api.ListJobsResponse o) { |
| 1340 buildCounterListJobsResponse++; | 1369 buildCounterListJobsResponse++; |
| 1341 if (buildCounterListJobsResponse < 3) { | 1370 if (buildCounterListJobsResponse < 3) { |
| 1342 checkUnnamed3089(o.failedLocation); | 1371 checkUnnamed3074(o.failedLocation); |
| 1343 checkUnnamed3090(o.jobs); | 1372 checkUnnamed3075(o.jobs); |
| 1344 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1373 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1345 } | 1374 } |
| 1346 buildCounterListJobsResponse--; | 1375 buildCounterListJobsResponse--; |
| 1347 } | 1376 } |
| 1348 | 1377 |
| 1349 buildUnnamed3091() { | 1378 buildUnnamed3076() { |
| 1350 var o = new core.List<api.ParallelInstruction>(); | 1379 var o = new core.List<api.ParallelInstruction>(); |
| 1351 o.add(buildParallelInstruction()); | 1380 o.add(buildParallelInstruction()); |
| 1352 o.add(buildParallelInstruction()); | 1381 o.add(buildParallelInstruction()); |
| 1353 return o; | 1382 return o; |
| 1354 } | 1383 } |
| 1355 | 1384 |
| 1356 checkUnnamed3091(core.List<api.ParallelInstruction> o) { | 1385 checkUnnamed3076(core.List<api.ParallelInstruction> o) { |
| 1357 unittest.expect(o, unittest.hasLength(2)); | 1386 unittest.expect(o, unittest.hasLength(2)); |
| 1358 checkParallelInstruction(o[0]); | 1387 checkParallelInstruction(o[0]); |
| 1359 checkParallelInstruction(o[1]); | 1388 checkParallelInstruction(o[1]); |
| 1360 } | 1389 } |
| 1361 | 1390 |
| 1362 core.int buildCounterMapTask = 0; | 1391 core.int buildCounterMapTask = 0; |
| 1363 buildMapTask() { | 1392 buildMapTask() { |
| 1364 var o = new api.MapTask(); | 1393 var o = new api.MapTask(); |
| 1365 buildCounterMapTask++; | 1394 buildCounterMapTask++; |
| 1366 if (buildCounterMapTask < 3) { | 1395 if (buildCounterMapTask < 3) { |
| 1367 o.instructions = buildUnnamed3091(); | 1396 o.instructions = buildUnnamed3076(); |
| 1368 o.stageName = "foo"; | 1397 o.stageName = "foo"; |
| 1369 o.systemName = "foo"; | 1398 o.systemName = "foo"; |
| 1370 } | 1399 } |
| 1371 buildCounterMapTask--; | 1400 buildCounterMapTask--; |
| 1372 return o; | 1401 return o; |
| 1373 } | 1402 } |
| 1374 | 1403 |
| 1375 checkMapTask(api.MapTask o) { | 1404 checkMapTask(api.MapTask o) { |
| 1376 buildCounterMapTask++; | 1405 buildCounterMapTask++; |
| 1377 if (buildCounterMapTask < 3) { | 1406 if (buildCounterMapTask < 3) { |
| 1378 checkUnnamed3091(o.instructions); | 1407 checkUnnamed3076(o.instructions); |
| 1379 unittest.expect(o.stageName, unittest.equals('foo')); | 1408 unittest.expect(o.stageName, unittest.equals('foo')); |
| 1380 unittest.expect(o.systemName, unittest.equals('foo')); | 1409 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1381 } | 1410 } |
| 1382 buildCounterMapTask--; | 1411 buildCounterMapTask--; |
| 1383 } | 1412 } |
| 1384 | 1413 |
| 1385 core.int buildCounterMetricShortId = 0; | 1414 core.int buildCounterMetricShortId = 0; |
| 1386 buildMetricShortId() { | 1415 buildMetricShortId() { |
| 1387 var o = new api.MetricShortId(); | 1416 var o = new api.MetricShortId(); |
| 1388 buildCounterMetricShortId++; | 1417 buildCounterMetricShortId++; |
| 1389 if (buildCounterMetricShortId < 3) { | 1418 if (buildCounterMetricShortId < 3) { |
| 1390 o.metricIndex = 42; | 1419 o.metricIndex = 42; |
| 1391 o.shortId = "foo"; | 1420 o.shortId = "foo"; |
| 1392 } | 1421 } |
| 1393 buildCounterMetricShortId--; | 1422 buildCounterMetricShortId--; |
| 1394 return o; | 1423 return o; |
| 1395 } | 1424 } |
| 1396 | 1425 |
| 1397 checkMetricShortId(api.MetricShortId o) { | 1426 checkMetricShortId(api.MetricShortId o) { |
| 1398 buildCounterMetricShortId++; | 1427 buildCounterMetricShortId++; |
| 1399 if (buildCounterMetricShortId < 3) { | 1428 if (buildCounterMetricShortId < 3) { |
| 1400 unittest.expect(o.metricIndex, unittest.equals(42)); | 1429 unittest.expect(o.metricIndex, unittest.equals(42)); |
| 1401 unittest.expect(o.shortId, unittest.equals('foo')); | 1430 unittest.expect(o.shortId, unittest.equals('foo')); |
| 1402 } | 1431 } |
| 1403 buildCounterMetricShortId--; | 1432 buildCounterMetricShortId--; |
| 1404 } | 1433 } |
| 1405 | 1434 |
| 1406 buildUnnamed3092() { | 1435 buildUnnamed3077() { |
| 1407 var o = new core.Map<core.String, core.String>(); | 1436 var o = new core.Map<core.String, core.String>(); |
| 1408 o["x"] = "foo"; | 1437 o["x"] = "foo"; |
| 1409 o["y"] = "foo"; | 1438 o["y"] = "foo"; |
| 1410 return o; | 1439 return o; |
| 1411 } | 1440 } |
| 1412 | 1441 |
| 1413 checkUnnamed3092(core.Map<core.String, core.String> o) { | 1442 checkUnnamed3077(core.Map<core.String, core.String> o) { |
| 1414 unittest.expect(o, unittest.hasLength(2)); | 1443 unittest.expect(o, unittest.hasLength(2)); |
| 1415 unittest.expect(o["x"], unittest.equals('foo')); | 1444 unittest.expect(o["x"], unittest.equals('foo')); |
| 1416 unittest.expect(o["y"], unittest.equals('foo')); | 1445 unittest.expect(o["y"], unittest.equals('foo')); |
| 1417 } | 1446 } |
| 1418 | 1447 |
| 1419 core.int buildCounterMetricStructuredName = 0; | 1448 core.int buildCounterMetricStructuredName = 0; |
| 1420 buildMetricStructuredName() { | 1449 buildMetricStructuredName() { |
| 1421 var o = new api.MetricStructuredName(); | 1450 var o = new api.MetricStructuredName(); |
| 1422 buildCounterMetricStructuredName++; | 1451 buildCounterMetricStructuredName++; |
| 1423 if (buildCounterMetricStructuredName < 3) { | 1452 if (buildCounterMetricStructuredName < 3) { |
| 1424 o.context = buildUnnamed3092(); | 1453 o.context = buildUnnamed3077(); |
| 1425 o.name = "foo"; | 1454 o.name = "foo"; |
| 1426 o.origin = "foo"; | 1455 o.origin = "foo"; |
| 1427 } | 1456 } |
| 1428 buildCounterMetricStructuredName--; | 1457 buildCounterMetricStructuredName--; |
| 1429 return o; | 1458 return o; |
| 1430 } | 1459 } |
| 1431 | 1460 |
| 1432 checkMetricStructuredName(api.MetricStructuredName o) { | 1461 checkMetricStructuredName(api.MetricStructuredName o) { |
| 1433 buildCounterMetricStructuredName++; | 1462 buildCounterMetricStructuredName++; |
| 1434 if (buildCounterMetricStructuredName < 3) { | 1463 if (buildCounterMetricStructuredName < 3) { |
| 1435 checkUnnamed3092(o.context); | 1464 checkUnnamed3077(o.context); |
| 1436 unittest.expect(o.name, unittest.equals('foo')); | 1465 unittest.expect(o.name, unittest.equals('foo')); |
| 1437 unittest.expect(o.origin, unittest.equals('foo')); | 1466 unittest.expect(o.origin, unittest.equals('foo')); |
| 1438 } | 1467 } |
| 1439 buildCounterMetricStructuredName--; | 1468 buildCounterMetricStructuredName--; |
| 1440 } | 1469 } |
| 1441 | 1470 |
| 1442 core.int buildCounterMetricUpdate = 0; | 1471 core.int buildCounterMetricUpdate = 0; |
| 1443 buildMetricUpdate() { | 1472 buildMetricUpdate() { |
| 1444 var o = new api.MetricUpdate(); | 1473 var o = new api.MetricUpdate(); |
| 1445 buildCounterMetricUpdate++; | 1474 buildCounterMetricUpdate++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 | 1576 |
| 1548 checkPackage(api.Package o) { | 1577 checkPackage(api.Package o) { |
| 1549 buildCounterPackage++; | 1578 buildCounterPackage++; |
| 1550 if (buildCounterPackage < 3) { | 1579 if (buildCounterPackage < 3) { |
| 1551 unittest.expect(o.location, unittest.equals('foo')); | 1580 unittest.expect(o.location, unittest.equals('foo')); |
| 1552 unittest.expect(o.name, unittest.equals('foo')); | 1581 unittest.expect(o.name, unittest.equals('foo')); |
| 1553 } | 1582 } |
| 1554 buildCounterPackage--; | 1583 buildCounterPackage--; |
| 1555 } | 1584 } |
| 1556 | 1585 |
| 1557 buildUnnamed3093() { | 1586 buildUnnamed3078() { |
| 1558 var o = new core.List<api.MultiOutputInfo>(); | 1587 var o = new core.List<api.MultiOutputInfo>(); |
| 1559 o.add(buildMultiOutputInfo()); | 1588 o.add(buildMultiOutputInfo()); |
| 1560 o.add(buildMultiOutputInfo()); | 1589 o.add(buildMultiOutputInfo()); |
| 1561 return o; | 1590 return o; |
| 1562 } | 1591 } |
| 1563 | 1592 |
| 1564 checkUnnamed3093(core.List<api.MultiOutputInfo> o) { | 1593 checkUnnamed3078(core.List<api.MultiOutputInfo> o) { |
| 1565 unittest.expect(o, unittest.hasLength(2)); | 1594 unittest.expect(o, unittest.hasLength(2)); |
| 1566 checkMultiOutputInfo(o[0]); | 1595 checkMultiOutputInfo(o[0]); |
| 1567 checkMultiOutputInfo(o[1]); | 1596 checkMultiOutputInfo(o[1]); |
| 1568 } | 1597 } |
| 1569 | 1598 |
| 1570 buildUnnamed3094() { | 1599 buildUnnamed3079() { |
| 1571 var o = new core.List<api.SideInputInfo>(); | 1600 var o = new core.List<api.SideInputInfo>(); |
| 1572 o.add(buildSideInputInfo()); | 1601 o.add(buildSideInputInfo()); |
| 1573 o.add(buildSideInputInfo()); | 1602 o.add(buildSideInputInfo()); |
| 1574 return o; | 1603 return o; |
| 1575 } | 1604 } |
| 1576 | 1605 |
| 1577 checkUnnamed3094(core.List<api.SideInputInfo> o) { | 1606 checkUnnamed3079(core.List<api.SideInputInfo> o) { |
| 1578 unittest.expect(o, unittest.hasLength(2)); | 1607 unittest.expect(o, unittest.hasLength(2)); |
| 1579 checkSideInputInfo(o[0]); | 1608 checkSideInputInfo(o[0]); |
| 1580 checkSideInputInfo(o[1]); | 1609 checkSideInputInfo(o[1]); |
| 1581 } | 1610 } |
| 1582 | 1611 |
| 1583 buildUnnamed3095() { | 1612 buildUnnamed3080() { |
| 1584 var o = new core.Map<core.String, core.Object>(); | 1613 var o = new core.Map<core.String, core.Object>(); |
| 1585 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1614 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1586 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1615 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1587 return o; | 1616 return o; |
| 1588 } | 1617 } |
| 1589 | 1618 |
| 1590 checkUnnamed3095(core.Map<core.String, core.Object> o) { | 1619 checkUnnamed3080(core.Map<core.String, core.Object> o) { |
| 1591 unittest.expect(o, unittest.hasLength(2)); | 1620 unittest.expect(o, unittest.hasLength(2)); |
| 1592 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')); | 1621 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')); |
| 1593 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')); | 1622 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')); |
| 1594 } | 1623 } |
| 1595 | 1624 |
| 1596 core.int buildCounterParDoInstruction = 0; | 1625 core.int buildCounterParDoInstruction = 0; |
| 1597 buildParDoInstruction() { | 1626 buildParDoInstruction() { |
| 1598 var o = new api.ParDoInstruction(); | 1627 var o = new api.ParDoInstruction(); |
| 1599 buildCounterParDoInstruction++; | 1628 buildCounterParDoInstruction++; |
| 1600 if (buildCounterParDoInstruction < 3) { | 1629 if (buildCounterParDoInstruction < 3) { |
| 1601 o.input = buildInstructionInput(); | 1630 o.input = buildInstructionInput(); |
| 1602 o.multiOutputInfos = buildUnnamed3093(); | 1631 o.multiOutputInfos = buildUnnamed3078(); |
| 1603 o.numOutputs = 42; | 1632 o.numOutputs = 42; |
| 1604 o.sideInputs = buildUnnamed3094(); | 1633 o.sideInputs = buildUnnamed3079(); |
| 1605 o.userFn = buildUnnamed3095(); | 1634 o.userFn = buildUnnamed3080(); |
| 1606 } | 1635 } |
| 1607 buildCounterParDoInstruction--; | 1636 buildCounterParDoInstruction--; |
| 1608 return o; | 1637 return o; |
| 1609 } | 1638 } |
| 1610 | 1639 |
| 1611 checkParDoInstruction(api.ParDoInstruction o) { | 1640 checkParDoInstruction(api.ParDoInstruction o) { |
| 1612 buildCounterParDoInstruction++; | 1641 buildCounterParDoInstruction++; |
| 1613 if (buildCounterParDoInstruction < 3) { | 1642 if (buildCounterParDoInstruction < 3) { |
| 1614 checkInstructionInput(o.input); | 1643 checkInstructionInput(o.input); |
| 1615 checkUnnamed3093(o.multiOutputInfos); | 1644 checkUnnamed3078(o.multiOutputInfos); |
| 1616 unittest.expect(o.numOutputs, unittest.equals(42)); | 1645 unittest.expect(o.numOutputs, unittest.equals(42)); |
| 1617 checkUnnamed3094(o.sideInputs); | 1646 checkUnnamed3079(o.sideInputs); |
| 1618 checkUnnamed3095(o.userFn); | 1647 checkUnnamed3080(o.userFn); |
| 1619 } | 1648 } |
| 1620 buildCounterParDoInstruction--; | 1649 buildCounterParDoInstruction--; |
| 1621 } | 1650 } |
| 1622 | 1651 |
| 1623 buildUnnamed3096() { | 1652 buildUnnamed3081() { |
| 1624 var o = new core.List<api.InstructionOutput>(); | 1653 var o = new core.List<api.InstructionOutput>(); |
| 1625 o.add(buildInstructionOutput()); | 1654 o.add(buildInstructionOutput()); |
| 1626 o.add(buildInstructionOutput()); | 1655 o.add(buildInstructionOutput()); |
| 1627 return o; | 1656 return o; |
| 1628 } | 1657 } |
| 1629 | 1658 |
| 1630 checkUnnamed3096(core.List<api.InstructionOutput> o) { | 1659 checkUnnamed3081(core.List<api.InstructionOutput> o) { |
| 1631 unittest.expect(o, unittest.hasLength(2)); | 1660 unittest.expect(o, unittest.hasLength(2)); |
| 1632 checkInstructionOutput(o[0]); | 1661 checkInstructionOutput(o[0]); |
| 1633 checkInstructionOutput(o[1]); | 1662 checkInstructionOutput(o[1]); |
| 1634 } | 1663 } |
| 1635 | 1664 |
| 1636 core.int buildCounterParallelInstruction = 0; | 1665 core.int buildCounterParallelInstruction = 0; |
| 1637 buildParallelInstruction() { | 1666 buildParallelInstruction() { |
| 1638 var o = new api.ParallelInstruction(); | 1667 var o = new api.ParallelInstruction(); |
| 1639 buildCounterParallelInstruction++; | 1668 buildCounterParallelInstruction++; |
| 1640 if (buildCounterParallelInstruction < 3) { | 1669 if (buildCounterParallelInstruction < 3) { |
| 1641 o.flatten = buildFlattenInstruction(); | 1670 o.flatten = buildFlattenInstruction(); |
| 1642 o.name = "foo"; | 1671 o.name = "foo"; |
| 1643 o.originalName = "foo"; | 1672 o.originalName = "foo"; |
| 1644 o.outputs = buildUnnamed3096(); | 1673 o.outputs = buildUnnamed3081(); |
| 1645 o.parDo = buildParDoInstruction(); | 1674 o.parDo = buildParDoInstruction(); |
| 1646 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); | 1675 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); |
| 1647 o.read = buildReadInstruction(); | 1676 o.read = buildReadInstruction(); |
| 1648 o.systemName = "foo"; | 1677 o.systemName = "foo"; |
| 1649 o.write = buildWriteInstruction(); | 1678 o.write = buildWriteInstruction(); |
| 1650 } | 1679 } |
| 1651 buildCounterParallelInstruction--; | 1680 buildCounterParallelInstruction--; |
| 1652 return o; | 1681 return o; |
| 1653 } | 1682 } |
| 1654 | 1683 |
| 1655 checkParallelInstruction(api.ParallelInstruction o) { | 1684 checkParallelInstruction(api.ParallelInstruction o) { |
| 1656 buildCounterParallelInstruction++; | 1685 buildCounterParallelInstruction++; |
| 1657 if (buildCounterParallelInstruction < 3) { | 1686 if (buildCounterParallelInstruction < 3) { |
| 1658 checkFlattenInstruction(o.flatten); | 1687 checkFlattenInstruction(o.flatten); |
| 1659 unittest.expect(o.name, unittest.equals('foo')); | 1688 unittest.expect(o.name, unittest.equals('foo')); |
| 1660 unittest.expect(o.originalName, unittest.equals('foo')); | 1689 unittest.expect(o.originalName, unittest.equals('foo')); |
| 1661 checkUnnamed3096(o.outputs); | 1690 checkUnnamed3081(o.outputs); |
| 1662 checkParDoInstruction(o.parDo); | 1691 checkParDoInstruction(o.parDo); |
| 1663 checkPartialGroupByKeyInstruction(o.partialGroupByKey); | 1692 checkPartialGroupByKeyInstruction(o.partialGroupByKey); |
| 1664 checkReadInstruction(o.read); | 1693 checkReadInstruction(o.read); |
| 1665 unittest.expect(o.systemName, unittest.equals('foo')); | 1694 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1666 checkWriteInstruction(o.write); | 1695 checkWriteInstruction(o.write); |
| 1667 } | 1696 } |
| 1668 buildCounterParallelInstruction--; | 1697 buildCounterParallelInstruction--; |
| 1669 } | 1698 } |
| 1670 | 1699 |
| 1671 buildUnnamed3097() { | 1700 buildUnnamed3082() { |
| 1672 var o = new core.Map<core.String, core.Object>(); | 1701 var o = new core.Map<core.String, core.Object>(); |
| 1673 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1702 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1674 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1703 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1675 return o; | 1704 return o; |
| 1676 } | 1705 } |
| 1677 | 1706 |
| 1678 checkUnnamed3097(core.Map<core.String, core.Object> o) { | 1707 checkUnnamed3082(core.Map<core.String, core.Object> o) { |
| 1679 unittest.expect(o, unittest.hasLength(2)); | 1708 unittest.expect(o, unittest.hasLength(2)); |
| 1680 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')); | 1709 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')); |
| 1681 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')); | 1710 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')); |
| 1682 } | 1711 } |
| 1683 | 1712 |
| 1684 buildUnnamed3098() { | 1713 buildUnnamed3083() { |
| 1685 var o = new core.List<api.SideInputInfo>(); | 1714 var o = new core.List<api.SideInputInfo>(); |
| 1686 o.add(buildSideInputInfo()); | 1715 o.add(buildSideInputInfo()); |
| 1687 o.add(buildSideInputInfo()); | 1716 o.add(buildSideInputInfo()); |
| 1688 return o; | 1717 return o; |
| 1689 } | 1718 } |
| 1690 | 1719 |
| 1691 checkUnnamed3098(core.List<api.SideInputInfo> o) { | 1720 checkUnnamed3083(core.List<api.SideInputInfo> o) { |
| 1692 unittest.expect(o, unittest.hasLength(2)); | 1721 unittest.expect(o, unittest.hasLength(2)); |
| 1693 checkSideInputInfo(o[0]); | 1722 checkSideInputInfo(o[0]); |
| 1694 checkSideInputInfo(o[1]); | 1723 checkSideInputInfo(o[1]); |
| 1695 } | 1724 } |
| 1696 | 1725 |
| 1697 buildUnnamed3099() { | 1726 buildUnnamed3084() { |
| 1698 var o = new core.Map<core.String, core.Object>(); | 1727 var o = new core.Map<core.String, core.Object>(); |
| 1699 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1728 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1700 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1729 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1701 return o; | 1730 return o; |
| 1702 } | 1731 } |
| 1703 | 1732 |
| 1704 checkUnnamed3099(core.Map<core.String, core.Object> o) { | 1733 checkUnnamed3084(core.Map<core.String, core.Object> o) { |
| 1705 unittest.expect(o, unittest.hasLength(2)); | 1734 unittest.expect(o, unittest.hasLength(2)); |
| 1706 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')); | 1735 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')); |
| 1707 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')); | 1736 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')); |
| 1708 } | 1737 } |
| 1709 | 1738 |
| 1710 core.int buildCounterPartialGroupByKeyInstruction = 0; | 1739 core.int buildCounterPartialGroupByKeyInstruction = 0; |
| 1711 buildPartialGroupByKeyInstruction() { | 1740 buildPartialGroupByKeyInstruction() { |
| 1712 var o = new api.PartialGroupByKeyInstruction(); | 1741 var o = new api.PartialGroupByKeyInstruction(); |
| 1713 buildCounterPartialGroupByKeyInstruction++; | 1742 buildCounterPartialGroupByKeyInstruction++; |
| 1714 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1743 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1715 o.input = buildInstructionInput(); | 1744 o.input = buildInstructionInput(); |
| 1716 o.inputElementCodec = buildUnnamed3097(); | 1745 o.inputElementCodec = buildUnnamed3082(); |
| 1717 o.originalCombineValuesInputStoreName = "foo"; | 1746 o.originalCombineValuesInputStoreName = "foo"; |
| 1718 o.originalCombineValuesStepName = "foo"; | 1747 o.originalCombineValuesStepName = "foo"; |
| 1719 o.sideInputs = buildUnnamed3098(); | 1748 o.sideInputs = buildUnnamed3083(); |
| 1720 o.valueCombiningFn = buildUnnamed3099(); | 1749 o.valueCombiningFn = buildUnnamed3084(); |
| 1721 } | 1750 } |
| 1722 buildCounterPartialGroupByKeyInstruction--; | 1751 buildCounterPartialGroupByKeyInstruction--; |
| 1723 return o; | 1752 return o; |
| 1724 } | 1753 } |
| 1725 | 1754 |
| 1726 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { | 1755 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { |
| 1727 buildCounterPartialGroupByKeyInstruction++; | 1756 buildCounterPartialGroupByKeyInstruction++; |
| 1728 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1757 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1729 checkInstructionInput(o.input); | 1758 checkInstructionInput(o.input); |
| 1730 checkUnnamed3097(o.inputElementCodec); | 1759 checkUnnamed3082(o.inputElementCodec); |
| 1731 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); | 1760 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); |
| 1732 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); | 1761 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); |
| 1733 checkUnnamed3098(o.sideInputs); | 1762 checkUnnamed3083(o.sideInputs); |
| 1734 checkUnnamed3099(o.valueCombiningFn); | 1763 checkUnnamed3084(o.valueCombiningFn); |
| 1735 } | 1764 } |
| 1736 buildCounterPartialGroupByKeyInstruction--; | 1765 buildCounterPartialGroupByKeyInstruction--; |
| 1737 } | 1766 } |
| 1738 | 1767 |
| 1739 core.int buildCounterPosition = 0; | 1768 core.int buildCounterPosition = 0; |
| 1740 buildPosition() { | 1769 buildPosition() { |
| 1741 var o = new api.Position(); | 1770 var o = new api.Position(); |
| 1742 buildCounterPosition++; | 1771 buildCounterPosition++; |
| 1743 if (buildCounterPosition < 3) { | 1772 if (buildCounterPosition < 3) { |
| 1744 o.byteOffset = "foo"; | 1773 o.byteOffset = "foo"; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1808 } | 1837 } |
| 1809 | 1838 |
| 1810 checkReadInstruction(api.ReadInstruction o) { | 1839 checkReadInstruction(api.ReadInstruction o) { |
| 1811 buildCounterReadInstruction++; | 1840 buildCounterReadInstruction++; |
| 1812 if (buildCounterReadInstruction < 3) { | 1841 if (buildCounterReadInstruction < 3) { |
| 1813 checkSource(o.source); | 1842 checkSource(o.source); |
| 1814 } | 1843 } |
| 1815 buildCounterReadInstruction--; | 1844 buildCounterReadInstruction--; |
| 1816 } | 1845 } |
| 1817 | 1846 |
| 1818 buildUnnamed3100() { | 1847 buildUnnamed3085() { |
| 1819 var o = new core.List<api.WorkItemStatus>(); | 1848 var o = new core.List<api.WorkItemStatus>(); |
| 1820 o.add(buildWorkItemStatus()); | 1849 o.add(buildWorkItemStatus()); |
| 1821 o.add(buildWorkItemStatus()); | 1850 o.add(buildWorkItemStatus()); |
| 1822 return o; | 1851 return o; |
| 1823 } | 1852 } |
| 1824 | 1853 |
| 1825 checkUnnamed3100(core.List<api.WorkItemStatus> o) { | 1854 checkUnnamed3085(core.List<api.WorkItemStatus> o) { |
| 1826 unittest.expect(o, unittest.hasLength(2)); | 1855 unittest.expect(o, unittest.hasLength(2)); |
| 1827 checkWorkItemStatus(o[0]); | 1856 checkWorkItemStatus(o[0]); |
| 1828 checkWorkItemStatus(o[1]); | 1857 checkWorkItemStatus(o[1]); |
| 1829 } | 1858 } |
| 1830 | 1859 |
| 1831 core.int buildCounterReportWorkItemStatusRequest = 0; | 1860 core.int buildCounterReportWorkItemStatusRequest = 0; |
| 1832 buildReportWorkItemStatusRequest() { | 1861 buildReportWorkItemStatusRequest() { |
| 1833 var o = new api.ReportWorkItemStatusRequest(); | 1862 var o = new api.ReportWorkItemStatusRequest(); |
| 1834 buildCounterReportWorkItemStatusRequest++; | 1863 buildCounterReportWorkItemStatusRequest++; |
| 1835 if (buildCounterReportWorkItemStatusRequest < 3) { | 1864 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1836 o.currentWorkerTime = "foo"; | 1865 o.currentWorkerTime = "foo"; |
| 1837 o.location = "foo"; | 1866 o.location = "foo"; |
| 1838 o.workItemStatuses = buildUnnamed3100(); | 1867 o.workItemStatuses = buildUnnamed3085(); |
| 1839 o.workerId = "foo"; | 1868 o.workerId = "foo"; |
| 1840 } | 1869 } |
| 1841 buildCounterReportWorkItemStatusRequest--; | 1870 buildCounterReportWorkItemStatusRequest--; |
| 1842 return o; | 1871 return o; |
| 1843 } | 1872 } |
| 1844 | 1873 |
| 1845 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { | 1874 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { |
| 1846 buildCounterReportWorkItemStatusRequest++; | 1875 buildCounterReportWorkItemStatusRequest++; |
| 1847 if (buildCounterReportWorkItemStatusRequest < 3) { | 1876 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1848 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1877 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1849 unittest.expect(o.location, unittest.equals('foo')); | 1878 unittest.expect(o.location, unittest.equals('foo')); |
| 1850 checkUnnamed3100(o.workItemStatuses); | 1879 checkUnnamed3085(o.workItemStatuses); |
| 1851 unittest.expect(o.workerId, unittest.equals('foo')); | 1880 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1852 } | 1881 } |
| 1853 buildCounterReportWorkItemStatusRequest--; | 1882 buildCounterReportWorkItemStatusRequest--; |
| 1854 } | 1883 } |
| 1855 | 1884 |
| 1856 buildUnnamed3101() { | 1885 buildUnnamed3086() { |
| 1857 var o = new core.List<api.WorkItemServiceState>(); | 1886 var o = new core.List<api.WorkItemServiceState>(); |
| 1858 o.add(buildWorkItemServiceState()); | 1887 o.add(buildWorkItemServiceState()); |
| 1859 o.add(buildWorkItemServiceState()); | 1888 o.add(buildWorkItemServiceState()); |
| 1860 return o; | 1889 return o; |
| 1861 } | 1890 } |
| 1862 | 1891 |
| 1863 checkUnnamed3101(core.List<api.WorkItemServiceState> o) { | 1892 checkUnnamed3086(core.List<api.WorkItemServiceState> o) { |
| 1864 unittest.expect(o, unittest.hasLength(2)); | 1893 unittest.expect(o, unittest.hasLength(2)); |
| 1865 checkWorkItemServiceState(o[0]); | 1894 checkWorkItemServiceState(o[0]); |
| 1866 checkWorkItemServiceState(o[1]); | 1895 checkWorkItemServiceState(o[1]); |
| 1867 } | 1896 } |
| 1868 | 1897 |
| 1869 core.int buildCounterReportWorkItemStatusResponse = 0; | 1898 core.int buildCounterReportWorkItemStatusResponse = 0; |
| 1870 buildReportWorkItemStatusResponse() { | 1899 buildReportWorkItemStatusResponse() { |
| 1871 var o = new api.ReportWorkItemStatusResponse(); | 1900 var o = new api.ReportWorkItemStatusResponse(); |
| 1872 buildCounterReportWorkItemStatusResponse++; | 1901 buildCounterReportWorkItemStatusResponse++; |
| 1873 if (buildCounterReportWorkItemStatusResponse < 3) { | 1902 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1874 o.workItemServiceStates = buildUnnamed3101(); | 1903 o.workItemServiceStates = buildUnnamed3086(); |
| 1875 } | 1904 } |
| 1876 buildCounterReportWorkItemStatusResponse--; | 1905 buildCounterReportWorkItemStatusResponse--; |
| 1877 return o; | 1906 return o; |
| 1878 } | 1907 } |
| 1879 | 1908 |
| 1880 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { | 1909 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { |
| 1881 buildCounterReportWorkItemStatusResponse++; | 1910 buildCounterReportWorkItemStatusResponse++; |
| 1882 if (buildCounterReportWorkItemStatusResponse < 3) { | 1911 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1883 checkUnnamed3101(o.workItemServiceStates); | 1912 checkUnnamed3086(o.workItemServiceStates); |
| 1884 } | 1913 } |
| 1885 buildCounterReportWorkItemStatusResponse--; | 1914 buildCounterReportWorkItemStatusResponse--; |
| 1886 } | 1915 } |
| 1887 | 1916 |
| 1888 core.int buildCounterReportedParallelism = 0; | 1917 core.int buildCounterReportedParallelism = 0; |
| 1889 buildReportedParallelism() { | 1918 buildReportedParallelism() { |
| 1890 var o = new api.ReportedParallelism(); | 1919 var o = new api.ReportedParallelism(); |
| 1891 buildCounterReportedParallelism++; | 1920 buildCounterReportedParallelism++; |
| 1892 if (buildCounterReportedParallelism < 3) { | 1921 if (buildCounterReportedParallelism < 3) { |
| 1893 o.isInfinite = true; | 1922 o.isInfinite = true; |
| 1894 o.value = 42.0; | 1923 o.value = 42.0; |
| 1895 } | 1924 } |
| 1896 buildCounterReportedParallelism--; | 1925 buildCounterReportedParallelism--; |
| 1897 return o; | 1926 return o; |
| 1898 } | 1927 } |
| 1899 | 1928 |
| 1900 checkReportedParallelism(api.ReportedParallelism o) { | 1929 checkReportedParallelism(api.ReportedParallelism o) { |
| 1901 buildCounterReportedParallelism++; | 1930 buildCounterReportedParallelism++; |
| 1902 if (buildCounterReportedParallelism < 3) { | 1931 if (buildCounterReportedParallelism < 3) { |
| 1903 unittest.expect(o.isInfinite, unittest.isTrue); | 1932 unittest.expect(o.isInfinite, unittest.isTrue); |
| 1904 unittest.expect(o.value, unittest.equals(42.0)); | 1933 unittest.expect(o.value, unittest.equals(42.0)); |
| 1905 } | 1934 } |
| 1906 buildCounterReportedParallelism--; | 1935 buildCounterReportedParallelism--; |
| 1907 } | 1936 } |
| 1908 | 1937 |
| 1938 buildUnnamed3087() { |
| 1939 var o = new core.Map<core.String, core.Object>(); |
| 1940 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1941 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1942 return o; |
| 1943 } |
| 1944 |
| 1945 checkUnnamed3087(core.Map<core.String, core.Object> o) { |
| 1946 unittest.expect(o, unittest.hasLength(2)); |
| 1947 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')); |
| 1948 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')); |
| 1949 } |
| 1950 |
| 1951 buildUnnamed3088() { |
| 1952 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1953 o.add(buildUnnamed3087()); |
| 1954 o.add(buildUnnamed3087()); |
| 1955 return o; |
| 1956 } |
| 1957 |
| 1958 checkUnnamed3088(core.List<core.Map<core.String, core.Object>> o) { |
| 1959 unittest.expect(o, unittest.hasLength(2)); |
| 1960 checkUnnamed3087(o[0]); |
| 1961 checkUnnamed3087(o[1]); |
| 1962 } |
| 1963 |
| 1964 core.int buildCounterResourceUtilizationReport = 0; |
| 1965 buildResourceUtilizationReport() { |
| 1966 var o = new api.ResourceUtilizationReport(); |
| 1967 buildCounterResourceUtilizationReport++; |
| 1968 if (buildCounterResourceUtilizationReport < 3) { |
| 1969 o.metrics = buildUnnamed3088(); |
| 1970 } |
| 1971 buildCounterResourceUtilizationReport--; |
| 1972 return o; |
| 1973 } |
| 1974 |
| 1975 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { |
| 1976 buildCounterResourceUtilizationReport++; |
| 1977 if (buildCounterResourceUtilizationReport < 3) { |
| 1978 checkUnnamed3088(o.metrics); |
| 1979 } |
| 1980 buildCounterResourceUtilizationReport--; |
| 1981 } |
| 1982 |
| 1983 core.int buildCounterResourceUtilizationReportResponse = 0; |
| 1984 buildResourceUtilizationReportResponse() { |
| 1985 var o = new api.ResourceUtilizationReportResponse(); |
| 1986 buildCounterResourceUtilizationReportResponse++; |
| 1987 if (buildCounterResourceUtilizationReportResponse < 3) { |
| 1988 } |
| 1989 buildCounterResourceUtilizationReportResponse--; |
| 1990 return o; |
| 1991 } |
| 1992 |
| 1993 checkResourceUtilizationReportResponse(api.ResourceUtilizationReportResponse o)
{ |
| 1994 buildCounterResourceUtilizationReportResponse++; |
| 1995 if (buildCounterResourceUtilizationReportResponse < 3) { |
| 1996 } |
| 1997 buildCounterResourceUtilizationReportResponse--; |
| 1998 } |
| 1999 |
| 1909 core.int buildCounterRuntimeEnvironment = 0; | 2000 core.int buildCounterRuntimeEnvironment = 0; |
| 1910 buildRuntimeEnvironment() { | 2001 buildRuntimeEnvironment() { |
| 1911 var o = new api.RuntimeEnvironment(); | 2002 var o = new api.RuntimeEnvironment(); |
| 1912 buildCounterRuntimeEnvironment++; | 2003 buildCounterRuntimeEnvironment++; |
| 1913 if (buildCounterRuntimeEnvironment < 3) { | 2004 if (buildCounterRuntimeEnvironment < 3) { |
| 2005 o.bypassTempDirValidation = true; |
| 1914 o.maxWorkers = 42; | 2006 o.maxWorkers = 42; |
| 1915 o.serviceAccountEmail = "foo"; | 2007 o.serviceAccountEmail = "foo"; |
| 2008 o.tempLocation = "foo"; |
| 1916 o.zone = "foo"; | 2009 o.zone = "foo"; |
| 1917 } | 2010 } |
| 1918 buildCounterRuntimeEnvironment--; | 2011 buildCounterRuntimeEnvironment--; |
| 1919 return o; | 2012 return o; |
| 1920 } | 2013 } |
| 1921 | 2014 |
| 1922 checkRuntimeEnvironment(api.RuntimeEnvironment o) { | 2015 checkRuntimeEnvironment(api.RuntimeEnvironment o) { |
| 1923 buildCounterRuntimeEnvironment++; | 2016 buildCounterRuntimeEnvironment++; |
| 1924 if (buildCounterRuntimeEnvironment < 3) { | 2017 if (buildCounterRuntimeEnvironment < 3) { |
| 2018 unittest.expect(o.bypassTempDirValidation, unittest.isTrue); |
| 1925 unittest.expect(o.maxWorkers, unittest.equals(42)); | 2019 unittest.expect(o.maxWorkers, unittest.equals(42)); |
| 1926 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); | 2020 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); |
| 2021 unittest.expect(o.tempLocation, unittest.equals('foo')); |
| 1927 unittest.expect(o.zone, unittest.equals('foo')); | 2022 unittest.expect(o.zone, unittest.equals('foo')); |
| 1928 } | 2023 } |
| 1929 buildCounterRuntimeEnvironment--; | 2024 buildCounterRuntimeEnvironment--; |
| 1930 } | 2025 } |
| 1931 | 2026 |
| 1932 core.int buildCounterSendDebugCaptureRequest = 0; | 2027 core.int buildCounterSendDebugCaptureRequest = 0; |
| 1933 buildSendDebugCaptureRequest() { | 2028 buildSendDebugCaptureRequest() { |
| 1934 var o = new api.SendDebugCaptureRequest(); | 2029 var o = new api.SendDebugCaptureRequest(); |
| 1935 buildCounterSendDebugCaptureRequest++; | 2030 buildCounterSendDebugCaptureRequest++; |
| 1936 if (buildCounterSendDebugCaptureRequest < 3) { | 2031 if (buildCounterSendDebugCaptureRequest < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1962 return o; | 2057 return o; |
| 1963 } | 2058 } |
| 1964 | 2059 |
| 1965 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { | 2060 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { |
| 1966 buildCounterSendDebugCaptureResponse++; | 2061 buildCounterSendDebugCaptureResponse++; |
| 1967 if (buildCounterSendDebugCaptureResponse < 3) { | 2062 if (buildCounterSendDebugCaptureResponse < 3) { |
| 1968 } | 2063 } |
| 1969 buildCounterSendDebugCaptureResponse--; | 2064 buildCounterSendDebugCaptureResponse--; |
| 1970 } | 2065 } |
| 1971 | 2066 |
| 1972 buildUnnamed3102() { | 2067 buildUnnamed3089() { |
| 1973 var o = new core.List<api.WorkerMessage>(); | 2068 var o = new core.List<api.WorkerMessage>(); |
| 1974 o.add(buildWorkerMessage()); | 2069 o.add(buildWorkerMessage()); |
| 1975 o.add(buildWorkerMessage()); | 2070 o.add(buildWorkerMessage()); |
| 1976 return o; | 2071 return o; |
| 1977 } | 2072 } |
| 1978 | 2073 |
| 1979 checkUnnamed3102(core.List<api.WorkerMessage> o) { | 2074 checkUnnamed3089(core.List<api.WorkerMessage> o) { |
| 1980 unittest.expect(o, unittest.hasLength(2)); | 2075 unittest.expect(o, unittest.hasLength(2)); |
| 1981 checkWorkerMessage(o[0]); | 2076 checkWorkerMessage(o[0]); |
| 1982 checkWorkerMessage(o[1]); | 2077 checkWorkerMessage(o[1]); |
| 1983 } | 2078 } |
| 1984 | 2079 |
| 1985 core.int buildCounterSendWorkerMessagesRequest = 0; | 2080 core.int buildCounterSendWorkerMessagesRequest = 0; |
| 1986 buildSendWorkerMessagesRequest() { | 2081 buildSendWorkerMessagesRequest() { |
| 1987 var o = new api.SendWorkerMessagesRequest(); | 2082 var o = new api.SendWorkerMessagesRequest(); |
| 1988 buildCounterSendWorkerMessagesRequest++; | 2083 buildCounterSendWorkerMessagesRequest++; |
| 1989 if (buildCounterSendWorkerMessagesRequest < 3) { | 2084 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 1990 o.workerMessages = buildUnnamed3102(); | 2085 o.workerMessages = buildUnnamed3089(); |
| 1991 } | 2086 } |
| 1992 buildCounterSendWorkerMessagesRequest--; | 2087 buildCounterSendWorkerMessagesRequest--; |
| 1993 return o; | 2088 return o; |
| 1994 } | 2089 } |
| 1995 | 2090 |
| 1996 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { | 2091 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { |
| 1997 buildCounterSendWorkerMessagesRequest++; | 2092 buildCounterSendWorkerMessagesRequest++; |
| 1998 if (buildCounterSendWorkerMessagesRequest < 3) { | 2093 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 1999 checkUnnamed3102(o.workerMessages); | 2094 checkUnnamed3089(o.workerMessages); |
| 2000 } | 2095 } |
| 2001 buildCounterSendWorkerMessagesRequest--; | 2096 buildCounterSendWorkerMessagesRequest--; |
| 2002 } | 2097 } |
| 2003 | 2098 |
| 2004 buildUnnamed3103() { | 2099 buildUnnamed3090() { |
| 2005 var o = new core.List<api.WorkerMessageResponse>(); | 2100 var o = new core.List<api.WorkerMessageResponse>(); |
| 2006 o.add(buildWorkerMessageResponse()); | 2101 o.add(buildWorkerMessageResponse()); |
| 2007 o.add(buildWorkerMessageResponse()); | 2102 o.add(buildWorkerMessageResponse()); |
| 2008 return o; | 2103 return o; |
| 2009 } | 2104 } |
| 2010 | 2105 |
| 2011 checkUnnamed3103(core.List<api.WorkerMessageResponse> o) { | 2106 checkUnnamed3090(core.List<api.WorkerMessageResponse> o) { |
| 2012 unittest.expect(o, unittest.hasLength(2)); | 2107 unittest.expect(o, unittest.hasLength(2)); |
| 2013 checkWorkerMessageResponse(o[0]); | 2108 checkWorkerMessageResponse(o[0]); |
| 2014 checkWorkerMessageResponse(o[1]); | 2109 checkWorkerMessageResponse(o[1]); |
| 2015 } | 2110 } |
| 2016 | 2111 |
| 2017 core.int buildCounterSendWorkerMessagesResponse = 0; | 2112 core.int buildCounterSendWorkerMessagesResponse = 0; |
| 2018 buildSendWorkerMessagesResponse() { | 2113 buildSendWorkerMessagesResponse() { |
| 2019 var o = new api.SendWorkerMessagesResponse(); | 2114 var o = new api.SendWorkerMessagesResponse(); |
| 2020 buildCounterSendWorkerMessagesResponse++; | 2115 buildCounterSendWorkerMessagesResponse++; |
| 2021 if (buildCounterSendWorkerMessagesResponse < 3) { | 2116 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2022 o.workerMessageResponses = buildUnnamed3103(); | 2117 o.workerMessageResponses = buildUnnamed3090(); |
| 2023 } | 2118 } |
| 2024 buildCounterSendWorkerMessagesResponse--; | 2119 buildCounterSendWorkerMessagesResponse--; |
| 2025 return o; | 2120 return o; |
| 2026 } | 2121 } |
| 2027 | 2122 |
| 2028 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { | 2123 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { |
| 2029 buildCounterSendWorkerMessagesResponse++; | 2124 buildCounterSendWorkerMessagesResponse++; |
| 2030 if (buildCounterSendWorkerMessagesResponse < 3) { | 2125 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2031 checkUnnamed3103(o.workerMessageResponses); | 2126 checkUnnamed3090(o.workerMessageResponses); |
| 2032 } | 2127 } |
| 2033 buildCounterSendWorkerMessagesResponse--; | 2128 buildCounterSendWorkerMessagesResponse--; |
| 2034 } | 2129 } |
| 2035 | 2130 |
| 2036 buildUnnamed3104() { | 2131 buildUnnamed3091() { |
| 2037 var o = new core.List<api.SideInputInfo>(); | 2132 var o = new core.List<api.SideInputInfo>(); |
| 2038 o.add(buildSideInputInfo()); | 2133 o.add(buildSideInputInfo()); |
| 2039 o.add(buildSideInputInfo()); | 2134 o.add(buildSideInputInfo()); |
| 2040 return o; | 2135 return o; |
| 2041 } | 2136 } |
| 2042 | 2137 |
| 2043 checkUnnamed3104(core.List<api.SideInputInfo> o) { | 2138 checkUnnamed3091(core.List<api.SideInputInfo> o) { |
| 2044 unittest.expect(o, unittest.hasLength(2)); | 2139 unittest.expect(o, unittest.hasLength(2)); |
| 2045 checkSideInputInfo(o[0]); | 2140 checkSideInputInfo(o[0]); |
| 2046 checkSideInputInfo(o[1]); | 2141 checkSideInputInfo(o[1]); |
| 2047 } | 2142 } |
| 2048 | 2143 |
| 2049 buildUnnamed3105() { | 2144 buildUnnamed3092() { |
| 2050 var o = new core.List<api.SeqMapTaskOutputInfo>(); | 2145 var o = new core.List<api.SeqMapTaskOutputInfo>(); |
| 2051 o.add(buildSeqMapTaskOutputInfo()); | 2146 o.add(buildSeqMapTaskOutputInfo()); |
| 2052 o.add(buildSeqMapTaskOutputInfo()); | 2147 o.add(buildSeqMapTaskOutputInfo()); |
| 2053 return o; | 2148 return o; |
| 2054 } | 2149 } |
| 2055 | 2150 |
| 2056 checkUnnamed3105(core.List<api.SeqMapTaskOutputInfo> o) { | 2151 checkUnnamed3092(core.List<api.SeqMapTaskOutputInfo> o) { |
| 2057 unittest.expect(o, unittest.hasLength(2)); | 2152 unittest.expect(o, unittest.hasLength(2)); |
| 2058 checkSeqMapTaskOutputInfo(o[0]); | 2153 checkSeqMapTaskOutputInfo(o[0]); |
| 2059 checkSeqMapTaskOutputInfo(o[1]); | 2154 checkSeqMapTaskOutputInfo(o[1]); |
| 2060 } | 2155 } |
| 2061 | 2156 |
| 2062 buildUnnamed3106() { | 2157 buildUnnamed3093() { |
| 2063 var o = new core.Map<core.String, core.Object>(); | 2158 var o = new core.Map<core.String, core.Object>(); |
| 2064 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2159 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2065 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2160 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2066 return o; | 2161 return o; |
| 2067 } | 2162 } |
| 2068 | 2163 |
| 2069 checkUnnamed3106(core.Map<core.String, core.Object> o) { | 2164 checkUnnamed3093(core.Map<core.String, core.Object> o) { |
| 2070 unittest.expect(o, unittest.hasLength(2)); | 2165 unittest.expect(o, unittest.hasLength(2)); |
| 2071 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')); | 2166 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')); |
| 2072 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')); | 2167 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')); |
| 2073 } | 2168 } |
| 2074 | 2169 |
| 2075 core.int buildCounterSeqMapTask = 0; | 2170 core.int buildCounterSeqMapTask = 0; |
| 2076 buildSeqMapTask() { | 2171 buildSeqMapTask() { |
| 2077 var o = new api.SeqMapTask(); | 2172 var o = new api.SeqMapTask(); |
| 2078 buildCounterSeqMapTask++; | 2173 buildCounterSeqMapTask++; |
| 2079 if (buildCounterSeqMapTask < 3) { | 2174 if (buildCounterSeqMapTask < 3) { |
| 2080 o.inputs = buildUnnamed3104(); | 2175 o.inputs = buildUnnamed3091(); |
| 2081 o.name = "foo"; | 2176 o.name = "foo"; |
| 2082 o.outputInfos = buildUnnamed3105(); | 2177 o.outputInfos = buildUnnamed3092(); |
| 2083 o.stageName = "foo"; | 2178 o.stageName = "foo"; |
| 2084 o.systemName = "foo"; | 2179 o.systemName = "foo"; |
| 2085 o.userFn = buildUnnamed3106(); | 2180 o.userFn = buildUnnamed3093(); |
| 2086 } | 2181 } |
| 2087 buildCounterSeqMapTask--; | 2182 buildCounterSeqMapTask--; |
| 2088 return o; | 2183 return o; |
| 2089 } | 2184 } |
| 2090 | 2185 |
| 2091 checkSeqMapTask(api.SeqMapTask o) { | 2186 checkSeqMapTask(api.SeqMapTask o) { |
| 2092 buildCounterSeqMapTask++; | 2187 buildCounterSeqMapTask++; |
| 2093 if (buildCounterSeqMapTask < 3) { | 2188 if (buildCounterSeqMapTask < 3) { |
| 2094 checkUnnamed3104(o.inputs); | 2189 checkUnnamed3091(o.inputs); |
| 2095 unittest.expect(o.name, unittest.equals('foo')); | 2190 unittest.expect(o.name, unittest.equals('foo')); |
| 2096 checkUnnamed3105(o.outputInfos); | 2191 checkUnnamed3092(o.outputInfos); |
| 2097 unittest.expect(o.stageName, unittest.equals('foo')); | 2192 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2098 unittest.expect(o.systemName, unittest.equals('foo')); | 2193 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2099 checkUnnamed3106(o.userFn); | 2194 checkUnnamed3093(o.userFn); |
| 2100 } | 2195 } |
| 2101 buildCounterSeqMapTask--; | 2196 buildCounterSeqMapTask--; |
| 2102 } | 2197 } |
| 2103 | 2198 |
| 2104 core.int buildCounterSeqMapTaskOutputInfo = 0; | 2199 core.int buildCounterSeqMapTaskOutputInfo = 0; |
| 2105 buildSeqMapTaskOutputInfo() { | 2200 buildSeqMapTaskOutputInfo() { |
| 2106 var o = new api.SeqMapTaskOutputInfo(); | 2201 var o = new api.SeqMapTaskOutputInfo(); |
| 2107 buildCounterSeqMapTaskOutputInfo++; | 2202 buildCounterSeqMapTaskOutputInfo++; |
| 2108 if (buildCounterSeqMapTaskOutputInfo < 3) { | 2203 if (buildCounterSeqMapTaskOutputInfo < 3) { |
| 2109 o.sink = buildSink(); | 2204 o.sink = buildSink(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2136 | 2231 |
| 2137 checkShellTask(api.ShellTask o) { | 2232 checkShellTask(api.ShellTask o) { |
| 2138 buildCounterShellTask++; | 2233 buildCounterShellTask++; |
| 2139 if (buildCounterShellTask < 3) { | 2234 if (buildCounterShellTask < 3) { |
| 2140 unittest.expect(o.command, unittest.equals('foo')); | 2235 unittest.expect(o.command, unittest.equals('foo')); |
| 2141 unittest.expect(o.exitCode, unittest.equals(42)); | 2236 unittest.expect(o.exitCode, unittest.equals(42)); |
| 2142 } | 2237 } |
| 2143 buildCounterShellTask--; | 2238 buildCounterShellTask--; |
| 2144 } | 2239 } |
| 2145 | 2240 |
| 2146 buildUnnamed3107() { | 2241 buildUnnamed3094() { |
| 2147 var o = new core.Map<core.String, core.Object>(); | 2242 var o = new core.Map<core.String, core.Object>(); |
| 2148 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2243 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2149 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2244 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2150 return o; | 2245 return o; |
| 2151 } | 2246 } |
| 2152 | 2247 |
| 2153 checkUnnamed3107(core.Map<core.String, core.Object> o) { | 2248 checkUnnamed3094(core.Map<core.String, core.Object> o) { |
| 2154 unittest.expect(o, unittest.hasLength(2)); | 2249 unittest.expect(o, unittest.hasLength(2)); |
| 2155 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')); | 2250 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')); |
| 2156 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')); | 2251 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')); |
| 2157 } | 2252 } |
| 2158 | 2253 |
| 2159 buildUnnamed3108() { | 2254 buildUnnamed3095() { |
| 2160 var o = new core.List<api.Source>(); | 2255 var o = new core.List<api.Source>(); |
| 2161 o.add(buildSource()); | 2256 o.add(buildSource()); |
| 2162 o.add(buildSource()); | 2257 o.add(buildSource()); |
| 2163 return o; | 2258 return o; |
| 2164 } | 2259 } |
| 2165 | 2260 |
| 2166 checkUnnamed3108(core.List<api.Source> o) { | 2261 checkUnnamed3095(core.List<api.Source> o) { |
| 2167 unittest.expect(o, unittest.hasLength(2)); | 2262 unittest.expect(o, unittest.hasLength(2)); |
| 2168 checkSource(o[0]); | 2263 checkSource(o[0]); |
| 2169 checkSource(o[1]); | 2264 checkSource(o[1]); |
| 2170 } | 2265 } |
| 2171 | 2266 |
| 2172 core.int buildCounterSideInputInfo = 0; | 2267 core.int buildCounterSideInputInfo = 0; |
| 2173 buildSideInputInfo() { | 2268 buildSideInputInfo() { |
| 2174 var o = new api.SideInputInfo(); | 2269 var o = new api.SideInputInfo(); |
| 2175 buildCounterSideInputInfo++; | 2270 buildCounterSideInputInfo++; |
| 2176 if (buildCounterSideInputInfo < 3) { | 2271 if (buildCounterSideInputInfo < 3) { |
| 2177 o.kind = buildUnnamed3107(); | 2272 o.kind = buildUnnamed3094(); |
| 2178 o.sources = buildUnnamed3108(); | 2273 o.sources = buildUnnamed3095(); |
| 2179 o.tag = "foo"; | 2274 o.tag = "foo"; |
| 2180 } | 2275 } |
| 2181 buildCounterSideInputInfo--; | 2276 buildCounterSideInputInfo--; |
| 2182 return o; | 2277 return o; |
| 2183 } | 2278 } |
| 2184 | 2279 |
| 2185 checkSideInputInfo(api.SideInputInfo o) { | 2280 checkSideInputInfo(api.SideInputInfo o) { |
| 2186 buildCounterSideInputInfo++; | 2281 buildCounterSideInputInfo++; |
| 2187 if (buildCounterSideInputInfo < 3) { | 2282 if (buildCounterSideInputInfo < 3) { |
| 2188 checkUnnamed3107(o.kind); | 2283 checkUnnamed3094(o.kind); |
| 2189 checkUnnamed3108(o.sources); | 2284 checkUnnamed3095(o.sources); |
| 2190 unittest.expect(o.tag, unittest.equals('foo')); | 2285 unittest.expect(o.tag, unittest.equals('foo')); |
| 2191 } | 2286 } |
| 2192 buildCounterSideInputInfo--; | 2287 buildCounterSideInputInfo--; |
| 2193 } | 2288 } |
| 2194 | 2289 |
| 2195 buildUnnamed3109() { | 2290 buildUnnamed3096() { |
| 2196 var o = new core.Map<core.String, core.Object>(); | 2291 var o = new core.Map<core.String, core.Object>(); |
| 2197 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2292 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2198 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2293 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2199 return o; | 2294 return o; |
| 2200 } | 2295 } |
| 2201 | 2296 |
| 2202 checkUnnamed3109(core.Map<core.String, core.Object> o) { | 2297 checkUnnamed3096(core.Map<core.String, core.Object> o) { |
| 2203 unittest.expect(o, unittest.hasLength(2)); | 2298 unittest.expect(o, unittest.hasLength(2)); |
| 2204 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')); | 2299 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')); |
| 2205 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')); | 2300 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')); |
| 2206 } | 2301 } |
| 2207 | 2302 |
| 2208 buildUnnamed3110() { | 2303 buildUnnamed3097() { |
| 2209 var o = new core.Map<core.String, core.Object>(); | 2304 var o = new core.Map<core.String, core.Object>(); |
| 2210 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2305 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2211 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2306 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2212 return o; | 2307 return o; |
| 2213 } | 2308 } |
| 2214 | 2309 |
| 2215 checkUnnamed3110(core.Map<core.String, core.Object> o) { | 2310 checkUnnamed3097(core.Map<core.String, core.Object> o) { |
| 2216 unittest.expect(o, unittest.hasLength(2)); | 2311 unittest.expect(o, unittest.hasLength(2)); |
| 2217 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')); | 2312 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')); |
| 2218 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')); | 2313 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')); |
| 2219 } | 2314 } |
| 2220 | 2315 |
| 2221 core.int buildCounterSink = 0; | 2316 core.int buildCounterSink = 0; |
| 2222 buildSink() { | 2317 buildSink() { |
| 2223 var o = new api.Sink(); | 2318 var o = new api.Sink(); |
| 2224 buildCounterSink++; | 2319 buildCounterSink++; |
| 2225 if (buildCounterSink < 3) { | 2320 if (buildCounterSink < 3) { |
| 2226 o.codec = buildUnnamed3109(); | 2321 o.codec = buildUnnamed3096(); |
| 2227 o.spec = buildUnnamed3110(); | 2322 o.spec = buildUnnamed3097(); |
| 2228 } | 2323 } |
| 2229 buildCounterSink--; | 2324 buildCounterSink--; |
| 2230 return o; | 2325 return o; |
| 2231 } | 2326 } |
| 2232 | 2327 |
| 2233 checkSink(api.Sink o) { | 2328 checkSink(api.Sink o) { |
| 2234 buildCounterSink++; | 2329 buildCounterSink++; |
| 2235 if (buildCounterSink < 3) { | 2330 if (buildCounterSink < 3) { |
| 2236 checkUnnamed3109(o.codec); | 2331 checkUnnamed3096(o.codec); |
| 2237 checkUnnamed3110(o.spec); | 2332 checkUnnamed3097(o.spec); |
| 2238 } | 2333 } |
| 2239 buildCounterSink--; | 2334 buildCounterSink--; |
| 2240 } | 2335 } |
| 2241 | 2336 |
| 2242 buildUnnamed3111() { | 2337 buildUnnamed3098() { |
| 2243 var o = new core.Map<core.String, core.Object>(); | 2338 var o = new core.Map<core.String, core.Object>(); |
| 2244 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2339 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2245 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2340 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2246 return o; | 2341 return o; |
| 2247 } | 2342 } |
| 2248 | 2343 |
| 2249 checkUnnamed3111(core.Map<core.String, core.Object> o) { | 2344 checkUnnamed3098(core.Map<core.String, core.Object> o) { |
| 2250 unittest.expect(o, unittest.hasLength(2)); | 2345 unittest.expect(o, unittest.hasLength(2)); |
| 2251 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')); | 2346 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')); |
| 2252 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')); | 2347 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')); |
| 2253 } | 2348 } |
| 2254 | 2349 |
| 2255 buildUnnamed3112() { | 2350 buildUnnamed3099() { |
| 2256 var o = new core.List<core.Map<core.String, core.Object>>(); | 2351 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2257 o.add(buildUnnamed3111()); | 2352 o.add(buildUnnamed3098()); |
| 2258 o.add(buildUnnamed3111()); | 2353 o.add(buildUnnamed3098()); |
| 2259 return o; | 2354 return o; |
| 2260 } | 2355 } |
| 2261 | 2356 |
| 2262 checkUnnamed3112(core.List<core.Map<core.String, core.Object>> o) { | 2357 checkUnnamed3099(core.List<core.Map<core.String, core.Object>> o) { |
| 2263 unittest.expect(o, unittest.hasLength(2)); | 2358 unittest.expect(o, unittest.hasLength(2)); |
| 2264 checkUnnamed3111(o[0]); | 2359 checkUnnamed3098(o[0]); |
| 2265 checkUnnamed3111(o[1]); | 2360 checkUnnamed3098(o[1]); |
| 2266 } | 2361 } |
| 2267 | 2362 |
| 2268 buildUnnamed3113() { | 2363 buildUnnamed3100() { |
| 2269 var o = new core.Map<core.String, core.Object>(); | 2364 var o = new core.Map<core.String, core.Object>(); |
| 2270 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2365 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2271 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2366 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2272 return o; | 2367 return o; |
| 2273 } | 2368 } |
| 2274 | 2369 |
| 2275 checkUnnamed3113(core.Map<core.String, core.Object> o) { | 2370 checkUnnamed3100(core.Map<core.String, core.Object> o) { |
| 2276 unittest.expect(o, unittest.hasLength(2)); | 2371 unittest.expect(o, unittest.hasLength(2)); |
| 2277 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')); | 2372 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')); |
| 2278 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')); | 2373 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')); |
| 2279 } | 2374 } |
| 2280 | 2375 |
| 2281 buildUnnamed3114() { | 2376 buildUnnamed3101() { |
| 2282 var o = new core.Map<core.String, core.Object>(); | 2377 var o = new core.Map<core.String, core.Object>(); |
| 2283 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2378 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2284 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2379 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2285 return o; | 2380 return o; |
| 2286 } | 2381 } |
| 2287 | 2382 |
| 2288 checkUnnamed3114(core.Map<core.String, core.Object> o) { | 2383 checkUnnamed3101(core.Map<core.String, core.Object> o) { |
| 2289 unittest.expect(o, unittest.hasLength(2)); | 2384 unittest.expect(o, unittest.hasLength(2)); |
| 2290 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')); | 2385 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')); |
| 2291 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')); | 2386 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')); |
| 2292 } | 2387 } |
| 2293 | 2388 |
| 2294 core.int buildCounterSource = 0; | 2389 core.int buildCounterSource = 0; |
| 2295 buildSource() { | 2390 buildSource() { |
| 2296 var o = new api.Source(); | 2391 var o = new api.Source(); |
| 2297 buildCounterSource++; | 2392 buildCounterSource++; |
| 2298 if (buildCounterSource < 3) { | 2393 if (buildCounterSource < 3) { |
| 2299 o.baseSpecs = buildUnnamed3112(); | 2394 o.baseSpecs = buildUnnamed3099(); |
| 2300 o.codec = buildUnnamed3113(); | 2395 o.codec = buildUnnamed3100(); |
| 2301 o.doesNotNeedSplitting = true; | 2396 o.doesNotNeedSplitting = true; |
| 2302 o.metadata = buildSourceMetadata(); | 2397 o.metadata = buildSourceMetadata(); |
| 2303 o.spec = buildUnnamed3114(); | 2398 o.spec = buildUnnamed3101(); |
| 2304 } | 2399 } |
| 2305 buildCounterSource--; | 2400 buildCounterSource--; |
| 2306 return o; | 2401 return o; |
| 2307 } | 2402 } |
| 2308 | 2403 |
| 2309 checkSource(api.Source o) { | 2404 checkSource(api.Source o) { |
| 2310 buildCounterSource++; | 2405 buildCounterSource++; |
| 2311 if (buildCounterSource < 3) { | 2406 if (buildCounterSource < 3) { |
| 2312 checkUnnamed3112(o.baseSpecs); | 2407 checkUnnamed3099(o.baseSpecs); |
| 2313 checkUnnamed3113(o.codec); | 2408 checkUnnamed3100(o.codec); |
| 2314 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); | 2409 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); |
| 2315 checkSourceMetadata(o.metadata); | 2410 checkSourceMetadata(o.metadata); |
| 2316 checkUnnamed3114(o.spec); | 2411 checkUnnamed3101(o.spec); |
| 2317 } | 2412 } |
| 2318 buildCounterSource--; | 2413 buildCounterSource--; |
| 2319 } | 2414 } |
| 2320 | 2415 |
| 2321 core.int buildCounterSourceFork = 0; | 2416 core.int buildCounterSourceFork = 0; |
| 2322 buildSourceFork() { | 2417 buildSourceFork() { |
| 2323 var o = new api.SourceFork(); | 2418 var o = new api.SourceFork(); |
| 2324 buildCounterSourceFork++; | 2419 buildCounterSourceFork++; |
| 2325 if (buildCounterSourceFork < 3) { | 2420 if (buildCounterSourceFork < 3) { |
| 2326 o.primary = buildSourceSplitShard(); | 2421 o.primary = buildSourceSplitShard(); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2481 | 2576 |
| 2482 checkSourceSplitRequest(api.SourceSplitRequest o) { | 2577 checkSourceSplitRequest(api.SourceSplitRequest o) { |
| 2483 buildCounterSourceSplitRequest++; | 2578 buildCounterSourceSplitRequest++; |
| 2484 if (buildCounterSourceSplitRequest < 3) { | 2579 if (buildCounterSourceSplitRequest < 3) { |
| 2485 checkSourceSplitOptions(o.options); | 2580 checkSourceSplitOptions(o.options); |
| 2486 checkSource(o.source); | 2581 checkSource(o.source); |
| 2487 } | 2582 } |
| 2488 buildCounterSourceSplitRequest--; | 2583 buildCounterSourceSplitRequest--; |
| 2489 } | 2584 } |
| 2490 | 2585 |
| 2491 buildUnnamed3115() { | 2586 buildUnnamed3102() { |
| 2492 var o = new core.List<api.DerivedSource>(); | 2587 var o = new core.List<api.DerivedSource>(); |
| 2493 o.add(buildDerivedSource()); | 2588 o.add(buildDerivedSource()); |
| 2494 o.add(buildDerivedSource()); | 2589 o.add(buildDerivedSource()); |
| 2495 return o; | 2590 return o; |
| 2496 } | 2591 } |
| 2497 | 2592 |
| 2498 checkUnnamed3115(core.List<api.DerivedSource> o) { | 2593 checkUnnamed3102(core.List<api.DerivedSource> o) { |
| 2499 unittest.expect(o, unittest.hasLength(2)); | 2594 unittest.expect(o, unittest.hasLength(2)); |
| 2500 checkDerivedSource(o[0]); | 2595 checkDerivedSource(o[0]); |
| 2501 checkDerivedSource(o[1]); | 2596 checkDerivedSource(o[1]); |
| 2502 } | 2597 } |
| 2503 | 2598 |
| 2504 buildUnnamed3116() { | 2599 buildUnnamed3103() { |
| 2505 var o = new core.List<api.SourceSplitShard>(); | 2600 var o = new core.List<api.SourceSplitShard>(); |
| 2506 o.add(buildSourceSplitShard()); | 2601 o.add(buildSourceSplitShard()); |
| 2507 o.add(buildSourceSplitShard()); | 2602 o.add(buildSourceSplitShard()); |
| 2508 return o; | 2603 return o; |
| 2509 } | 2604 } |
| 2510 | 2605 |
| 2511 checkUnnamed3116(core.List<api.SourceSplitShard> o) { | 2606 checkUnnamed3103(core.List<api.SourceSplitShard> o) { |
| 2512 unittest.expect(o, unittest.hasLength(2)); | 2607 unittest.expect(o, unittest.hasLength(2)); |
| 2513 checkSourceSplitShard(o[0]); | 2608 checkSourceSplitShard(o[0]); |
| 2514 checkSourceSplitShard(o[1]); | 2609 checkSourceSplitShard(o[1]); |
| 2515 } | 2610 } |
| 2516 | 2611 |
| 2517 core.int buildCounterSourceSplitResponse = 0; | 2612 core.int buildCounterSourceSplitResponse = 0; |
| 2518 buildSourceSplitResponse() { | 2613 buildSourceSplitResponse() { |
| 2519 var o = new api.SourceSplitResponse(); | 2614 var o = new api.SourceSplitResponse(); |
| 2520 buildCounterSourceSplitResponse++; | 2615 buildCounterSourceSplitResponse++; |
| 2521 if (buildCounterSourceSplitResponse < 3) { | 2616 if (buildCounterSourceSplitResponse < 3) { |
| 2522 o.bundles = buildUnnamed3115(); | 2617 o.bundles = buildUnnamed3102(); |
| 2523 o.outcome = "foo"; | 2618 o.outcome = "foo"; |
| 2524 o.shards = buildUnnamed3116(); | 2619 o.shards = buildUnnamed3103(); |
| 2525 } | 2620 } |
| 2526 buildCounterSourceSplitResponse--; | 2621 buildCounterSourceSplitResponse--; |
| 2527 return o; | 2622 return o; |
| 2528 } | 2623 } |
| 2529 | 2624 |
| 2530 checkSourceSplitResponse(api.SourceSplitResponse o) { | 2625 checkSourceSplitResponse(api.SourceSplitResponse o) { |
| 2531 buildCounterSourceSplitResponse++; | 2626 buildCounterSourceSplitResponse++; |
| 2532 if (buildCounterSourceSplitResponse < 3) { | 2627 if (buildCounterSourceSplitResponse < 3) { |
| 2533 checkUnnamed3115(o.bundles); | 2628 checkUnnamed3102(o.bundles); |
| 2534 unittest.expect(o.outcome, unittest.equals('foo')); | 2629 unittest.expect(o.outcome, unittest.equals('foo')); |
| 2535 checkUnnamed3116(o.shards); | 2630 checkUnnamed3103(o.shards); |
| 2536 } | 2631 } |
| 2537 buildCounterSourceSplitResponse--; | 2632 buildCounterSourceSplitResponse--; |
| 2538 } | 2633 } |
| 2539 | 2634 |
| 2540 core.int buildCounterSourceSplitShard = 0; | 2635 core.int buildCounterSourceSplitShard = 0; |
| 2541 buildSourceSplitShard() { | 2636 buildSourceSplitShard() { |
| 2542 var o = new api.SourceSplitShard(); | 2637 var o = new api.SourceSplitShard(); |
| 2543 buildCounterSourceSplitShard++; | 2638 buildCounterSourceSplitShard++; |
| 2544 if (buildCounterSourceSplitShard < 3) { | 2639 if (buildCounterSourceSplitShard < 3) { |
| 2545 o.derivationMode = "foo"; | 2640 o.derivationMode = "foo"; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2593 | 2688 |
| 2594 checkStateFamilyConfig(api.StateFamilyConfig o) { | 2689 checkStateFamilyConfig(api.StateFamilyConfig o) { |
| 2595 buildCounterStateFamilyConfig++; | 2690 buildCounterStateFamilyConfig++; |
| 2596 if (buildCounterStateFamilyConfig < 3) { | 2691 if (buildCounterStateFamilyConfig < 3) { |
| 2597 unittest.expect(o.isRead, unittest.isTrue); | 2692 unittest.expect(o.isRead, unittest.isTrue); |
| 2598 unittest.expect(o.stateFamily, unittest.equals('foo')); | 2693 unittest.expect(o.stateFamily, unittest.equals('foo')); |
| 2599 } | 2694 } |
| 2600 buildCounterStateFamilyConfig--; | 2695 buildCounterStateFamilyConfig--; |
| 2601 } | 2696 } |
| 2602 | 2697 |
| 2603 buildUnnamed3117() { | 2698 buildUnnamed3104() { |
| 2604 var o = new core.Map<core.String, core.Object>(); | 2699 var o = new core.Map<core.String, core.Object>(); |
| 2605 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2700 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2606 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2701 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2607 return o; | 2702 return o; |
| 2608 } | 2703 } |
| 2609 | 2704 |
| 2610 checkUnnamed3117(core.Map<core.String, core.Object> o) { | 2705 checkUnnamed3104(core.Map<core.String, core.Object> o) { |
| 2611 unittest.expect(o, unittest.hasLength(2)); | 2706 unittest.expect(o, unittest.hasLength(2)); |
| 2612 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')); | 2707 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')); |
| 2613 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')); | 2708 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')); |
| 2614 } | 2709 } |
| 2615 | 2710 |
| 2616 buildUnnamed3118() { | 2711 buildUnnamed3105() { |
| 2617 var o = new core.List<core.Map<core.String, core.Object>>(); | 2712 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2618 o.add(buildUnnamed3117()); | 2713 o.add(buildUnnamed3104()); |
| 2619 o.add(buildUnnamed3117()); | 2714 o.add(buildUnnamed3104()); |
| 2620 return o; | 2715 return o; |
| 2621 } | 2716 } |
| 2622 | 2717 |
| 2623 checkUnnamed3118(core.List<core.Map<core.String, core.Object>> o) { | 2718 checkUnnamed3105(core.List<core.Map<core.String, core.Object>> o) { |
| 2624 unittest.expect(o, unittest.hasLength(2)); | 2719 unittest.expect(o, unittest.hasLength(2)); |
| 2625 checkUnnamed3117(o[0]); | 2720 checkUnnamed3104(o[0]); |
| 2626 checkUnnamed3117(o[1]); | 2721 checkUnnamed3104(o[1]); |
| 2627 } | 2722 } |
| 2628 | 2723 |
| 2629 core.int buildCounterStatus = 0; | 2724 core.int buildCounterStatus = 0; |
| 2630 buildStatus() { | 2725 buildStatus() { |
| 2631 var o = new api.Status(); | 2726 var o = new api.Status(); |
| 2632 buildCounterStatus++; | 2727 buildCounterStatus++; |
| 2633 if (buildCounterStatus < 3) { | 2728 if (buildCounterStatus < 3) { |
| 2634 o.code = 42; | 2729 o.code = 42; |
| 2635 o.details = buildUnnamed3118(); | 2730 o.details = buildUnnamed3105(); |
| 2636 o.message = "foo"; | 2731 o.message = "foo"; |
| 2637 } | 2732 } |
| 2638 buildCounterStatus--; | 2733 buildCounterStatus--; |
| 2639 return o; | 2734 return o; |
| 2640 } | 2735 } |
| 2641 | 2736 |
| 2642 checkStatus(api.Status o) { | 2737 checkStatus(api.Status o) { |
| 2643 buildCounterStatus++; | 2738 buildCounterStatus++; |
| 2644 if (buildCounterStatus < 3) { | 2739 if (buildCounterStatus < 3) { |
| 2645 unittest.expect(o.code, unittest.equals(42)); | 2740 unittest.expect(o.code, unittest.equals(42)); |
| 2646 checkUnnamed3118(o.details); | 2741 checkUnnamed3105(o.details); |
| 2647 unittest.expect(o.message, unittest.equals('foo')); | 2742 unittest.expect(o.message, unittest.equals('foo')); |
| 2648 } | 2743 } |
| 2649 buildCounterStatus--; | 2744 buildCounterStatus--; |
| 2650 } | 2745 } |
| 2651 | 2746 |
| 2652 buildUnnamed3119() { | 2747 buildUnnamed3106() { |
| 2653 var o = new core.Map<core.String, core.Object>(); | 2748 var o = new core.Map<core.String, core.Object>(); |
| 2654 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2749 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2655 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2750 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2656 return o; | 2751 return o; |
| 2657 } | 2752 } |
| 2658 | 2753 |
| 2659 checkUnnamed3119(core.Map<core.String, core.Object> o) { | 2754 checkUnnamed3106(core.Map<core.String, core.Object> o) { |
| 2660 unittest.expect(o, unittest.hasLength(2)); | 2755 unittest.expect(o, unittest.hasLength(2)); |
| 2661 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')); | 2756 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')); |
| 2662 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')); | 2757 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')); |
| 2663 } | 2758 } |
| 2664 | 2759 |
| 2665 core.int buildCounterStep = 0; | 2760 core.int buildCounterStep = 0; |
| 2666 buildStep() { | 2761 buildStep() { |
| 2667 var o = new api.Step(); | 2762 var o = new api.Step(); |
| 2668 buildCounterStep++; | 2763 buildCounterStep++; |
| 2669 if (buildCounterStep < 3) { | 2764 if (buildCounterStep < 3) { |
| 2670 o.kind = "foo"; | 2765 o.kind = "foo"; |
| 2671 o.name = "foo"; | 2766 o.name = "foo"; |
| 2672 o.properties = buildUnnamed3119(); | 2767 o.properties = buildUnnamed3106(); |
| 2673 } | 2768 } |
| 2674 buildCounterStep--; | 2769 buildCounterStep--; |
| 2675 return o; | 2770 return o; |
| 2676 } | 2771 } |
| 2677 | 2772 |
| 2678 checkStep(api.Step o) { | 2773 checkStep(api.Step o) { |
| 2679 buildCounterStep++; | 2774 buildCounterStep++; |
| 2680 if (buildCounterStep < 3) { | 2775 if (buildCounterStep < 3) { |
| 2681 unittest.expect(o.kind, unittest.equals('foo')); | 2776 unittest.expect(o.kind, unittest.equals('foo')); |
| 2682 unittest.expect(o.name, unittest.equals('foo')); | 2777 unittest.expect(o.name, unittest.equals('foo')); |
| 2683 checkUnnamed3119(o.properties); | 2778 checkUnnamed3106(o.properties); |
| 2684 } | 2779 } |
| 2685 buildCounterStep--; | 2780 buildCounterStep--; |
| 2686 } | 2781 } |
| 2687 | 2782 |
| 2688 core.int buildCounterStreamLocation = 0; | 2783 core.int buildCounterStreamLocation = 0; |
| 2689 buildStreamLocation() { | 2784 buildStreamLocation() { |
| 2690 var o = new api.StreamLocation(); | 2785 var o = new api.StreamLocation(); |
| 2691 buildCounterStreamLocation++; | 2786 buildCounterStreamLocation++; |
| 2692 if (buildCounterStreamLocation < 3) { | 2787 if (buildCounterStreamLocation < 3) { |
| 2693 o.customSourceLocation = buildCustomSourceLocation(); | 2788 o.customSourceLocation = buildCustomSourceLocation(); |
| 2694 o.pubsubLocation = buildPubsubLocation(); | 2789 o.pubsubLocation = buildPubsubLocation(); |
| 2695 o.sideInputLocation = buildStreamingSideInputLocation(); | 2790 o.sideInputLocation = buildStreamingSideInputLocation(); |
| 2696 o.streamingStageLocation = buildStreamingStageLocation(); | 2791 o.streamingStageLocation = buildStreamingStageLocation(); |
| 2697 } | 2792 } |
| 2698 buildCounterStreamLocation--; | 2793 buildCounterStreamLocation--; |
| 2699 return o; | 2794 return o; |
| 2700 } | 2795 } |
| 2701 | 2796 |
| 2702 checkStreamLocation(api.StreamLocation o) { | 2797 checkStreamLocation(api.StreamLocation o) { |
| 2703 buildCounterStreamLocation++; | 2798 buildCounterStreamLocation++; |
| 2704 if (buildCounterStreamLocation < 3) { | 2799 if (buildCounterStreamLocation < 3) { |
| 2705 checkCustomSourceLocation(o.customSourceLocation); | 2800 checkCustomSourceLocation(o.customSourceLocation); |
| 2706 checkPubsubLocation(o.pubsubLocation); | 2801 checkPubsubLocation(o.pubsubLocation); |
| 2707 checkStreamingSideInputLocation(o.sideInputLocation); | 2802 checkStreamingSideInputLocation(o.sideInputLocation); |
| 2708 checkStreamingStageLocation(o.streamingStageLocation); | 2803 checkStreamingStageLocation(o.streamingStageLocation); |
| 2709 } | 2804 } |
| 2710 buildCounterStreamLocation--; | 2805 buildCounterStreamLocation--; |
| 2711 } | 2806 } |
| 2712 | 2807 |
| 2713 buildUnnamed3120() { | 2808 buildUnnamed3107() { |
| 2714 var o = new core.List<api.ParallelInstruction>(); | 2809 var o = new core.List<api.ParallelInstruction>(); |
| 2715 o.add(buildParallelInstruction()); | 2810 o.add(buildParallelInstruction()); |
| 2716 o.add(buildParallelInstruction()); | 2811 o.add(buildParallelInstruction()); |
| 2717 return o; | 2812 return o; |
| 2718 } | 2813 } |
| 2719 | 2814 |
| 2720 checkUnnamed3120(core.List<api.ParallelInstruction> o) { | 2815 checkUnnamed3107(core.List<api.ParallelInstruction> o) { |
| 2721 unittest.expect(o, unittest.hasLength(2)); | 2816 unittest.expect(o, unittest.hasLength(2)); |
| 2722 checkParallelInstruction(o[0]); | 2817 checkParallelInstruction(o[0]); |
| 2723 checkParallelInstruction(o[1]); | 2818 checkParallelInstruction(o[1]); |
| 2724 } | 2819 } |
| 2725 | 2820 |
| 2726 core.int buildCounterStreamingComputationConfig = 0; | 2821 core.int buildCounterStreamingComputationConfig = 0; |
| 2727 buildStreamingComputationConfig() { | 2822 buildStreamingComputationConfig() { |
| 2728 var o = new api.StreamingComputationConfig(); | 2823 var o = new api.StreamingComputationConfig(); |
| 2729 buildCounterStreamingComputationConfig++; | 2824 buildCounterStreamingComputationConfig++; |
| 2730 if (buildCounterStreamingComputationConfig < 3) { | 2825 if (buildCounterStreamingComputationConfig < 3) { |
| 2731 o.computationId = "foo"; | 2826 o.computationId = "foo"; |
| 2732 o.instructions = buildUnnamed3120(); | 2827 o.instructions = buildUnnamed3107(); |
| 2733 o.stageName = "foo"; | 2828 o.stageName = "foo"; |
| 2734 o.systemName = "foo"; | 2829 o.systemName = "foo"; |
| 2735 } | 2830 } |
| 2736 buildCounterStreamingComputationConfig--; | 2831 buildCounterStreamingComputationConfig--; |
| 2737 return o; | 2832 return o; |
| 2738 } | 2833 } |
| 2739 | 2834 |
| 2740 checkStreamingComputationConfig(api.StreamingComputationConfig o) { | 2835 checkStreamingComputationConfig(api.StreamingComputationConfig o) { |
| 2741 buildCounterStreamingComputationConfig++; | 2836 buildCounterStreamingComputationConfig++; |
| 2742 if (buildCounterStreamingComputationConfig < 3) { | 2837 if (buildCounterStreamingComputationConfig < 3) { |
| 2743 unittest.expect(o.computationId, unittest.equals('foo')); | 2838 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2744 checkUnnamed3120(o.instructions); | 2839 checkUnnamed3107(o.instructions); |
| 2745 unittest.expect(o.stageName, unittest.equals('foo')); | 2840 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2746 unittest.expect(o.systemName, unittest.equals('foo')); | 2841 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2747 } | 2842 } |
| 2748 buildCounterStreamingComputationConfig--; | 2843 buildCounterStreamingComputationConfig--; |
| 2749 } | 2844 } |
| 2750 | 2845 |
| 2751 buildUnnamed3121() { | 2846 buildUnnamed3108() { |
| 2752 var o = new core.List<api.KeyRangeDataDiskAssignment>(); | 2847 var o = new core.List<api.KeyRangeDataDiskAssignment>(); |
| 2753 o.add(buildKeyRangeDataDiskAssignment()); | 2848 o.add(buildKeyRangeDataDiskAssignment()); |
| 2754 o.add(buildKeyRangeDataDiskAssignment()); | 2849 o.add(buildKeyRangeDataDiskAssignment()); |
| 2755 return o; | 2850 return o; |
| 2756 } | 2851 } |
| 2757 | 2852 |
| 2758 checkUnnamed3121(core.List<api.KeyRangeDataDiskAssignment> o) { | 2853 checkUnnamed3108(core.List<api.KeyRangeDataDiskAssignment> o) { |
| 2759 unittest.expect(o, unittest.hasLength(2)); | 2854 unittest.expect(o, unittest.hasLength(2)); |
| 2760 checkKeyRangeDataDiskAssignment(o[0]); | 2855 checkKeyRangeDataDiskAssignment(o[0]); |
| 2761 checkKeyRangeDataDiskAssignment(o[1]); | 2856 checkKeyRangeDataDiskAssignment(o[1]); |
| 2762 } | 2857 } |
| 2763 | 2858 |
| 2764 core.int buildCounterStreamingComputationRanges = 0; | 2859 core.int buildCounterStreamingComputationRanges = 0; |
| 2765 buildStreamingComputationRanges() { | 2860 buildStreamingComputationRanges() { |
| 2766 var o = new api.StreamingComputationRanges(); | 2861 var o = new api.StreamingComputationRanges(); |
| 2767 buildCounterStreamingComputationRanges++; | 2862 buildCounterStreamingComputationRanges++; |
| 2768 if (buildCounterStreamingComputationRanges < 3) { | 2863 if (buildCounterStreamingComputationRanges < 3) { |
| 2769 o.computationId = "foo"; | 2864 o.computationId = "foo"; |
| 2770 o.rangeAssignments = buildUnnamed3121(); | 2865 o.rangeAssignments = buildUnnamed3108(); |
| 2771 } | 2866 } |
| 2772 buildCounterStreamingComputationRanges--; | 2867 buildCounterStreamingComputationRanges--; |
| 2773 return o; | 2868 return o; |
| 2774 } | 2869 } |
| 2775 | 2870 |
| 2776 checkStreamingComputationRanges(api.StreamingComputationRanges o) { | 2871 checkStreamingComputationRanges(api.StreamingComputationRanges o) { |
| 2777 buildCounterStreamingComputationRanges++; | 2872 buildCounterStreamingComputationRanges++; |
| 2778 if (buildCounterStreamingComputationRanges < 3) { | 2873 if (buildCounterStreamingComputationRanges < 3) { |
| 2779 unittest.expect(o.computationId, unittest.equals('foo')); | 2874 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2780 checkUnnamed3121(o.rangeAssignments); | 2875 checkUnnamed3108(o.rangeAssignments); |
| 2781 } | 2876 } |
| 2782 buildCounterStreamingComputationRanges--; | 2877 buildCounterStreamingComputationRanges--; |
| 2783 } | 2878 } |
| 2784 | 2879 |
| 2785 buildUnnamed3122() { | 2880 buildUnnamed3109() { |
| 2786 var o = new core.List<api.StreamingComputationRanges>(); | 2881 var o = new core.List<api.StreamingComputationRanges>(); |
| 2787 o.add(buildStreamingComputationRanges()); | 2882 o.add(buildStreamingComputationRanges()); |
| 2788 o.add(buildStreamingComputationRanges()); | 2883 o.add(buildStreamingComputationRanges()); |
| 2789 return o; | 2884 return o; |
| 2790 } | 2885 } |
| 2791 | 2886 |
| 2792 checkUnnamed3122(core.List<api.StreamingComputationRanges> o) { | 2887 checkUnnamed3109(core.List<api.StreamingComputationRanges> o) { |
| 2793 unittest.expect(o, unittest.hasLength(2)); | 2888 unittest.expect(o, unittest.hasLength(2)); |
| 2794 checkStreamingComputationRanges(o[0]); | 2889 checkStreamingComputationRanges(o[0]); |
| 2795 checkStreamingComputationRanges(o[1]); | 2890 checkStreamingComputationRanges(o[1]); |
| 2796 } | 2891 } |
| 2797 | 2892 |
| 2798 buildUnnamed3123() { | 2893 buildUnnamed3110() { |
| 2799 var o = new core.List<api.MountedDataDisk>(); | 2894 var o = new core.List<api.MountedDataDisk>(); |
| 2800 o.add(buildMountedDataDisk()); | 2895 o.add(buildMountedDataDisk()); |
| 2801 o.add(buildMountedDataDisk()); | 2896 o.add(buildMountedDataDisk()); |
| 2802 return o; | 2897 return o; |
| 2803 } | 2898 } |
| 2804 | 2899 |
| 2805 checkUnnamed3123(core.List<api.MountedDataDisk> o) { | 2900 checkUnnamed3110(core.List<api.MountedDataDisk> o) { |
| 2806 unittest.expect(o, unittest.hasLength(2)); | 2901 unittest.expect(o, unittest.hasLength(2)); |
| 2807 checkMountedDataDisk(o[0]); | 2902 checkMountedDataDisk(o[0]); |
| 2808 checkMountedDataDisk(o[1]); | 2903 checkMountedDataDisk(o[1]); |
| 2809 } | 2904 } |
| 2810 | 2905 |
| 2811 core.int buildCounterStreamingComputationTask = 0; | 2906 core.int buildCounterStreamingComputationTask = 0; |
| 2812 buildStreamingComputationTask() { | 2907 buildStreamingComputationTask() { |
| 2813 var o = new api.StreamingComputationTask(); | 2908 var o = new api.StreamingComputationTask(); |
| 2814 buildCounterStreamingComputationTask++; | 2909 buildCounterStreamingComputationTask++; |
| 2815 if (buildCounterStreamingComputationTask < 3) { | 2910 if (buildCounterStreamingComputationTask < 3) { |
| 2816 o.computationRanges = buildUnnamed3122(); | 2911 o.computationRanges = buildUnnamed3109(); |
| 2817 o.dataDisks = buildUnnamed3123(); | 2912 o.dataDisks = buildUnnamed3110(); |
| 2818 o.taskType = "foo"; | 2913 o.taskType = "foo"; |
| 2819 } | 2914 } |
| 2820 buildCounterStreamingComputationTask--; | 2915 buildCounterStreamingComputationTask--; |
| 2821 return o; | 2916 return o; |
| 2822 } | 2917 } |
| 2823 | 2918 |
| 2824 checkStreamingComputationTask(api.StreamingComputationTask o) { | 2919 checkStreamingComputationTask(api.StreamingComputationTask o) { |
| 2825 buildCounterStreamingComputationTask++; | 2920 buildCounterStreamingComputationTask++; |
| 2826 if (buildCounterStreamingComputationTask < 3) { | 2921 if (buildCounterStreamingComputationTask < 3) { |
| 2827 checkUnnamed3122(o.computationRanges); | 2922 checkUnnamed3109(o.computationRanges); |
| 2828 checkUnnamed3123(o.dataDisks); | 2923 checkUnnamed3110(o.dataDisks); |
| 2829 unittest.expect(o.taskType, unittest.equals('foo')); | 2924 unittest.expect(o.taskType, unittest.equals('foo')); |
| 2830 } | 2925 } |
| 2831 buildCounterStreamingComputationTask--; | 2926 buildCounterStreamingComputationTask--; |
| 2832 } | 2927 } |
| 2833 | 2928 |
| 2834 buildUnnamed3124() { | 2929 buildUnnamed3111() { |
| 2835 var o = new core.List<api.StreamingComputationConfig>(); | 2930 var o = new core.List<api.StreamingComputationConfig>(); |
| 2836 o.add(buildStreamingComputationConfig()); | 2931 o.add(buildStreamingComputationConfig()); |
| 2837 o.add(buildStreamingComputationConfig()); | 2932 o.add(buildStreamingComputationConfig()); |
| 2838 return o; | 2933 return o; |
| 2839 } | 2934 } |
| 2840 | 2935 |
| 2841 checkUnnamed3124(core.List<api.StreamingComputationConfig> o) { | 2936 checkUnnamed3111(core.List<api.StreamingComputationConfig> o) { |
| 2842 unittest.expect(o, unittest.hasLength(2)); | 2937 unittest.expect(o, unittest.hasLength(2)); |
| 2843 checkStreamingComputationConfig(o[0]); | 2938 checkStreamingComputationConfig(o[0]); |
| 2844 checkStreamingComputationConfig(o[1]); | 2939 checkStreamingComputationConfig(o[1]); |
| 2845 } | 2940 } |
| 2846 | 2941 |
| 2847 buildUnnamed3125() { | 2942 buildUnnamed3112() { |
| 2848 var o = new core.Map<core.String, core.String>(); | 2943 var o = new core.Map<core.String, core.String>(); |
| 2849 o["x"] = "foo"; | 2944 o["x"] = "foo"; |
| 2850 o["y"] = "foo"; | 2945 o["y"] = "foo"; |
| 2851 return o; | 2946 return o; |
| 2852 } | 2947 } |
| 2853 | 2948 |
| 2854 checkUnnamed3125(core.Map<core.String, core.String> o) { | 2949 checkUnnamed3112(core.Map<core.String, core.String> o) { |
| 2855 unittest.expect(o, unittest.hasLength(2)); | 2950 unittest.expect(o, unittest.hasLength(2)); |
| 2856 unittest.expect(o["x"], unittest.equals('foo')); | 2951 unittest.expect(o["x"], unittest.equals('foo')); |
| 2857 unittest.expect(o["y"], unittest.equals('foo')); | 2952 unittest.expect(o["y"], unittest.equals('foo')); |
| 2858 } | 2953 } |
| 2859 | 2954 |
| 2860 core.int buildCounterStreamingConfigTask = 0; | 2955 core.int buildCounterStreamingConfigTask = 0; |
| 2861 buildStreamingConfigTask() { | 2956 buildStreamingConfigTask() { |
| 2862 var o = new api.StreamingConfigTask(); | 2957 var o = new api.StreamingConfigTask(); |
| 2863 buildCounterStreamingConfigTask++; | 2958 buildCounterStreamingConfigTask++; |
| 2864 if (buildCounterStreamingConfigTask < 3) { | 2959 if (buildCounterStreamingConfigTask < 3) { |
| 2865 o.streamingComputationConfigs = buildUnnamed3124(); | 2960 o.streamingComputationConfigs = buildUnnamed3111(); |
| 2866 o.userStepToStateFamilyNameMap = buildUnnamed3125(); | 2961 o.userStepToStateFamilyNameMap = buildUnnamed3112(); |
| 2867 } | 2962 } |
| 2868 buildCounterStreamingConfigTask--; | 2963 buildCounterStreamingConfigTask--; |
| 2869 return o; | 2964 return o; |
| 2870 } | 2965 } |
| 2871 | 2966 |
| 2872 checkStreamingConfigTask(api.StreamingConfigTask o) { | 2967 checkStreamingConfigTask(api.StreamingConfigTask o) { |
| 2873 buildCounterStreamingConfigTask++; | 2968 buildCounterStreamingConfigTask++; |
| 2874 if (buildCounterStreamingConfigTask < 3) { | 2969 if (buildCounterStreamingConfigTask < 3) { |
| 2875 checkUnnamed3124(o.streamingComputationConfigs); | 2970 checkUnnamed3111(o.streamingComputationConfigs); |
| 2876 checkUnnamed3125(o.userStepToStateFamilyNameMap); | 2971 checkUnnamed3112(o.userStepToStateFamilyNameMap); |
| 2877 } | 2972 } |
| 2878 buildCounterStreamingConfigTask--; | 2973 buildCounterStreamingConfigTask--; |
| 2879 } | 2974 } |
| 2880 | 2975 |
| 2881 core.int buildCounterStreamingSetupTask = 0; | 2976 core.int buildCounterStreamingSetupTask = 0; |
| 2882 buildStreamingSetupTask() { | 2977 buildStreamingSetupTask() { |
| 2883 var o = new api.StreamingSetupTask(); | 2978 var o = new api.StreamingSetupTask(); |
| 2884 buildCounterStreamingSetupTask++; | 2979 buildCounterStreamingSetupTask++; |
| 2885 if (buildCounterStreamingSetupTask < 3) { | 2980 if (buildCounterStreamingSetupTask < 3) { |
| 2886 o.drain = true; | 2981 o.drain = true; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2936 } | 3031 } |
| 2937 | 3032 |
| 2938 checkStreamingStageLocation(api.StreamingStageLocation o) { | 3033 checkStreamingStageLocation(api.StreamingStageLocation o) { |
| 2939 buildCounterStreamingStageLocation++; | 3034 buildCounterStreamingStageLocation++; |
| 2940 if (buildCounterStreamingStageLocation < 3) { | 3035 if (buildCounterStreamingStageLocation < 3) { |
| 2941 unittest.expect(o.streamId, unittest.equals('foo')); | 3036 unittest.expect(o.streamId, unittest.equals('foo')); |
| 2942 } | 3037 } |
| 2943 buildCounterStreamingStageLocation--; | 3038 buildCounterStreamingStageLocation--; |
| 2944 } | 3039 } |
| 2945 | 3040 |
| 2946 buildUnnamed3126() { | 3041 buildUnnamed3113() { |
| 2947 var o = new core.List<core.String>(); | 3042 var o = new core.List<core.String>(); |
| 2948 o.add("foo"); | 3043 o.add("foo"); |
| 2949 o.add("foo"); | 3044 o.add("foo"); |
| 2950 return o; | 3045 return o; |
| 2951 } | 3046 } |
| 2952 | 3047 |
| 2953 checkUnnamed3126(core.List<core.String> o) { | 3048 checkUnnamed3113(core.List<core.String> o) { |
| 2954 unittest.expect(o, unittest.hasLength(2)); | 3049 unittest.expect(o, unittest.hasLength(2)); |
| 2955 unittest.expect(o[0], unittest.equals('foo')); | 3050 unittest.expect(o[0], unittest.equals('foo')); |
| 2956 unittest.expect(o[1], unittest.equals('foo')); | 3051 unittest.expect(o[1], unittest.equals('foo')); |
| 2957 } | 3052 } |
| 2958 | 3053 |
| 2959 core.int buildCounterStringList = 0; | 3054 core.int buildCounterStringList = 0; |
| 2960 buildStringList() { | 3055 buildStringList() { |
| 2961 var o = new api.StringList(); | 3056 var o = new api.StringList(); |
| 2962 buildCounterStringList++; | 3057 buildCounterStringList++; |
| 2963 if (buildCounterStringList < 3) { | 3058 if (buildCounterStringList < 3) { |
| 2964 o.elements = buildUnnamed3126(); | 3059 o.elements = buildUnnamed3113(); |
| 2965 } | 3060 } |
| 2966 buildCounterStringList--; | 3061 buildCounterStringList--; |
| 2967 return o; | 3062 return o; |
| 2968 } | 3063 } |
| 2969 | 3064 |
| 2970 checkStringList(api.StringList o) { | 3065 checkStringList(api.StringList o) { |
| 2971 buildCounterStringList++; | 3066 buildCounterStringList++; |
| 2972 if (buildCounterStringList < 3) { | 3067 if (buildCounterStringList < 3) { |
| 2973 checkUnnamed3126(o.elements); | 3068 checkUnnamed3113(o.elements); |
| 2974 } | 3069 } |
| 2975 buildCounterStringList--; | 3070 buildCounterStringList--; |
| 2976 } | 3071 } |
| 2977 | 3072 |
| 2978 buildUnnamed3127() { | 3073 buildUnnamed3114() { |
| 2979 var o = new core.List<core.String>(); | 3074 var o = new core.List<core.String>(); |
| 2980 o.add("foo"); | 3075 o.add("foo"); |
| 2981 o.add("foo"); | 3076 o.add("foo"); |
| 2982 return o; | 3077 return o; |
| 2983 } | 3078 } |
| 2984 | 3079 |
| 2985 checkUnnamed3127(core.List<core.String> o) { | 3080 checkUnnamed3114(core.List<core.String> o) { |
| 2986 unittest.expect(o, unittest.hasLength(2)); | 3081 unittest.expect(o, unittest.hasLength(2)); |
| 2987 unittest.expect(o[0], unittest.equals('foo')); | 3082 unittest.expect(o[0], unittest.equals('foo')); |
| 2988 unittest.expect(o[1], unittest.equals('foo')); | 3083 unittest.expect(o[1], unittest.equals('foo')); |
| 2989 } | 3084 } |
| 2990 | 3085 |
| 2991 core.int buildCounterTaskRunnerSettings = 0; | 3086 core.int buildCounterTaskRunnerSettings = 0; |
| 2992 buildTaskRunnerSettings() { | 3087 buildTaskRunnerSettings() { |
| 2993 var o = new api.TaskRunnerSettings(); | 3088 var o = new api.TaskRunnerSettings(); |
| 2994 buildCounterTaskRunnerSettings++; | 3089 buildCounterTaskRunnerSettings++; |
| 2995 if (buildCounterTaskRunnerSettings < 3) { | 3090 if (buildCounterTaskRunnerSettings < 3) { |
| 2996 o.alsologtostderr = true; | 3091 o.alsologtostderr = true; |
| 2997 o.baseTaskDir = "foo"; | 3092 o.baseTaskDir = "foo"; |
| 2998 o.baseUrl = "foo"; | 3093 o.baseUrl = "foo"; |
| 2999 o.commandlinesFileName = "foo"; | 3094 o.commandlinesFileName = "foo"; |
| 3000 o.continueOnException = true; | 3095 o.continueOnException = true; |
| 3001 o.dataflowApiVersion = "foo"; | 3096 o.dataflowApiVersion = "foo"; |
| 3002 o.harnessCommand = "foo"; | 3097 o.harnessCommand = "foo"; |
| 3003 o.languageHint = "foo"; | 3098 o.languageHint = "foo"; |
| 3004 o.logDir = "foo"; | 3099 o.logDir = "foo"; |
| 3005 o.logToSerialconsole = true; | 3100 o.logToSerialconsole = true; |
| 3006 o.logUploadLocation = "foo"; | 3101 o.logUploadLocation = "foo"; |
| 3007 o.oauthScopes = buildUnnamed3127(); | 3102 o.oauthScopes = buildUnnamed3114(); |
| 3008 o.parallelWorkerSettings = buildWorkerSettings(); | 3103 o.parallelWorkerSettings = buildWorkerSettings(); |
| 3009 o.streamingWorkerMainClass = "foo"; | 3104 o.streamingWorkerMainClass = "foo"; |
| 3010 o.taskGroup = "foo"; | 3105 o.taskGroup = "foo"; |
| 3011 o.taskUser = "foo"; | 3106 o.taskUser = "foo"; |
| 3012 o.tempStoragePrefix = "foo"; | 3107 o.tempStoragePrefix = "foo"; |
| 3013 o.vmId = "foo"; | 3108 o.vmId = "foo"; |
| 3014 o.workflowFileName = "foo"; | 3109 o.workflowFileName = "foo"; |
| 3015 } | 3110 } |
| 3016 buildCounterTaskRunnerSettings--; | 3111 buildCounterTaskRunnerSettings--; |
| 3017 return o; | 3112 return o; |
| 3018 } | 3113 } |
| 3019 | 3114 |
| 3020 checkTaskRunnerSettings(api.TaskRunnerSettings o) { | 3115 checkTaskRunnerSettings(api.TaskRunnerSettings o) { |
| 3021 buildCounterTaskRunnerSettings++; | 3116 buildCounterTaskRunnerSettings++; |
| 3022 if (buildCounterTaskRunnerSettings < 3) { | 3117 if (buildCounterTaskRunnerSettings < 3) { |
| 3023 unittest.expect(o.alsologtostderr, unittest.isTrue); | 3118 unittest.expect(o.alsologtostderr, unittest.isTrue); |
| 3024 unittest.expect(o.baseTaskDir, unittest.equals('foo')); | 3119 unittest.expect(o.baseTaskDir, unittest.equals('foo')); |
| 3025 unittest.expect(o.baseUrl, unittest.equals('foo')); | 3120 unittest.expect(o.baseUrl, unittest.equals('foo')); |
| 3026 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); | 3121 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); |
| 3027 unittest.expect(o.continueOnException, unittest.isTrue); | 3122 unittest.expect(o.continueOnException, unittest.isTrue); |
| 3028 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); | 3123 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); |
| 3029 unittest.expect(o.harnessCommand, unittest.equals('foo')); | 3124 unittest.expect(o.harnessCommand, unittest.equals('foo')); |
| 3030 unittest.expect(o.languageHint, unittest.equals('foo')); | 3125 unittest.expect(o.languageHint, unittest.equals('foo')); |
| 3031 unittest.expect(o.logDir, unittest.equals('foo')); | 3126 unittest.expect(o.logDir, unittest.equals('foo')); |
| 3032 unittest.expect(o.logToSerialconsole, unittest.isTrue); | 3127 unittest.expect(o.logToSerialconsole, unittest.isTrue); |
| 3033 unittest.expect(o.logUploadLocation, unittest.equals('foo')); | 3128 unittest.expect(o.logUploadLocation, unittest.equals('foo')); |
| 3034 checkUnnamed3127(o.oauthScopes); | 3129 checkUnnamed3114(o.oauthScopes); |
| 3035 checkWorkerSettings(o.parallelWorkerSettings); | 3130 checkWorkerSettings(o.parallelWorkerSettings); |
| 3036 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); | 3131 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); |
| 3037 unittest.expect(o.taskGroup, unittest.equals('foo')); | 3132 unittest.expect(o.taskGroup, unittest.equals('foo')); |
| 3038 unittest.expect(o.taskUser, unittest.equals('foo')); | 3133 unittest.expect(o.taskUser, unittest.equals('foo')); |
| 3039 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 3134 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 3040 unittest.expect(o.vmId, unittest.equals('foo')); | 3135 unittest.expect(o.vmId, unittest.equals('foo')); |
| 3041 unittest.expect(o.workflowFileName, unittest.equals('foo')); | 3136 unittest.expect(o.workflowFileName, unittest.equals('foo')); |
| 3042 } | 3137 } |
| 3043 buildCounterTaskRunnerSettings--; | 3138 buildCounterTaskRunnerSettings--; |
| 3044 } | 3139 } |
| 3045 | 3140 |
| 3046 buildUnnamed3128() { | 3141 buildUnnamed3115() { |
| 3047 var o = new core.List<api.ComputationTopology>(); | 3142 var o = new core.List<api.ComputationTopology>(); |
| 3048 o.add(buildComputationTopology()); | 3143 o.add(buildComputationTopology()); |
| 3049 o.add(buildComputationTopology()); | 3144 o.add(buildComputationTopology()); |
| 3050 return o; | 3145 return o; |
| 3051 } | 3146 } |
| 3052 | 3147 |
| 3053 checkUnnamed3128(core.List<api.ComputationTopology> o) { | 3148 checkUnnamed3115(core.List<api.ComputationTopology> o) { |
| 3054 unittest.expect(o, unittest.hasLength(2)); | 3149 unittest.expect(o, unittest.hasLength(2)); |
| 3055 checkComputationTopology(o[0]); | 3150 checkComputationTopology(o[0]); |
| 3056 checkComputationTopology(o[1]); | 3151 checkComputationTopology(o[1]); |
| 3057 } | 3152 } |
| 3058 | 3153 |
| 3059 buildUnnamed3129() { | 3154 buildUnnamed3116() { |
| 3060 var o = new core.List<api.DataDiskAssignment>(); | 3155 var o = new core.List<api.DataDiskAssignment>(); |
| 3061 o.add(buildDataDiskAssignment()); | 3156 o.add(buildDataDiskAssignment()); |
| 3062 o.add(buildDataDiskAssignment()); | 3157 o.add(buildDataDiskAssignment()); |
| 3063 return o; | 3158 return o; |
| 3064 } | 3159 } |
| 3065 | 3160 |
| 3066 checkUnnamed3129(core.List<api.DataDiskAssignment> o) { | 3161 checkUnnamed3116(core.List<api.DataDiskAssignment> o) { |
| 3067 unittest.expect(o, unittest.hasLength(2)); | 3162 unittest.expect(o, unittest.hasLength(2)); |
| 3068 checkDataDiskAssignment(o[0]); | 3163 checkDataDiskAssignment(o[0]); |
| 3069 checkDataDiskAssignment(o[1]); | 3164 checkDataDiskAssignment(o[1]); |
| 3070 } | 3165 } |
| 3071 | 3166 |
| 3072 buildUnnamed3130() { | 3167 buildUnnamed3117() { |
| 3073 var o = new core.Map<core.String, core.String>(); | 3168 var o = new core.Map<core.String, core.String>(); |
| 3074 o["x"] = "foo"; | 3169 o["x"] = "foo"; |
| 3075 o["y"] = "foo"; | 3170 o["y"] = "foo"; |
| 3076 return o; | 3171 return o; |
| 3077 } | 3172 } |
| 3078 | 3173 |
| 3079 checkUnnamed3130(core.Map<core.String, core.String> o) { | 3174 checkUnnamed3117(core.Map<core.String, core.String> o) { |
| 3080 unittest.expect(o, unittest.hasLength(2)); | 3175 unittest.expect(o, unittest.hasLength(2)); |
| 3081 unittest.expect(o["x"], unittest.equals('foo')); | 3176 unittest.expect(o["x"], unittest.equals('foo')); |
| 3082 unittest.expect(o["y"], unittest.equals('foo')); | 3177 unittest.expect(o["y"], unittest.equals('foo')); |
| 3083 } | 3178 } |
| 3084 | 3179 |
| 3085 core.int buildCounterTopologyConfig = 0; | 3180 core.int buildCounterTopologyConfig = 0; |
| 3086 buildTopologyConfig() { | 3181 buildTopologyConfig() { |
| 3087 var o = new api.TopologyConfig(); | 3182 var o = new api.TopologyConfig(); |
| 3088 buildCounterTopologyConfig++; | 3183 buildCounterTopologyConfig++; |
| 3089 if (buildCounterTopologyConfig < 3) { | 3184 if (buildCounterTopologyConfig < 3) { |
| 3090 o.computations = buildUnnamed3128(); | 3185 o.computations = buildUnnamed3115(); |
| 3091 o.dataDiskAssignments = buildUnnamed3129(); | 3186 o.dataDiskAssignments = buildUnnamed3116(); |
| 3092 o.forwardingKeyBits = 42; | 3187 o.forwardingKeyBits = 42; |
| 3093 o.persistentStateVersion = 42; | 3188 o.persistentStateVersion = 42; |
| 3094 o.userStageToComputationNameMap = buildUnnamed3130(); | 3189 o.userStageToComputationNameMap = buildUnnamed3117(); |
| 3095 } | 3190 } |
| 3096 buildCounterTopologyConfig--; | 3191 buildCounterTopologyConfig--; |
| 3097 return o; | 3192 return o; |
| 3098 } | 3193 } |
| 3099 | 3194 |
| 3100 checkTopologyConfig(api.TopologyConfig o) { | 3195 checkTopologyConfig(api.TopologyConfig o) { |
| 3101 buildCounterTopologyConfig++; | 3196 buildCounterTopologyConfig++; |
| 3102 if (buildCounterTopologyConfig < 3) { | 3197 if (buildCounterTopologyConfig < 3) { |
| 3103 checkUnnamed3128(o.computations); | 3198 checkUnnamed3115(o.computations); |
| 3104 checkUnnamed3129(o.dataDiskAssignments); | 3199 checkUnnamed3116(o.dataDiskAssignments); |
| 3105 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); | 3200 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); |
| 3106 unittest.expect(o.persistentStateVersion, unittest.equals(42)); | 3201 unittest.expect(o.persistentStateVersion, unittest.equals(42)); |
| 3107 checkUnnamed3130(o.userStageToComputationNameMap); | 3202 checkUnnamed3117(o.userStageToComputationNameMap); |
| 3108 } | 3203 } |
| 3109 buildCounterTopologyConfig--; | 3204 buildCounterTopologyConfig--; |
| 3110 } | 3205 } |
| 3111 | 3206 |
| 3112 buildUnnamed3131() { | 3207 buildUnnamed3118() { |
| 3113 var o = new core.List<api.Package>(); | 3208 var o = new core.List<api.Package>(); |
| 3114 o.add(buildPackage()); | 3209 o.add(buildPackage()); |
| 3115 o.add(buildPackage()); | 3210 o.add(buildPackage()); |
| 3116 return o; | 3211 return o; |
| 3117 } | 3212 } |
| 3118 | 3213 |
| 3119 checkUnnamed3131(core.List<api.Package> o) { | 3214 checkUnnamed3118(core.List<api.Package> o) { |
| 3120 unittest.expect(o, unittest.hasLength(2)); | 3215 unittest.expect(o, unittest.hasLength(2)); |
| 3121 checkPackage(o[0]); | 3216 checkPackage(o[0]); |
| 3122 checkPackage(o[1]); | 3217 checkPackage(o[1]); |
| 3123 } | 3218 } |
| 3124 | 3219 |
| 3125 core.int buildCounterWorkItem = 0; | 3220 core.int buildCounterWorkItem = 0; |
| 3126 buildWorkItem() { | 3221 buildWorkItem() { |
| 3127 var o = new api.WorkItem(); | 3222 var o = new api.WorkItem(); |
| 3128 buildCounterWorkItem++; | 3223 buildCounterWorkItem++; |
| 3129 if (buildCounterWorkItem < 3) { | 3224 if (buildCounterWorkItem < 3) { |
| 3130 o.configuration = "foo"; | 3225 o.configuration = "foo"; |
| 3131 o.id = "foo"; | 3226 o.id = "foo"; |
| 3132 o.initialReportIndex = "foo"; | 3227 o.initialReportIndex = "foo"; |
| 3133 o.jobId = "foo"; | 3228 o.jobId = "foo"; |
| 3134 o.leaseExpireTime = "foo"; | 3229 o.leaseExpireTime = "foo"; |
| 3135 o.mapTask = buildMapTask(); | 3230 o.mapTask = buildMapTask(); |
| 3136 o.packages = buildUnnamed3131(); | 3231 o.packages = buildUnnamed3118(); |
| 3137 o.projectId = "foo"; | 3232 o.projectId = "foo"; |
| 3138 o.reportStatusInterval = "foo"; | 3233 o.reportStatusInterval = "foo"; |
| 3139 o.seqMapTask = buildSeqMapTask(); | 3234 o.seqMapTask = buildSeqMapTask(); |
| 3140 o.shellTask = buildShellTask(); | 3235 o.shellTask = buildShellTask(); |
| 3141 o.sourceOperationTask = buildSourceOperationRequest(); | 3236 o.sourceOperationTask = buildSourceOperationRequest(); |
| 3142 o.streamingComputationTask = buildStreamingComputationTask(); | 3237 o.streamingComputationTask = buildStreamingComputationTask(); |
| 3143 o.streamingConfigTask = buildStreamingConfigTask(); | 3238 o.streamingConfigTask = buildStreamingConfigTask(); |
| 3144 o.streamingSetupTask = buildStreamingSetupTask(); | 3239 o.streamingSetupTask = buildStreamingSetupTask(); |
| 3145 } | 3240 } |
| 3146 buildCounterWorkItem--; | 3241 buildCounterWorkItem--; |
| 3147 return o; | 3242 return o; |
| 3148 } | 3243 } |
| 3149 | 3244 |
| 3150 checkWorkItem(api.WorkItem o) { | 3245 checkWorkItem(api.WorkItem o) { |
| 3151 buildCounterWorkItem++; | 3246 buildCounterWorkItem++; |
| 3152 if (buildCounterWorkItem < 3) { | 3247 if (buildCounterWorkItem < 3) { |
| 3153 unittest.expect(o.configuration, unittest.equals('foo')); | 3248 unittest.expect(o.configuration, unittest.equals('foo')); |
| 3154 unittest.expect(o.id, unittest.equals('foo')); | 3249 unittest.expect(o.id, unittest.equals('foo')); |
| 3155 unittest.expect(o.initialReportIndex, unittest.equals('foo')); | 3250 unittest.expect(o.initialReportIndex, unittest.equals('foo')); |
| 3156 unittest.expect(o.jobId, unittest.equals('foo')); | 3251 unittest.expect(o.jobId, unittest.equals('foo')); |
| 3157 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3252 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3158 checkMapTask(o.mapTask); | 3253 checkMapTask(o.mapTask); |
| 3159 checkUnnamed3131(o.packages); | 3254 checkUnnamed3118(o.packages); |
| 3160 unittest.expect(o.projectId, unittest.equals('foo')); | 3255 unittest.expect(o.projectId, unittest.equals('foo')); |
| 3161 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3256 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3162 checkSeqMapTask(o.seqMapTask); | 3257 checkSeqMapTask(o.seqMapTask); |
| 3163 checkShellTask(o.shellTask); | 3258 checkShellTask(o.shellTask); |
| 3164 checkSourceOperationRequest(o.sourceOperationTask); | 3259 checkSourceOperationRequest(o.sourceOperationTask); |
| 3165 checkStreamingComputationTask(o.streamingComputationTask); | 3260 checkStreamingComputationTask(o.streamingComputationTask); |
| 3166 checkStreamingConfigTask(o.streamingConfigTask); | 3261 checkStreamingConfigTask(o.streamingConfigTask); |
| 3167 checkStreamingSetupTask(o.streamingSetupTask); | 3262 checkStreamingSetupTask(o.streamingSetupTask); |
| 3168 } | 3263 } |
| 3169 buildCounterWorkItem--; | 3264 buildCounterWorkItem--; |
| 3170 } | 3265 } |
| 3171 | 3266 |
| 3172 buildUnnamed3132() { | 3267 buildUnnamed3119() { |
| 3173 var o = new core.Map<core.String, core.Object>(); | 3268 var o = new core.Map<core.String, core.Object>(); |
| 3174 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3269 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3175 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3270 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3176 return o; | 3271 return o; |
| 3177 } | 3272 } |
| 3178 | 3273 |
| 3179 checkUnnamed3132(core.Map<core.String, core.Object> o) { | 3274 checkUnnamed3119(core.Map<core.String, core.Object> o) { |
| 3180 unittest.expect(o, unittest.hasLength(2)); | 3275 unittest.expect(o, unittest.hasLength(2)); |
| 3181 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')); | 3276 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')); |
| 3182 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')); | 3277 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')); |
| 3183 } | 3278 } |
| 3184 | 3279 |
| 3185 buildUnnamed3133() { | 3280 buildUnnamed3120() { |
| 3186 var o = new core.List<api.MetricShortId>(); | 3281 var o = new core.List<api.MetricShortId>(); |
| 3187 o.add(buildMetricShortId()); | 3282 o.add(buildMetricShortId()); |
| 3188 o.add(buildMetricShortId()); | 3283 o.add(buildMetricShortId()); |
| 3189 return o; | 3284 return o; |
| 3190 } | 3285 } |
| 3191 | 3286 |
| 3192 checkUnnamed3133(core.List<api.MetricShortId> o) { | 3287 checkUnnamed3120(core.List<api.MetricShortId> o) { |
| 3193 unittest.expect(o, unittest.hasLength(2)); | 3288 unittest.expect(o, unittest.hasLength(2)); |
| 3194 checkMetricShortId(o[0]); | 3289 checkMetricShortId(o[0]); |
| 3195 checkMetricShortId(o[1]); | 3290 checkMetricShortId(o[1]); |
| 3196 } | 3291 } |
| 3197 | 3292 |
| 3198 core.int buildCounterWorkItemServiceState = 0; | 3293 core.int buildCounterWorkItemServiceState = 0; |
| 3199 buildWorkItemServiceState() { | 3294 buildWorkItemServiceState() { |
| 3200 var o = new api.WorkItemServiceState(); | 3295 var o = new api.WorkItemServiceState(); |
| 3201 buildCounterWorkItemServiceState++; | 3296 buildCounterWorkItemServiceState++; |
| 3202 if (buildCounterWorkItemServiceState < 3) { | 3297 if (buildCounterWorkItemServiceState < 3) { |
| 3203 o.harnessData = buildUnnamed3132(); | 3298 o.harnessData = buildUnnamed3119(); |
| 3204 o.leaseExpireTime = "foo"; | 3299 o.leaseExpireTime = "foo"; |
| 3205 o.metricShortId = buildUnnamed3133(); | 3300 o.metricShortId = buildUnnamed3120(); |
| 3206 o.nextReportIndex = "foo"; | 3301 o.nextReportIndex = "foo"; |
| 3207 o.reportStatusInterval = "foo"; | 3302 o.reportStatusInterval = "foo"; |
| 3208 o.splitRequest = buildApproximateSplitRequest(); | 3303 o.splitRequest = buildApproximateSplitRequest(); |
| 3209 o.suggestedStopPoint = buildApproximateProgress(); | 3304 o.suggestedStopPoint = buildApproximateProgress(); |
| 3210 o.suggestedStopPosition = buildPosition(); | 3305 o.suggestedStopPosition = buildPosition(); |
| 3211 } | 3306 } |
| 3212 buildCounterWorkItemServiceState--; | 3307 buildCounterWorkItemServiceState--; |
| 3213 return o; | 3308 return o; |
| 3214 } | 3309 } |
| 3215 | 3310 |
| 3216 checkWorkItemServiceState(api.WorkItemServiceState o) { | 3311 checkWorkItemServiceState(api.WorkItemServiceState o) { |
| 3217 buildCounterWorkItemServiceState++; | 3312 buildCounterWorkItemServiceState++; |
| 3218 if (buildCounterWorkItemServiceState < 3) { | 3313 if (buildCounterWorkItemServiceState < 3) { |
| 3219 checkUnnamed3132(o.harnessData); | 3314 checkUnnamed3119(o.harnessData); |
| 3220 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3315 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3221 checkUnnamed3133(o.metricShortId); | 3316 checkUnnamed3120(o.metricShortId); |
| 3222 unittest.expect(o.nextReportIndex, unittest.equals('foo')); | 3317 unittest.expect(o.nextReportIndex, unittest.equals('foo')); |
| 3223 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3318 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3224 checkApproximateSplitRequest(o.splitRequest); | 3319 checkApproximateSplitRequest(o.splitRequest); |
| 3225 checkApproximateProgress(o.suggestedStopPoint); | 3320 checkApproximateProgress(o.suggestedStopPoint); |
| 3226 checkPosition(o.suggestedStopPosition); | 3321 checkPosition(o.suggestedStopPosition); |
| 3227 } | 3322 } |
| 3228 buildCounterWorkItemServiceState--; | 3323 buildCounterWorkItemServiceState--; |
| 3229 } | 3324 } |
| 3230 | 3325 |
| 3231 buildUnnamed3134() { | 3326 buildUnnamed3121() { |
| 3232 var o = new core.List<api.CounterUpdate>(); | 3327 var o = new core.List<api.CounterUpdate>(); |
| 3233 o.add(buildCounterUpdate()); | 3328 o.add(buildCounterUpdate()); |
| 3234 o.add(buildCounterUpdate()); | 3329 o.add(buildCounterUpdate()); |
| 3235 return o; | 3330 return o; |
| 3236 } | 3331 } |
| 3237 | 3332 |
| 3238 checkUnnamed3134(core.List<api.CounterUpdate> o) { | 3333 checkUnnamed3121(core.List<api.CounterUpdate> o) { |
| 3239 unittest.expect(o, unittest.hasLength(2)); | 3334 unittest.expect(o, unittest.hasLength(2)); |
| 3240 checkCounterUpdate(o[0]); | 3335 checkCounterUpdate(o[0]); |
| 3241 checkCounterUpdate(o[1]); | 3336 checkCounterUpdate(o[1]); |
| 3242 } | 3337 } |
| 3243 | 3338 |
| 3244 buildUnnamed3135() { | 3339 buildUnnamed3122() { |
| 3245 var o = new core.List<api.Status>(); | 3340 var o = new core.List<api.Status>(); |
| 3246 o.add(buildStatus()); | 3341 o.add(buildStatus()); |
| 3247 o.add(buildStatus()); | 3342 o.add(buildStatus()); |
| 3248 return o; | 3343 return o; |
| 3249 } | 3344 } |
| 3250 | 3345 |
| 3251 checkUnnamed3135(core.List<api.Status> o) { | 3346 checkUnnamed3122(core.List<api.Status> o) { |
| 3252 unittest.expect(o, unittest.hasLength(2)); | 3347 unittest.expect(o, unittest.hasLength(2)); |
| 3253 checkStatus(o[0]); | 3348 checkStatus(o[0]); |
| 3254 checkStatus(o[1]); | 3349 checkStatus(o[1]); |
| 3255 } | 3350 } |
| 3256 | 3351 |
| 3257 buildUnnamed3136() { | 3352 buildUnnamed3123() { |
| 3258 var o = new core.List<api.MetricUpdate>(); | 3353 var o = new core.List<api.MetricUpdate>(); |
| 3259 o.add(buildMetricUpdate()); | 3354 o.add(buildMetricUpdate()); |
| 3260 o.add(buildMetricUpdate()); | 3355 o.add(buildMetricUpdate()); |
| 3261 return o; | 3356 return o; |
| 3262 } | 3357 } |
| 3263 | 3358 |
| 3264 checkUnnamed3136(core.List<api.MetricUpdate> o) { | 3359 checkUnnamed3123(core.List<api.MetricUpdate> o) { |
| 3265 unittest.expect(o, unittest.hasLength(2)); | 3360 unittest.expect(o, unittest.hasLength(2)); |
| 3266 checkMetricUpdate(o[0]); | 3361 checkMetricUpdate(o[0]); |
| 3267 checkMetricUpdate(o[1]); | 3362 checkMetricUpdate(o[1]); |
| 3268 } | 3363 } |
| 3269 | 3364 |
| 3270 core.int buildCounterWorkItemStatus = 0; | 3365 core.int buildCounterWorkItemStatus = 0; |
| 3271 buildWorkItemStatus() { | 3366 buildWorkItemStatus() { |
| 3272 var o = new api.WorkItemStatus(); | 3367 var o = new api.WorkItemStatus(); |
| 3273 buildCounterWorkItemStatus++; | 3368 buildCounterWorkItemStatus++; |
| 3274 if (buildCounterWorkItemStatus < 3) { | 3369 if (buildCounterWorkItemStatus < 3) { |
| 3275 o.completed = true; | 3370 o.completed = true; |
| 3276 o.counterUpdates = buildUnnamed3134(); | 3371 o.counterUpdates = buildUnnamed3121(); |
| 3277 o.dynamicSourceSplit = buildDynamicSourceSplit(); | 3372 o.dynamicSourceSplit = buildDynamicSourceSplit(); |
| 3278 o.errors = buildUnnamed3135(); | 3373 o.errors = buildUnnamed3122(); |
| 3279 o.metricUpdates = buildUnnamed3136(); | 3374 o.metricUpdates = buildUnnamed3123(); |
| 3280 o.progress = buildApproximateProgress(); | 3375 o.progress = buildApproximateProgress(); |
| 3281 o.reportIndex = "foo"; | 3376 o.reportIndex = "foo"; |
| 3282 o.reportedProgress = buildApproximateReportedProgress(); | 3377 o.reportedProgress = buildApproximateReportedProgress(); |
| 3283 o.requestedLeaseDuration = "foo"; | 3378 o.requestedLeaseDuration = "foo"; |
| 3284 o.sourceFork = buildSourceFork(); | 3379 o.sourceFork = buildSourceFork(); |
| 3285 o.sourceOperationResponse = buildSourceOperationResponse(); | 3380 o.sourceOperationResponse = buildSourceOperationResponse(); |
| 3286 o.stopPosition = buildPosition(); | 3381 o.stopPosition = buildPosition(); |
| 3287 o.workItemId = "foo"; | 3382 o.workItemId = "foo"; |
| 3288 } | 3383 } |
| 3289 buildCounterWorkItemStatus--; | 3384 buildCounterWorkItemStatus--; |
| 3290 return o; | 3385 return o; |
| 3291 } | 3386 } |
| 3292 | 3387 |
| 3293 checkWorkItemStatus(api.WorkItemStatus o) { | 3388 checkWorkItemStatus(api.WorkItemStatus o) { |
| 3294 buildCounterWorkItemStatus++; | 3389 buildCounterWorkItemStatus++; |
| 3295 if (buildCounterWorkItemStatus < 3) { | 3390 if (buildCounterWorkItemStatus < 3) { |
| 3296 unittest.expect(o.completed, unittest.isTrue); | 3391 unittest.expect(o.completed, unittest.isTrue); |
| 3297 checkUnnamed3134(o.counterUpdates); | 3392 checkUnnamed3121(o.counterUpdates); |
| 3298 checkDynamicSourceSplit(o.dynamicSourceSplit); | 3393 checkDynamicSourceSplit(o.dynamicSourceSplit); |
| 3299 checkUnnamed3135(o.errors); | 3394 checkUnnamed3122(o.errors); |
| 3300 checkUnnamed3136(o.metricUpdates); | 3395 checkUnnamed3123(o.metricUpdates); |
| 3301 checkApproximateProgress(o.progress); | 3396 checkApproximateProgress(o.progress); |
| 3302 unittest.expect(o.reportIndex, unittest.equals('foo')); | 3397 unittest.expect(o.reportIndex, unittest.equals('foo')); |
| 3303 checkApproximateReportedProgress(o.reportedProgress); | 3398 checkApproximateReportedProgress(o.reportedProgress); |
| 3304 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 3399 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 3305 checkSourceFork(o.sourceFork); | 3400 checkSourceFork(o.sourceFork); |
| 3306 checkSourceOperationResponse(o.sourceOperationResponse); | 3401 checkSourceOperationResponse(o.sourceOperationResponse); |
| 3307 checkPosition(o.stopPosition); | 3402 checkPosition(o.stopPosition); |
| 3308 unittest.expect(o.workItemId, unittest.equals('foo')); | 3403 unittest.expect(o.workItemId, unittest.equals('foo')); |
| 3309 } | 3404 } |
| 3310 buildCounterWorkItemStatus--; | 3405 buildCounterWorkItemStatus--; |
| 3311 } | 3406 } |
| 3312 | 3407 |
| 3313 buildUnnamed3137() { | 3408 buildUnnamed3124() { |
| 3314 var o = new core.Map<core.String, core.Object>(); | 3409 var o = new core.Map<core.String, core.Object>(); |
| 3315 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3410 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3316 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3411 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3317 return o; | 3412 return o; |
| 3318 } | 3413 } |
| 3319 | 3414 |
| 3320 checkUnnamed3137(core.Map<core.String, core.Object> o) { | 3415 checkUnnamed3124(core.Map<core.String, core.Object> o) { |
| 3321 unittest.expect(o, unittest.hasLength(2)); | 3416 unittest.expect(o, unittest.hasLength(2)); |
| 3322 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')); | 3417 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')); |
| 3323 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')); | 3418 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')); |
| 3324 } | 3419 } |
| 3325 | 3420 |
| 3326 buildUnnamed3138() { | 3421 buildUnnamed3125() { |
| 3327 var o = new core.List<core.Map<core.String, core.Object>>(); | 3422 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3328 o.add(buildUnnamed3137()); | 3423 o.add(buildUnnamed3124()); |
| 3329 o.add(buildUnnamed3137()); | 3424 o.add(buildUnnamed3124()); |
| 3330 return o; | 3425 return o; |
| 3331 } | 3426 } |
| 3332 | 3427 |
| 3333 checkUnnamed3138(core.List<core.Map<core.String, core.Object>> o) { | 3428 checkUnnamed3125(core.List<core.Map<core.String, core.Object>> o) { |
| 3334 unittest.expect(o, unittest.hasLength(2)); | 3429 unittest.expect(o, unittest.hasLength(2)); |
| 3335 checkUnnamed3137(o[0]); | 3430 checkUnnamed3124(o[0]); |
| 3336 checkUnnamed3137(o[1]); | 3431 checkUnnamed3124(o[1]); |
| 3337 } | 3432 } |
| 3338 | 3433 |
| 3339 core.int buildCounterWorkerHealthReport = 0; | 3434 core.int buildCounterWorkerHealthReport = 0; |
| 3340 buildWorkerHealthReport() { | 3435 buildWorkerHealthReport() { |
| 3341 var o = new api.WorkerHealthReport(); | 3436 var o = new api.WorkerHealthReport(); |
| 3342 buildCounterWorkerHealthReport++; | 3437 buildCounterWorkerHealthReport++; |
| 3343 if (buildCounterWorkerHealthReport < 3) { | 3438 if (buildCounterWorkerHealthReport < 3) { |
| 3344 o.pods = buildUnnamed3138(); | 3439 o.pods = buildUnnamed3125(); |
| 3345 o.reportInterval = "foo"; | 3440 o.reportInterval = "foo"; |
| 3346 o.vmIsHealthy = true; | 3441 o.vmIsHealthy = true; |
| 3347 o.vmStartupTime = "foo"; | 3442 o.vmStartupTime = "foo"; |
| 3348 } | 3443 } |
| 3349 buildCounterWorkerHealthReport--; | 3444 buildCounterWorkerHealthReport--; |
| 3350 return o; | 3445 return o; |
| 3351 } | 3446 } |
| 3352 | 3447 |
| 3353 checkWorkerHealthReport(api.WorkerHealthReport o) { | 3448 checkWorkerHealthReport(api.WorkerHealthReport o) { |
| 3354 buildCounterWorkerHealthReport++; | 3449 buildCounterWorkerHealthReport++; |
| 3355 if (buildCounterWorkerHealthReport < 3) { | 3450 if (buildCounterWorkerHealthReport < 3) { |
| 3356 checkUnnamed3138(o.pods); | 3451 checkUnnamed3125(o.pods); |
| 3357 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3452 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3358 unittest.expect(o.vmIsHealthy, unittest.isTrue); | 3453 unittest.expect(o.vmIsHealthy, unittest.isTrue); |
| 3359 unittest.expect(o.vmStartupTime, unittest.equals('foo')); | 3454 unittest.expect(o.vmStartupTime, unittest.equals('foo')); |
| 3360 } | 3455 } |
| 3361 buildCounterWorkerHealthReport--; | 3456 buildCounterWorkerHealthReport--; |
| 3362 } | 3457 } |
| 3363 | 3458 |
| 3364 core.int buildCounterWorkerHealthReportResponse = 0; | 3459 core.int buildCounterWorkerHealthReportResponse = 0; |
| 3365 buildWorkerHealthReportResponse() { | 3460 buildWorkerHealthReportResponse() { |
| 3366 var o = new api.WorkerHealthReportResponse(); | 3461 var o = new api.WorkerHealthReportResponse(); |
| 3367 buildCounterWorkerHealthReportResponse++; | 3462 buildCounterWorkerHealthReportResponse++; |
| 3368 if (buildCounterWorkerHealthReportResponse < 3) { | 3463 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3369 o.reportInterval = "foo"; | 3464 o.reportInterval = "foo"; |
| 3370 } | 3465 } |
| 3371 buildCounterWorkerHealthReportResponse--; | 3466 buildCounterWorkerHealthReportResponse--; |
| 3372 return o; | 3467 return o; |
| 3373 } | 3468 } |
| 3374 | 3469 |
| 3375 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { | 3470 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { |
| 3376 buildCounterWorkerHealthReportResponse++; | 3471 buildCounterWorkerHealthReportResponse++; |
| 3377 if (buildCounterWorkerHealthReportResponse < 3) { | 3472 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3378 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3473 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3379 } | 3474 } |
| 3380 buildCounterWorkerHealthReportResponse--; | 3475 buildCounterWorkerHealthReportResponse--; |
| 3381 } | 3476 } |
| 3382 | 3477 |
| 3383 buildUnnamed3139() { | 3478 buildUnnamed3126() { |
| 3384 var o = new core.Map<core.String, core.String>(); | 3479 var o = new core.Map<core.String, core.String>(); |
| 3385 o["x"] = "foo"; | 3480 o["x"] = "foo"; |
| 3386 o["y"] = "foo"; | 3481 o["y"] = "foo"; |
| 3387 return o; | 3482 return o; |
| 3388 } | 3483 } |
| 3389 | 3484 |
| 3390 checkUnnamed3139(core.Map<core.String, core.String> o) { | 3485 checkUnnamed3126(core.Map<core.String, core.String> o) { |
| 3391 unittest.expect(o, unittest.hasLength(2)); | 3486 unittest.expect(o, unittest.hasLength(2)); |
| 3392 unittest.expect(o["x"], unittest.equals('foo')); | 3487 unittest.expect(o["x"], unittest.equals('foo')); |
| 3393 unittest.expect(o["y"], unittest.equals('foo')); | 3488 unittest.expect(o["y"], unittest.equals('foo')); |
| 3394 } | 3489 } |
| 3395 | 3490 |
| 3396 core.int buildCounterWorkerMessage = 0; | 3491 core.int buildCounterWorkerMessage = 0; |
| 3397 buildWorkerMessage() { | 3492 buildWorkerMessage() { |
| 3398 var o = new api.WorkerMessage(); | 3493 var o = new api.WorkerMessage(); |
| 3399 buildCounterWorkerMessage++; | 3494 buildCounterWorkerMessage++; |
| 3400 if (buildCounterWorkerMessage < 3) { | 3495 if (buildCounterWorkerMessage < 3) { |
| 3401 o.labels = buildUnnamed3139(); | 3496 o.labels = buildUnnamed3126(); |
| 3402 o.time = "foo"; | 3497 o.time = "foo"; |
| 3403 o.workerHealthReport = buildWorkerHealthReport(); | 3498 o.workerHealthReport = buildWorkerHealthReport(); |
| 3404 o.workerMessageCode = buildWorkerMessageCode(); | 3499 o.workerMessageCode = buildWorkerMessageCode(); |
| 3500 o.workerMetrics = buildResourceUtilizationReport(); |
| 3405 } | 3501 } |
| 3406 buildCounterWorkerMessage--; | 3502 buildCounterWorkerMessage--; |
| 3407 return o; | 3503 return o; |
| 3408 } | 3504 } |
| 3409 | 3505 |
| 3410 checkWorkerMessage(api.WorkerMessage o) { | 3506 checkWorkerMessage(api.WorkerMessage o) { |
| 3411 buildCounterWorkerMessage++; | 3507 buildCounterWorkerMessage++; |
| 3412 if (buildCounterWorkerMessage < 3) { | 3508 if (buildCounterWorkerMessage < 3) { |
| 3413 checkUnnamed3139(o.labels); | 3509 checkUnnamed3126(o.labels); |
| 3414 unittest.expect(o.time, unittest.equals('foo')); | 3510 unittest.expect(o.time, unittest.equals('foo')); |
| 3415 checkWorkerHealthReport(o.workerHealthReport); | 3511 checkWorkerHealthReport(o.workerHealthReport); |
| 3416 checkWorkerMessageCode(o.workerMessageCode); | 3512 checkWorkerMessageCode(o.workerMessageCode); |
| 3513 checkResourceUtilizationReport(o.workerMetrics); |
| 3417 } | 3514 } |
| 3418 buildCounterWorkerMessage--; | 3515 buildCounterWorkerMessage--; |
| 3419 } | 3516 } |
| 3420 | 3517 |
| 3421 buildUnnamed3140() { | 3518 buildUnnamed3127() { |
| 3422 var o = new core.Map<core.String, core.Object>(); | 3519 var o = new core.Map<core.String, core.Object>(); |
| 3423 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3520 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3424 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3521 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3425 return o; | 3522 return o; |
| 3426 } | 3523 } |
| 3427 | 3524 |
| 3428 checkUnnamed3140(core.Map<core.String, core.Object> o) { | 3525 checkUnnamed3127(core.Map<core.String, core.Object> o) { |
| 3429 unittest.expect(o, unittest.hasLength(2)); | 3526 unittest.expect(o, unittest.hasLength(2)); |
| 3430 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')); | 3527 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')); |
| 3431 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')); | 3528 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')); |
| 3432 } | 3529 } |
| 3433 | 3530 |
| 3434 core.int buildCounterWorkerMessageCode = 0; | 3531 core.int buildCounterWorkerMessageCode = 0; |
| 3435 buildWorkerMessageCode() { | 3532 buildWorkerMessageCode() { |
| 3436 var o = new api.WorkerMessageCode(); | 3533 var o = new api.WorkerMessageCode(); |
| 3437 buildCounterWorkerMessageCode++; | 3534 buildCounterWorkerMessageCode++; |
| 3438 if (buildCounterWorkerMessageCode < 3) { | 3535 if (buildCounterWorkerMessageCode < 3) { |
| 3439 o.code = "foo"; | 3536 o.code = "foo"; |
| 3440 o.parameters = buildUnnamed3140(); | 3537 o.parameters = buildUnnamed3127(); |
| 3441 } | 3538 } |
| 3442 buildCounterWorkerMessageCode--; | 3539 buildCounterWorkerMessageCode--; |
| 3443 return o; | 3540 return o; |
| 3444 } | 3541 } |
| 3445 | 3542 |
| 3446 checkWorkerMessageCode(api.WorkerMessageCode o) { | 3543 checkWorkerMessageCode(api.WorkerMessageCode o) { |
| 3447 buildCounterWorkerMessageCode++; | 3544 buildCounterWorkerMessageCode++; |
| 3448 if (buildCounterWorkerMessageCode < 3) { | 3545 if (buildCounterWorkerMessageCode < 3) { |
| 3449 unittest.expect(o.code, unittest.equals('foo')); | 3546 unittest.expect(o.code, unittest.equals('foo')); |
| 3450 checkUnnamed3140(o.parameters); | 3547 checkUnnamed3127(o.parameters); |
| 3451 } | 3548 } |
| 3452 buildCounterWorkerMessageCode--; | 3549 buildCounterWorkerMessageCode--; |
| 3453 } | 3550 } |
| 3454 | 3551 |
| 3455 core.int buildCounterWorkerMessageResponse = 0; | 3552 core.int buildCounterWorkerMessageResponse = 0; |
| 3456 buildWorkerMessageResponse() { | 3553 buildWorkerMessageResponse() { |
| 3457 var o = new api.WorkerMessageResponse(); | 3554 var o = new api.WorkerMessageResponse(); |
| 3458 buildCounterWorkerMessageResponse++; | 3555 buildCounterWorkerMessageResponse++; |
| 3459 if (buildCounterWorkerMessageResponse < 3) { | 3556 if (buildCounterWorkerMessageResponse < 3) { |
| 3460 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); | 3557 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); |
| 3558 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); |
| 3461 } | 3559 } |
| 3462 buildCounterWorkerMessageResponse--; | 3560 buildCounterWorkerMessageResponse--; |
| 3463 return o; | 3561 return o; |
| 3464 } | 3562 } |
| 3465 | 3563 |
| 3466 checkWorkerMessageResponse(api.WorkerMessageResponse o) { | 3564 checkWorkerMessageResponse(api.WorkerMessageResponse o) { |
| 3467 buildCounterWorkerMessageResponse++; | 3565 buildCounterWorkerMessageResponse++; |
| 3468 if (buildCounterWorkerMessageResponse < 3) { | 3566 if (buildCounterWorkerMessageResponse < 3) { |
| 3469 checkWorkerHealthReportResponse(o.workerHealthReportResponse); | 3567 checkWorkerHealthReportResponse(o.workerHealthReportResponse); |
| 3568 checkResourceUtilizationReportResponse(o.workerMetricsResponse); |
| 3470 } | 3569 } |
| 3471 buildCounterWorkerMessageResponse--; | 3570 buildCounterWorkerMessageResponse--; |
| 3472 } | 3571 } |
| 3473 | 3572 |
| 3474 buildUnnamed3141() { | 3573 buildUnnamed3128() { |
| 3475 var o = new core.List<api.Disk>(); | 3574 var o = new core.List<api.Disk>(); |
| 3476 o.add(buildDisk()); | 3575 o.add(buildDisk()); |
| 3477 o.add(buildDisk()); | 3576 o.add(buildDisk()); |
| 3478 return o; | 3577 return o; |
| 3479 } | 3578 } |
| 3480 | 3579 |
| 3481 checkUnnamed3141(core.List<api.Disk> o) { | 3580 checkUnnamed3128(core.List<api.Disk> o) { |
| 3482 unittest.expect(o, unittest.hasLength(2)); | 3581 unittest.expect(o, unittest.hasLength(2)); |
| 3483 checkDisk(o[0]); | 3582 checkDisk(o[0]); |
| 3484 checkDisk(o[1]); | 3583 checkDisk(o[1]); |
| 3485 } | 3584 } |
| 3486 | 3585 |
| 3487 buildUnnamed3142() { | 3586 buildUnnamed3129() { |
| 3488 var o = new core.Map<core.String, core.String>(); | 3587 var o = new core.Map<core.String, core.String>(); |
| 3489 o["x"] = "foo"; | 3588 o["x"] = "foo"; |
| 3490 o["y"] = "foo"; | 3589 o["y"] = "foo"; |
| 3491 return o; | 3590 return o; |
| 3492 } | 3591 } |
| 3493 | 3592 |
| 3494 checkUnnamed3142(core.Map<core.String, core.String> o) { | 3593 checkUnnamed3129(core.Map<core.String, core.String> o) { |
| 3495 unittest.expect(o, unittest.hasLength(2)); | 3594 unittest.expect(o, unittest.hasLength(2)); |
| 3496 unittest.expect(o["x"], unittest.equals('foo')); | 3595 unittest.expect(o["x"], unittest.equals('foo')); |
| 3497 unittest.expect(o["y"], unittest.equals('foo')); | 3596 unittest.expect(o["y"], unittest.equals('foo')); |
| 3498 } | 3597 } |
| 3499 | 3598 |
| 3500 buildUnnamed3143() { | 3599 buildUnnamed3130() { |
| 3501 var o = new core.List<api.Package>(); | 3600 var o = new core.List<api.Package>(); |
| 3502 o.add(buildPackage()); | 3601 o.add(buildPackage()); |
| 3503 o.add(buildPackage()); | 3602 o.add(buildPackage()); |
| 3504 return o; | 3603 return o; |
| 3505 } | 3604 } |
| 3506 | 3605 |
| 3507 checkUnnamed3143(core.List<api.Package> o) { | 3606 checkUnnamed3130(core.List<api.Package> o) { |
| 3508 unittest.expect(o, unittest.hasLength(2)); | 3607 unittest.expect(o, unittest.hasLength(2)); |
| 3509 checkPackage(o[0]); | 3608 checkPackage(o[0]); |
| 3510 checkPackage(o[1]); | 3609 checkPackage(o[1]); |
| 3511 } | 3610 } |
| 3512 | 3611 |
| 3513 buildUnnamed3144() { | 3612 buildUnnamed3131() { |
| 3514 var o = new core.Map<core.String, core.Object>(); | 3613 var o = new core.Map<core.String, core.Object>(); |
| 3515 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3614 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3516 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3615 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3517 return o; | 3616 return o; |
| 3518 } | 3617 } |
| 3519 | 3618 |
| 3520 checkUnnamed3144(core.Map<core.String, core.Object> o) { | 3619 checkUnnamed3131(core.Map<core.String, core.Object> o) { |
| 3521 unittest.expect(o, unittest.hasLength(2)); | 3620 unittest.expect(o, unittest.hasLength(2)); |
| 3522 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')); | 3621 var casted49 = (o["x"]) as core.Map; unittest.expect(casted49, unittest.hasLen
gth(3)); unittest.expect(casted49["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted49["bool"], unittest.equals(true)); unittest.expect(casted49["stri
ng"], unittest.equals('foo')); |
| 3523 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')); | 3622 var casted50 = (o["y"]) as core.Map; unittest.expect(casted50, unittest.hasLen
gth(3)); unittest.expect(casted50["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted50["bool"], unittest.equals(true)); unittest.expect(casted50["stri
ng"], unittest.equals('foo')); |
| 3524 } | 3623 } |
| 3525 | 3624 |
| 3526 core.int buildCounterWorkerPool = 0; | 3625 core.int buildCounterWorkerPool = 0; |
| 3527 buildWorkerPool() { | 3626 buildWorkerPool() { |
| 3528 var o = new api.WorkerPool(); | 3627 var o = new api.WorkerPool(); |
| 3529 buildCounterWorkerPool++; | 3628 buildCounterWorkerPool++; |
| 3530 if (buildCounterWorkerPool < 3) { | 3629 if (buildCounterWorkerPool < 3) { |
| 3531 o.autoscalingSettings = buildAutoscalingSettings(); | 3630 o.autoscalingSettings = buildAutoscalingSettings(); |
| 3532 o.dataDisks = buildUnnamed3141(); | 3631 o.dataDisks = buildUnnamed3128(); |
| 3533 o.defaultPackageSet = "foo"; | 3632 o.defaultPackageSet = "foo"; |
| 3534 o.diskSizeGb = 42; | 3633 o.diskSizeGb = 42; |
| 3535 o.diskSourceImage = "foo"; | 3634 o.diskSourceImage = "foo"; |
| 3536 o.diskType = "foo"; | 3635 o.diskType = "foo"; |
| 3537 o.ipConfiguration = "foo"; | 3636 o.ipConfiguration = "foo"; |
| 3538 o.kind = "foo"; | 3637 o.kind = "foo"; |
| 3539 o.machineType = "foo"; | 3638 o.machineType = "foo"; |
| 3540 o.metadata = buildUnnamed3142(); | 3639 o.metadata = buildUnnamed3129(); |
| 3541 o.network = "foo"; | 3640 o.network = "foo"; |
| 3542 o.numThreadsPerWorker = 42; | 3641 o.numThreadsPerWorker = 42; |
| 3543 o.numWorkers = 42; | 3642 o.numWorkers = 42; |
| 3544 o.onHostMaintenance = "foo"; | 3643 o.onHostMaintenance = "foo"; |
| 3545 o.packages = buildUnnamed3143(); | 3644 o.packages = buildUnnamed3130(); |
| 3546 o.poolArgs = buildUnnamed3144(); | 3645 o.poolArgs = buildUnnamed3131(); |
| 3547 o.subnetwork = "foo"; | 3646 o.subnetwork = "foo"; |
| 3548 o.taskrunnerSettings = buildTaskRunnerSettings(); | 3647 o.taskrunnerSettings = buildTaskRunnerSettings(); |
| 3549 o.teardownPolicy = "foo"; | 3648 o.teardownPolicy = "foo"; |
| 3550 o.workerHarnessContainerImage = "foo"; | 3649 o.workerHarnessContainerImage = "foo"; |
| 3551 o.zone = "foo"; | 3650 o.zone = "foo"; |
| 3552 } | 3651 } |
| 3553 buildCounterWorkerPool--; | 3652 buildCounterWorkerPool--; |
| 3554 return o; | 3653 return o; |
| 3555 } | 3654 } |
| 3556 | 3655 |
| 3557 checkWorkerPool(api.WorkerPool o) { | 3656 checkWorkerPool(api.WorkerPool o) { |
| 3558 buildCounterWorkerPool++; | 3657 buildCounterWorkerPool++; |
| 3559 if (buildCounterWorkerPool < 3) { | 3658 if (buildCounterWorkerPool < 3) { |
| 3560 checkAutoscalingSettings(o.autoscalingSettings); | 3659 checkAutoscalingSettings(o.autoscalingSettings); |
| 3561 checkUnnamed3141(o.dataDisks); | 3660 checkUnnamed3128(o.dataDisks); |
| 3562 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); | 3661 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); |
| 3563 unittest.expect(o.diskSizeGb, unittest.equals(42)); | 3662 unittest.expect(o.diskSizeGb, unittest.equals(42)); |
| 3564 unittest.expect(o.diskSourceImage, unittest.equals('foo')); | 3663 unittest.expect(o.diskSourceImage, unittest.equals('foo')); |
| 3565 unittest.expect(o.diskType, unittest.equals('foo')); | 3664 unittest.expect(o.diskType, unittest.equals('foo')); |
| 3566 unittest.expect(o.ipConfiguration, unittest.equals('foo')); | 3665 unittest.expect(o.ipConfiguration, unittest.equals('foo')); |
| 3567 unittest.expect(o.kind, unittest.equals('foo')); | 3666 unittest.expect(o.kind, unittest.equals('foo')); |
| 3568 unittest.expect(o.machineType, unittest.equals('foo')); | 3667 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3569 checkUnnamed3142(o.metadata); | 3668 checkUnnamed3129(o.metadata); |
| 3570 unittest.expect(o.network, unittest.equals('foo')); | 3669 unittest.expect(o.network, unittest.equals('foo')); |
| 3571 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); | 3670 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); |
| 3572 unittest.expect(o.numWorkers, unittest.equals(42)); | 3671 unittest.expect(o.numWorkers, unittest.equals(42)); |
| 3573 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); | 3672 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); |
| 3574 checkUnnamed3143(o.packages); | 3673 checkUnnamed3130(o.packages); |
| 3575 checkUnnamed3144(o.poolArgs); | 3674 checkUnnamed3131(o.poolArgs); |
| 3576 unittest.expect(o.subnetwork, unittest.equals('foo')); | 3675 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 3577 checkTaskRunnerSettings(o.taskrunnerSettings); | 3676 checkTaskRunnerSettings(o.taskrunnerSettings); |
| 3578 unittest.expect(o.teardownPolicy, unittest.equals('foo')); | 3677 unittest.expect(o.teardownPolicy, unittest.equals('foo')); |
| 3579 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); | 3678 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); |
| 3580 unittest.expect(o.zone, unittest.equals('foo')); | 3679 unittest.expect(o.zone, unittest.equals('foo')); |
| 3581 } | 3680 } |
| 3582 buildCounterWorkerPool--; | 3681 buildCounterWorkerPool--; |
| 3583 } | 3682 } |
| 3584 | 3683 |
| 3585 core.int buildCounterWorkerSettings = 0; | 3684 core.int buildCounterWorkerSettings = 0; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3762 | 3861 |
| 3763 unittest.group("obj-schema-Disk", () { | 3862 unittest.group("obj-schema-Disk", () { |
| 3764 unittest.test("to-json--from-json", () { | 3863 unittest.test("to-json--from-json", () { |
| 3765 var o = buildDisk(); | 3864 var o = buildDisk(); |
| 3766 var od = new api.Disk.fromJson(o.toJson()); | 3865 var od = new api.Disk.fromJson(o.toJson()); |
| 3767 checkDisk(od); | 3866 checkDisk(od); |
| 3768 }); | 3867 }); |
| 3769 }); | 3868 }); |
| 3770 | 3869 |
| 3771 | 3870 |
| 3871 unittest.group("obj-schema-DistributionUpdate", () { |
| 3872 unittest.test("to-json--from-json", () { |
| 3873 var o = buildDistributionUpdate(); |
| 3874 var od = new api.DistributionUpdate.fromJson(o.toJson()); |
| 3875 checkDistributionUpdate(od); |
| 3876 }); |
| 3877 }); |
| 3878 |
| 3879 |
| 3772 unittest.group("obj-schema-DynamicSourceSplit", () { | 3880 unittest.group("obj-schema-DynamicSourceSplit", () { |
| 3773 unittest.test("to-json--from-json", () { | 3881 unittest.test("to-json--from-json", () { |
| 3774 var o = buildDynamicSourceSplit(); | 3882 var o = buildDynamicSourceSplit(); |
| 3775 var od = new api.DynamicSourceSplit.fromJson(o.toJson()); | 3883 var od = new api.DynamicSourceSplit.fromJson(o.toJson()); |
| 3776 checkDynamicSourceSplit(od); | 3884 checkDynamicSourceSplit(od); |
| 3777 }); | 3885 }); |
| 3778 }); | 3886 }); |
| 3779 | 3887 |
| 3780 | 3888 |
| 3781 unittest.group("obj-schema-Environment", () { | 3889 unittest.group("obj-schema-Environment", () { |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4122 | 4230 |
| 4123 unittest.group("obj-schema-ReportedParallelism", () { | 4231 unittest.group("obj-schema-ReportedParallelism", () { |
| 4124 unittest.test("to-json--from-json", () { | 4232 unittest.test("to-json--from-json", () { |
| 4125 var o = buildReportedParallelism(); | 4233 var o = buildReportedParallelism(); |
| 4126 var od = new api.ReportedParallelism.fromJson(o.toJson()); | 4234 var od = new api.ReportedParallelism.fromJson(o.toJson()); |
| 4127 checkReportedParallelism(od); | 4235 checkReportedParallelism(od); |
| 4128 }); | 4236 }); |
| 4129 }); | 4237 }); |
| 4130 | 4238 |
| 4131 | 4239 |
| 4240 unittest.group("obj-schema-ResourceUtilizationReport", () { |
| 4241 unittest.test("to-json--from-json", () { |
| 4242 var o = buildResourceUtilizationReport(); |
| 4243 var od = new api.ResourceUtilizationReport.fromJson(o.toJson()); |
| 4244 checkResourceUtilizationReport(od); |
| 4245 }); |
| 4246 }); |
| 4247 |
| 4248 |
| 4249 unittest.group("obj-schema-ResourceUtilizationReportResponse", () { |
| 4250 unittest.test("to-json--from-json", () { |
| 4251 var o = buildResourceUtilizationReportResponse(); |
| 4252 var od = new api.ResourceUtilizationReportResponse.fromJson(o.toJson()); |
| 4253 checkResourceUtilizationReportResponse(od); |
| 4254 }); |
| 4255 }); |
| 4256 |
| 4257 |
| 4132 unittest.group("obj-schema-RuntimeEnvironment", () { | 4258 unittest.group("obj-schema-RuntimeEnvironment", () { |
| 4133 unittest.test("to-json--from-json", () { | 4259 unittest.test("to-json--from-json", () { |
| 4134 var o = buildRuntimeEnvironment(); | 4260 var o = buildRuntimeEnvironment(); |
| 4135 var od = new api.RuntimeEnvironment.fromJson(o.toJson()); | 4261 var od = new api.RuntimeEnvironment.fromJson(o.toJson()); |
| 4136 checkRuntimeEnvironment(od); | 4262 checkRuntimeEnvironment(od); |
| 4137 }); | 4263 }); |
| 4138 }); | 4264 }); |
| 4139 | 4265 |
| 4140 | 4266 |
| 4141 unittest.group("obj-schema-SendDebugCaptureRequest", () { | 4267 unittest.group("obj-schema-SendDebugCaptureRequest", () { |
| (...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5875 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { | 6001 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { |
| 5876 checkJob(response); | 6002 checkJob(response); |
| 5877 }))); | 6003 }))); |
| 5878 }); | 6004 }); |
| 5879 | 6005 |
| 5880 }); | 6006 }); |
| 5881 | 6007 |
| 5882 | 6008 |
| 5883 } | 6009 } |
| 5884 | 6010 |
| OLD | NEW |