| 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 buildUnnamed3047() { | 144 core.int buildCounterCPUTime = 0; |
| 145 buildCPUTime() { |
| 146 var o = new api.CPUTime(); |
| 147 buildCounterCPUTime++; |
| 148 if (buildCounterCPUTime < 3) { |
| 149 o.rate = 42.0; |
| 150 o.timestamp = "foo"; |
| 151 o.totalMs = "foo"; |
| 152 } |
| 153 buildCounterCPUTime--; |
| 154 return o; |
| 155 } |
| 156 |
| 157 checkCPUTime(api.CPUTime o) { |
| 158 buildCounterCPUTime++; |
| 159 if (buildCounterCPUTime < 3) { |
| 160 unittest.expect(o.rate, unittest.equals(42.0)); |
| 161 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 162 unittest.expect(o.totalMs, unittest.equals('foo')); |
| 163 } |
| 164 buildCounterCPUTime--; |
| 165 } |
| 166 |
| 167 buildUnnamed3138() { |
| 145 var o = new core.List<api.StreamLocation>(); | 168 var o = new core.List<api.StreamLocation>(); |
| 146 o.add(buildStreamLocation()); | 169 o.add(buildStreamLocation()); |
| 147 o.add(buildStreamLocation()); | 170 o.add(buildStreamLocation()); |
| 148 return o; | 171 return o; |
| 149 } | 172 } |
| 150 | 173 |
| 151 checkUnnamed3047(core.List<api.StreamLocation> o) { | 174 checkUnnamed3138(core.List<api.StreamLocation> o) { |
| 152 unittest.expect(o, unittest.hasLength(2)); | 175 unittest.expect(o, unittest.hasLength(2)); |
| 153 checkStreamLocation(o[0]); | 176 checkStreamLocation(o[0]); |
| 154 checkStreamLocation(o[1]); | 177 checkStreamLocation(o[1]); |
| 155 } | 178 } |
| 156 | 179 |
| 157 buildUnnamed3048() { | 180 buildUnnamed3139() { |
| 158 var o = new core.List<api.KeyRangeLocation>(); | 181 var o = new core.List<api.KeyRangeLocation>(); |
| 159 o.add(buildKeyRangeLocation()); | 182 o.add(buildKeyRangeLocation()); |
| 160 o.add(buildKeyRangeLocation()); | 183 o.add(buildKeyRangeLocation()); |
| 161 return o; | 184 return o; |
| 162 } | 185 } |
| 163 | 186 |
| 164 checkUnnamed3048(core.List<api.KeyRangeLocation> o) { | 187 checkUnnamed3139(core.List<api.KeyRangeLocation> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 188 unittest.expect(o, unittest.hasLength(2)); |
| 166 checkKeyRangeLocation(o[0]); | 189 checkKeyRangeLocation(o[0]); |
| 167 checkKeyRangeLocation(o[1]); | 190 checkKeyRangeLocation(o[1]); |
| 168 } | 191 } |
| 169 | 192 |
| 170 buildUnnamed3049() { | 193 buildUnnamed3140() { |
| 171 var o = new core.List<api.StreamLocation>(); | 194 var o = new core.List<api.StreamLocation>(); |
| 172 o.add(buildStreamLocation()); | 195 o.add(buildStreamLocation()); |
| 173 o.add(buildStreamLocation()); | 196 o.add(buildStreamLocation()); |
| 174 return o; | 197 return o; |
| 175 } | 198 } |
| 176 | 199 |
| 177 checkUnnamed3049(core.List<api.StreamLocation> o) { | 200 checkUnnamed3140(core.List<api.StreamLocation> o) { |
| 178 unittest.expect(o, unittest.hasLength(2)); | 201 unittest.expect(o, unittest.hasLength(2)); |
| 179 checkStreamLocation(o[0]); | 202 checkStreamLocation(o[0]); |
| 180 checkStreamLocation(o[1]); | 203 checkStreamLocation(o[1]); |
| 181 } | 204 } |
| 182 | 205 |
| 183 buildUnnamed3050() { | 206 buildUnnamed3141() { |
| 184 var o = new core.List<api.StateFamilyConfig>(); | 207 var o = new core.List<api.StateFamilyConfig>(); |
| 185 o.add(buildStateFamilyConfig()); | 208 o.add(buildStateFamilyConfig()); |
| 186 o.add(buildStateFamilyConfig()); | 209 o.add(buildStateFamilyConfig()); |
| 187 return o; | 210 return o; |
| 188 } | 211 } |
| 189 | 212 |
| 190 checkUnnamed3050(core.List<api.StateFamilyConfig> o) { | 213 checkUnnamed3141(core.List<api.StateFamilyConfig> o) { |
| 191 unittest.expect(o, unittest.hasLength(2)); | 214 unittest.expect(o, unittest.hasLength(2)); |
| 192 checkStateFamilyConfig(o[0]); | 215 checkStateFamilyConfig(o[0]); |
| 193 checkStateFamilyConfig(o[1]); | 216 checkStateFamilyConfig(o[1]); |
| 194 } | 217 } |
| 195 | 218 |
| 196 core.int buildCounterComputationTopology = 0; | 219 core.int buildCounterComputationTopology = 0; |
| 197 buildComputationTopology() { | 220 buildComputationTopology() { |
| 198 var o = new api.ComputationTopology(); | 221 var o = new api.ComputationTopology(); |
| 199 buildCounterComputationTopology++; | 222 buildCounterComputationTopology++; |
| 200 if (buildCounterComputationTopology < 3) { | 223 if (buildCounterComputationTopology < 3) { |
| 201 o.computationId = "foo"; | 224 o.computationId = "foo"; |
| 202 o.inputs = buildUnnamed3047(); | 225 o.inputs = buildUnnamed3138(); |
| 203 o.keyRanges = buildUnnamed3048(); | 226 o.keyRanges = buildUnnamed3139(); |
| 204 o.outputs = buildUnnamed3049(); | 227 o.outputs = buildUnnamed3140(); |
| 205 o.stateFamilies = buildUnnamed3050(); | 228 o.stateFamilies = buildUnnamed3141(); |
| 206 o.systemStageName = "foo"; | 229 o.systemStageName = "foo"; |
| 207 o.userStageName = "foo"; | 230 o.userStageName = "foo"; |
| 208 } | 231 } |
| 209 buildCounterComputationTopology--; | 232 buildCounterComputationTopology--; |
| 210 return o; | 233 return o; |
| 211 } | 234 } |
| 212 | 235 |
| 213 checkComputationTopology(api.ComputationTopology o) { | 236 checkComputationTopology(api.ComputationTopology o) { |
| 214 buildCounterComputationTopology++; | 237 buildCounterComputationTopology++; |
| 215 if (buildCounterComputationTopology < 3) { | 238 if (buildCounterComputationTopology < 3) { |
| 216 unittest.expect(o.computationId, unittest.equals('foo')); | 239 unittest.expect(o.computationId, unittest.equals('foo')); |
| 217 checkUnnamed3047(o.inputs); | 240 checkUnnamed3138(o.inputs); |
| 218 checkUnnamed3048(o.keyRanges); | 241 checkUnnamed3139(o.keyRanges); |
| 219 checkUnnamed3049(o.outputs); | 242 checkUnnamed3140(o.outputs); |
| 220 checkUnnamed3050(o.stateFamilies); | 243 checkUnnamed3141(o.stateFamilies); |
| 221 unittest.expect(o.systemStageName, unittest.equals('foo')); | 244 unittest.expect(o.systemStageName, unittest.equals('foo')); |
| 222 unittest.expect(o.userStageName, unittest.equals('foo')); | 245 unittest.expect(o.userStageName, unittest.equals('foo')); |
| 223 } | 246 } |
| 224 buildCounterComputationTopology--; | 247 buildCounterComputationTopology--; |
| 225 } | 248 } |
| 226 | 249 |
| 227 core.int buildCounterConcatPosition = 0; | 250 core.int buildCounterConcatPosition = 0; |
| 228 buildConcatPosition() { | 251 buildConcatPosition() { |
| 229 var o = new api.ConcatPosition(); | 252 var o = new api.ConcatPosition(); |
| 230 buildCounterConcatPosition++; | 253 buildCounterConcatPosition++; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 } | 294 } |
| 272 | 295 |
| 273 core.int buildCounterCounterStructuredName = 0; | 296 core.int buildCounterCounterStructuredName = 0; |
| 274 buildCounterStructuredName() { | 297 buildCounterStructuredName() { |
| 275 var o = new api.CounterStructuredName(); | 298 var o = new api.CounterStructuredName(); |
| 276 buildCounterCounterStructuredName++; | 299 buildCounterCounterStructuredName++; |
| 277 if (buildCounterCounterStructuredName < 3) { | 300 if (buildCounterCounterStructuredName < 3) { |
| 278 o.componentStepName = "foo"; | 301 o.componentStepName = "foo"; |
| 279 o.executionStepName = "foo"; | 302 o.executionStepName = "foo"; |
| 280 o.name = "foo"; | 303 o.name = "foo"; |
| 304 o.origin = "foo"; |
| 305 o.originNamespace = "foo"; |
| 281 o.originalStepName = "foo"; | 306 o.originalStepName = "foo"; |
| 282 o.otherOrigin = "foo"; | |
| 283 o.portion = "foo"; | 307 o.portion = "foo"; |
| 284 o.standardOrigin = "foo"; | |
| 285 o.workerId = "foo"; | 308 o.workerId = "foo"; |
| 286 } | 309 } |
| 287 buildCounterCounterStructuredName--; | 310 buildCounterCounterStructuredName--; |
| 288 return o; | 311 return o; |
| 289 } | 312 } |
| 290 | 313 |
| 291 checkCounterStructuredName(api.CounterStructuredName o) { | 314 checkCounterStructuredName(api.CounterStructuredName o) { |
| 292 buildCounterCounterStructuredName++; | 315 buildCounterCounterStructuredName++; |
| 293 if (buildCounterCounterStructuredName < 3) { | 316 if (buildCounterCounterStructuredName < 3) { |
| 294 unittest.expect(o.componentStepName, unittest.equals('foo')); | 317 unittest.expect(o.componentStepName, unittest.equals('foo')); |
| 295 unittest.expect(o.executionStepName, unittest.equals('foo')); | 318 unittest.expect(o.executionStepName, unittest.equals('foo')); |
| 296 unittest.expect(o.name, unittest.equals('foo')); | 319 unittest.expect(o.name, unittest.equals('foo')); |
| 320 unittest.expect(o.origin, unittest.equals('foo')); |
| 321 unittest.expect(o.originNamespace, unittest.equals('foo')); |
| 297 unittest.expect(o.originalStepName, unittest.equals('foo')); | 322 unittest.expect(o.originalStepName, unittest.equals('foo')); |
| 298 unittest.expect(o.otherOrigin, unittest.equals('foo')); | |
| 299 unittest.expect(o.portion, unittest.equals('foo')); | 323 unittest.expect(o.portion, unittest.equals('foo')); |
| 300 unittest.expect(o.standardOrigin, unittest.equals('foo')); | |
| 301 unittest.expect(o.workerId, unittest.equals('foo')); | 324 unittest.expect(o.workerId, unittest.equals('foo')); |
| 302 } | 325 } |
| 303 buildCounterCounterStructuredName--; | 326 buildCounterCounterStructuredName--; |
| 304 } | 327 } |
| 305 | 328 |
| 306 core.int buildCounterCounterStructuredNameAndMetadata = 0; | 329 core.int buildCounterCounterStructuredNameAndMetadata = 0; |
| 307 buildCounterStructuredNameAndMetadata() { | 330 buildCounterStructuredNameAndMetadata() { |
| 308 var o = new api.CounterStructuredNameAndMetadata(); | 331 var o = new api.CounterStructuredNameAndMetadata(); |
| 309 buildCounterCounterStructuredNameAndMetadata++; | 332 buildCounterCounterStructuredNameAndMetadata++; |
| 310 if (buildCounterCounterStructuredNameAndMetadata < 3) { | 333 if (buildCounterCounterStructuredNameAndMetadata < 3) { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 checkIntegerMean(o.integerMean); | 385 checkIntegerMean(o.integerMean); |
| 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')); | 386 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')); |
| 364 checkNameAndKind(o.nameAndKind); | 387 checkNameAndKind(o.nameAndKind); |
| 365 unittest.expect(o.shortId, unittest.equals('foo')); | 388 unittest.expect(o.shortId, unittest.equals('foo')); |
| 366 checkStringList(o.stringList); | 389 checkStringList(o.stringList); |
| 367 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); | 390 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); |
| 368 } | 391 } |
| 369 buildCounterCounterUpdate--; | 392 buildCounterCounterUpdate--; |
| 370 } | 393 } |
| 371 | 394 |
| 372 buildUnnamed3051() { | 395 buildUnnamed3142() { |
| 373 var o = new core.Map<core.String, core.String>(); | 396 var o = new core.Map<core.String, core.String>(); |
| 374 o["x"] = "foo"; | 397 o["x"] = "foo"; |
| 375 o["y"] = "foo"; | 398 o["y"] = "foo"; |
| 376 return o; | 399 return o; |
| 377 } | 400 } |
| 378 | 401 |
| 379 checkUnnamed3051(core.Map<core.String, core.String> o) { | 402 checkUnnamed3142(core.Map<core.String, core.String> o) { |
| 380 unittest.expect(o, unittest.hasLength(2)); | 403 unittest.expect(o, unittest.hasLength(2)); |
| 381 unittest.expect(o["x"], unittest.equals('foo')); | 404 unittest.expect(o["x"], unittest.equals('foo')); |
| 382 unittest.expect(o["y"], unittest.equals('foo')); | 405 unittest.expect(o["y"], unittest.equals('foo')); |
| 383 } | 406 } |
| 384 | 407 |
| 385 core.int buildCounterCreateJobFromTemplateRequest = 0; | 408 core.int buildCounterCreateJobFromTemplateRequest = 0; |
| 386 buildCreateJobFromTemplateRequest() { | 409 buildCreateJobFromTemplateRequest() { |
| 387 var o = new api.CreateJobFromTemplateRequest(); | 410 var o = new api.CreateJobFromTemplateRequest(); |
| 388 buildCounterCreateJobFromTemplateRequest++; | 411 buildCounterCreateJobFromTemplateRequest++; |
| 389 if (buildCounterCreateJobFromTemplateRequest < 3) { | 412 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 390 o.environment = buildRuntimeEnvironment(); | 413 o.environment = buildRuntimeEnvironment(); |
| 391 o.gcsPath = "foo"; | 414 o.gcsPath = "foo"; |
| 392 o.jobName = "foo"; | 415 o.jobName = "foo"; |
| 393 o.parameters = buildUnnamed3051(); | 416 o.parameters = buildUnnamed3142(); |
| 394 } | 417 } |
| 395 buildCounterCreateJobFromTemplateRequest--; | 418 buildCounterCreateJobFromTemplateRequest--; |
| 396 return o; | 419 return o; |
| 397 } | 420 } |
| 398 | 421 |
| 399 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { | 422 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { |
| 400 buildCounterCreateJobFromTemplateRequest++; | 423 buildCounterCreateJobFromTemplateRequest++; |
| 401 if (buildCounterCreateJobFromTemplateRequest < 3) { | 424 if (buildCounterCreateJobFromTemplateRequest < 3) { |
| 402 checkRuntimeEnvironment(o.environment); | 425 checkRuntimeEnvironment(o.environment); |
| 403 unittest.expect(o.gcsPath, unittest.equals('foo')); | 426 unittest.expect(o.gcsPath, unittest.equals('foo')); |
| 404 unittest.expect(o.jobName, unittest.equals('foo')); | 427 unittest.expect(o.jobName, unittest.equals('foo')); |
| 405 checkUnnamed3051(o.parameters); | 428 checkUnnamed3142(o.parameters); |
| 406 } | 429 } |
| 407 buildCounterCreateJobFromTemplateRequest--; | 430 buildCounterCreateJobFromTemplateRequest--; |
| 408 } | 431 } |
| 409 | 432 |
| 410 core.int buildCounterCustomSourceLocation = 0; | 433 core.int buildCounterCustomSourceLocation = 0; |
| 411 buildCustomSourceLocation() { | 434 buildCustomSourceLocation() { |
| 412 var o = new api.CustomSourceLocation(); | 435 var o = new api.CustomSourceLocation(); |
| 413 buildCounterCustomSourceLocation++; | 436 buildCounterCustomSourceLocation++; |
| 414 if (buildCounterCustomSourceLocation < 3) { | 437 if (buildCounterCustomSourceLocation < 3) { |
| 415 o.stateful = true; | 438 o.stateful = true; |
| 416 } | 439 } |
| 417 buildCounterCustomSourceLocation--; | 440 buildCounterCustomSourceLocation--; |
| 418 return o; | 441 return o; |
| 419 } | 442 } |
| 420 | 443 |
| 421 checkCustomSourceLocation(api.CustomSourceLocation o) { | 444 checkCustomSourceLocation(api.CustomSourceLocation o) { |
| 422 buildCounterCustomSourceLocation++; | 445 buildCounterCustomSourceLocation++; |
| 423 if (buildCounterCustomSourceLocation < 3) { | 446 if (buildCounterCustomSourceLocation < 3) { |
| 424 unittest.expect(o.stateful, unittest.isTrue); | 447 unittest.expect(o.stateful, unittest.isTrue); |
| 425 } | 448 } |
| 426 buildCounterCustomSourceLocation--; | 449 buildCounterCustomSourceLocation--; |
| 427 } | 450 } |
| 428 | 451 |
| 429 buildUnnamed3052() { | 452 buildUnnamed3143() { |
| 430 var o = new core.List<core.String>(); | 453 var o = new core.List<core.String>(); |
| 431 o.add("foo"); | 454 o.add("foo"); |
| 432 o.add("foo"); | 455 o.add("foo"); |
| 433 return o; | 456 return o; |
| 434 } | 457 } |
| 435 | 458 |
| 436 checkUnnamed3052(core.List<core.String> o) { | 459 checkUnnamed3143(core.List<core.String> o) { |
| 437 unittest.expect(o, unittest.hasLength(2)); | 460 unittest.expect(o, unittest.hasLength(2)); |
| 438 unittest.expect(o[0], unittest.equals('foo')); | 461 unittest.expect(o[0], unittest.equals('foo')); |
| 439 unittest.expect(o[1], unittest.equals('foo')); | 462 unittest.expect(o[1], unittest.equals('foo')); |
| 440 } | 463 } |
| 441 | 464 |
| 442 core.int buildCounterDataDiskAssignment = 0; | 465 core.int buildCounterDataDiskAssignment = 0; |
| 443 buildDataDiskAssignment() { | 466 buildDataDiskAssignment() { |
| 444 var o = new api.DataDiskAssignment(); | 467 var o = new api.DataDiskAssignment(); |
| 445 buildCounterDataDiskAssignment++; | 468 buildCounterDataDiskAssignment++; |
| 446 if (buildCounterDataDiskAssignment < 3) { | 469 if (buildCounterDataDiskAssignment < 3) { |
| 447 o.dataDisks = buildUnnamed3052(); | 470 o.dataDisks = buildUnnamed3143(); |
| 448 o.vmInstance = "foo"; | 471 o.vmInstance = "foo"; |
| 449 } | 472 } |
| 450 buildCounterDataDiskAssignment--; | 473 buildCounterDataDiskAssignment--; |
| 451 return o; | 474 return o; |
| 452 } | 475 } |
| 453 | 476 |
| 454 checkDataDiskAssignment(api.DataDiskAssignment o) { | 477 checkDataDiskAssignment(api.DataDiskAssignment o) { |
| 455 buildCounterDataDiskAssignment++; | 478 buildCounterDataDiskAssignment++; |
| 456 if (buildCounterDataDiskAssignment < 3) { | 479 if (buildCounterDataDiskAssignment < 3) { |
| 457 checkUnnamed3052(o.dataDisks); | 480 checkUnnamed3143(o.dataDisks); |
| 458 unittest.expect(o.vmInstance, unittest.equals('foo')); | 481 unittest.expect(o.vmInstance, unittest.equals('foo')); |
| 459 } | 482 } |
| 460 buildCounterDataDiskAssignment--; | 483 buildCounterDataDiskAssignment--; |
| 461 } | 484 } |
| 462 | 485 |
| 463 core.int buildCounterDerivedSource = 0; | 486 core.int buildCounterDerivedSource = 0; |
| 464 buildDerivedSource() { | 487 buildDerivedSource() { |
| 465 var o = new api.DerivedSource(); | 488 var o = new api.DerivedSource(); |
| 466 buildCounterDerivedSource++; | 489 buildCounterDerivedSource++; |
| 467 if (buildCounterDerivedSource < 3) { | 490 if (buildCounterDerivedSource < 3) { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 568 |
| 546 checkDynamicSourceSplit(api.DynamicSourceSplit o) { | 569 checkDynamicSourceSplit(api.DynamicSourceSplit o) { |
| 547 buildCounterDynamicSourceSplit++; | 570 buildCounterDynamicSourceSplit++; |
| 548 if (buildCounterDynamicSourceSplit < 3) { | 571 if (buildCounterDynamicSourceSplit < 3) { |
| 549 checkDerivedSource(o.primary); | 572 checkDerivedSource(o.primary); |
| 550 checkDerivedSource(o.residual); | 573 checkDerivedSource(o.residual); |
| 551 } | 574 } |
| 552 buildCounterDynamicSourceSplit--; | 575 buildCounterDynamicSourceSplit--; |
| 553 } | 576 } |
| 554 | 577 |
| 555 buildUnnamed3053() { | 578 buildUnnamed3144() { |
| 556 var o = new core.List<core.String>(); | 579 var o = new core.List<core.String>(); |
| 557 o.add("foo"); | 580 o.add("foo"); |
| 558 o.add("foo"); | 581 o.add("foo"); |
| 559 return o; | 582 return o; |
| 560 } | 583 } |
| 561 | 584 |
| 562 checkUnnamed3053(core.List<core.String> o) { | 585 checkUnnamed3144(core.List<core.String> o) { |
| 563 unittest.expect(o, unittest.hasLength(2)); | 586 unittest.expect(o, unittest.hasLength(2)); |
| 564 unittest.expect(o[0], unittest.equals('foo')); | 587 unittest.expect(o[0], unittest.equals('foo')); |
| 565 unittest.expect(o[1], unittest.equals('foo')); | 588 unittest.expect(o[1], unittest.equals('foo')); |
| 566 } | 589 } |
| 567 | 590 |
| 568 buildUnnamed3054() { | 591 buildUnnamed3145() { |
| 569 var o = new core.Map<core.String, core.Object>(); | 592 var o = new core.Map<core.String, core.Object>(); |
| 570 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 593 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 571 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 594 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 572 return o; | 595 return o; |
| 573 } | 596 } |
| 574 | 597 |
| 575 checkUnnamed3054(core.Map<core.String, core.Object> o) { | 598 checkUnnamed3145(core.Map<core.String, core.Object> o) { |
| 576 unittest.expect(o, unittest.hasLength(2)); | 599 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 600 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')); |
| 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')); | 601 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')); |
| 579 } | 602 } |
| 580 | 603 |
| 581 buildUnnamed3055() { | 604 buildUnnamed3146() { |
| 582 var o = new core.Map<core.String, core.Object>(); | 605 var o = new core.Map<core.String, core.Object>(); |
| 583 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 606 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 584 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 607 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 585 return o; | 608 return o; |
| 586 } | 609 } |
| 587 | 610 |
| 588 checkUnnamed3055(core.Map<core.String, core.Object> o) { | 611 checkUnnamed3146(core.Map<core.String, core.Object> o) { |
| 589 unittest.expect(o, unittest.hasLength(2)); | 612 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 613 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')); |
| 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')); | 614 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')); |
| 592 } | 615 } |
| 593 | 616 |
| 594 buildUnnamed3056() { | 617 buildUnnamed3147() { |
| 595 var o = new core.Map<core.String, core.Object>(); | 618 var o = new core.Map<core.String, core.Object>(); |
| 596 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 619 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 597 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 620 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 598 return o; | 621 return o; |
| 599 } | 622 } |
| 600 | 623 |
| 601 checkUnnamed3056(core.Map<core.String, core.Object> o) { | 624 checkUnnamed3147(core.Map<core.String, core.Object> o) { |
| 602 unittest.expect(o, unittest.hasLength(2)); | 625 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 626 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')); |
| 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')); | 627 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')); |
| 605 } | 628 } |
| 606 | 629 |
| 607 buildUnnamed3057() { | 630 buildUnnamed3148() { |
| 608 var o = new core.Map<core.String, core.Object>(); | 631 var o = new core.Map<core.String, core.Object>(); |
| 609 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 632 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 610 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 633 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 611 return o; | 634 return o; |
| 612 } | 635 } |
| 613 | 636 |
| 614 checkUnnamed3057(core.Map<core.String, core.Object> o) { | 637 checkUnnamed3148(core.Map<core.String, core.Object> o) { |
| 615 unittest.expect(o, unittest.hasLength(2)); | 638 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 639 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')); |
| 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')); | 640 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')); |
| 618 } | 641 } |
| 619 | 642 |
| 620 buildUnnamed3058() { | 643 buildUnnamed3149() { |
| 621 var o = new core.List<api.WorkerPool>(); | 644 var o = new core.List<api.WorkerPool>(); |
| 622 o.add(buildWorkerPool()); | 645 o.add(buildWorkerPool()); |
| 623 o.add(buildWorkerPool()); | 646 o.add(buildWorkerPool()); |
| 624 return o; | 647 return o; |
| 625 } | 648 } |
| 626 | 649 |
| 627 checkUnnamed3058(core.List<api.WorkerPool> o) { | 650 checkUnnamed3149(core.List<api.WorkerPool> o) { |
| 628 unittest.expect(o, unittest.hasLength(2)); | 651 unittest.expect(o, unittest.hasLength(2)); |
| 629 checkWorkerPool(o[0]); | 652 checkWorkerPool(o[0]); |
| 630 checkWorkerPool(o[1]); | 653 checkWorkerPool(o[1]); |
| 631 } | 654 } |
| 632 | 655 |
| 633 core.int buildCounterEnvironment = 0; | 656 core.int buildCounterEnvironment = 0; |
| 634 buildEnvironment() { | 657 buildEnvironment() { |
| 635 var o = new api.Environment(); | 658 var o = new api.Environment(); |
| 636 buildCounterEnvironment++; | 659 buildCounterEnvironment++; |
| 637 if (buildCounterEnvironment < 3) { | 660 if (buildCounterEnvironment < 3) { |
| 638 o.clusterManagerApiService = "foo"; | 661 o.clusterManagerApiService = "foo"; |
| 639 o.dataset = "foo"; | 662 o.dataset = "foo"; |
| 640 o.experiments = buildUnnamed3053(); | 663 o.experiments = buildUnnamed3144(); |
| 641 o.internalExperiments = buildUnnamed3054(); | 664 o.internalExperiments = buildUnnamed3145(); |
| 642 o.sdkPipelineOptions = buildUnnamed3055(); | 665 o.sdkPipelineOptions = buildUnnamed3146(); |
| 643 o.serviceAccountEmail = "foo"; | 666 o.serviceAccountEmail = "foo"; |
| 644 o.tempStoragePrefix = "foo"; | 667 o.tempStoragePrefix = "foo"; |
| 645 o.userAgent = buildUnnamed3056(); | 668 o.userAgent = buildUnnamed3147(); |
| 646 o.version = buildUnnamed3057(); | 669 o.version = buildUnnamed3148(); |
| 647 o.workerPools = buildUnnamed3058(); | 670 o.workerPools = buildUnnamed3149(); |
| 648 } | 671 } |
| 649 buildCounterEnvironment--; | 672 buildCounterEnvironment--; |
| 650 return o; | 673 return o; |
| 651 } | 674 } |
| 652 | 675 |
| 653 checkEnvironment(api.Environment o) { | 676 checkEnvironment(api.Environment o) { |
| 654 buildCounterEnvironment++; | 677 buildCounterEnvironment++; |
| 655 if (buildCounterEnvironment < 3) { | 678 if (buildCounterEnvironment < 3) { |
| 656 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); | 679 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); |
| 657 unittest.expect(o.dataset, unittest.equals('foo')); | 680 unittest.expect(o.dataset, unittest.equals('foo')); |
| 658 checkUnnamed3053(o.experiments); | 681 checkUnnamed3144(o.experiments); |
| 659 checkUnnamed3054(o.internalExperiments); | 682 checkUnnamed3145(o.internalExperiments); |
| 660 checkUnnamed3055(o.sdkPipelineOptions); | 683 checkUnnamed3146(o.sdkPipelineOptions); |
| 661 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); | 684 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); |
| 662 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 685 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 663 checkUnnamed3056(o.userAgent); | 686 checkUnnamed3147(o.userAgent); |
| 664 checkUnnamed3057(o.version); | 687 checkUnnamed3148(o.version); |
| 665 checkUnnamed3058(o.workerPools); | 688 checkUnnamed3149(o.workerPools); |
| 666 } | 689 } |
| 667 buildCounterEnvironment--; | 690 buildCounterEnvironment--; |
| 668 } | 691 } |
| 669 | 692 |
| 670 core.int buildCounterFailedLocation = 0; | 693 core.int buildCounterFailedLocation = 0; |
| 671 buildFailedLocation() { | 694 buildFailedLocation() { |
| 672 var o = new api.FailedLocation(); | 695 var o = new api.FailedLocation(); |
| 673 buildCounterFailedLocation++; | 696 buildCounterFailedLocation++; |
| 674 if (buildCounterFailedLocation < 3) { | 697 if (buildCounterFailedLocation < 3) { |
| 675 o.name = "foo"; | 698 o.name = "foo"; |
| 676 } | 699 } |
| 677 buildCounterFailedLocation--; | 700 buildCounterFailedLocation--; |
| 678 return o; | 701 return o; |
| 679 } | 702 } |
| 680 | 703 |
| 681 checkFailedLocation(api.FailedLocation o) { | 704 checkFailedLocation(api.FailedLocation o) { |
| 682 buildCounterFailedLocation++; | 705 buildCounterFailedLocation++; |
| 683 if (buildCounterFailedLocation < 3) { | 706 if (buildCounterFailedLocation < 3) { |
| 684 unittest.expect(o.name, unittest.equals('foo')); | 707 unittest.expect(o.name, unittest.equals('foo')); |
| 685 } | 708 } |
| 686 buildCounterFailedLocation--; | 709 buildCounterFailedLocation--; |
| 687 } | 710 } |
| 688 | 711 |
| 689 buildUnnamed3059() { | 712 buildUnnamed3150() { |
| 690 var o = new core.List<api.InstructionInput>(); | 713 var o = new core.List<api.InstructionInput>(); |
| 691 o.add(buildInstructionInput()); | 714 o.add(buildInstructionInput()); |
| 692 o.add(buildInstructionInput()); | 715 o.add(buildInstructionInput()); |
| 693 return o; | 716 return o; |
| 694 } | 717 } |
| 695 | 718 |
| 696 checkUnnamed3059(core.List<api.InstructionInput> o) { | 719 checkUnnamed3150(core.List<api.InstructionInput> o) { |
| 697 unittest.expect(o, unittest.hasLength(2)); | 720 unittest.expect(o, unittest.hasLength(2)); |
| 698 checkInstructionInput(o[0]); | 721 checkInstructionInput(o[0]); |
| 699 checkInstructionInput(o[1]); | 722 checkInstructionInput(o[1]); |
| 700 } | 723 } |
| 701 | 724 |
| 702 core.int buildCounterFlattenInstruction = 0; | 725 core.int buildCounterFlattenInstruction = 0; |
| 703 buildFlattenInstruction() { | 726 buildFlattenInstruction() { |
| 704 var o = new api.FlattenInstruction(); | 727 var o = new api.FlattenInstruction(); |
| 705 buildCounterFlattenInstruction++; | 728 buildCounterFlattenInstruction++; |
| 706 if (buildCounterFlattenInstruction < 3) { | 729 if (buildCounterFlattenInstruction < 3) { |
| 707 o.inputs = buildUnnamed3059(); | 730 o.inputs = buildUnnamed3150(); |
| 708 } | 731 } |
| 709 buildCounterFlattenInstruction--; | 732 buildCounterFlattenInstruction--; |
| 710 return o; | 733 return o; |
| 711 } | 734 } |
| 712 | 735 |
| 713 checkFlattenInstruction(api.FlattenInstruction o) { | 736 checkFlattenInstruction(api.FlattenInstruction o) { |
| 714 buildCounterFlattenInstruction++; | 737 buildCounterFlattenInstruction++; |
| 715 if (buildCounterFlattenInstruction < 3) { | 738 if (buildCounterFlattenInstruction < 3) { |
| 716 checkUnnamed3059(o.inputs); | 739 checkUnnamed3150(o.inputs); |
| 717 } | 740 } |
| 718 buildCounterFlattenInstruction--; | 741 buildCounterFlattenInstruction--; |
| 719 } | 742 } |
| 720 | 743 |
| 721 buildUnnamed3060() { | 744 buildUnnamed3151() { |
| 722 var o = new core.List<core.double>(); | 745 var o = new core.List<core.double>(); |
| 723 o.add(42.0); | 746 o.add(42.0); |
| 724 o.add(42.0); | 747 o.add(42.0); |
| 725 return o; | 748 return o; |
| 726 } | 749 } |
| 727 | 750 |
| 728 checkUnnamed3060(core.List<core.double> o) { | 751 checkUnnamed3151(core.List<core.double> o) { |
| 729 unittest.expect(o, unittest.hasLength(2)); | 752 unittest.expect(o, unittest.hasLength(2)); |
| 730 unittest.expect(o[0], unittest.equals(42.0)); | 753 unittest.expect(o[0], unittest.equals(42.0)); |
| 731 unittest.expect(o[1], unittest.equals(42.0)); | 754 unittest.expect(o[1], unittest.equals(42.0)); |
| 732 } | 755 } |
| 733 | 756 |
| 734 core.int buildCounterFloatingPointList = 0; | 757 core.int buildCounterFloatingPointList = 0; |
| 735 buildFloatingPointList() { | 758 buildFloatingPointList() { |
| 736 var o = new api.FloatingPointList(); | 759 var o = new api.FloatingPointList(); |
| 737 buildCounterFloatingPointList++; | 760 buildCounterFloatingPointList++; |
| 738 if (buildCounterFloatingPointList < 3) { | 761 if (buildCounterFloatingPointList < 3) { |
| 739 o.elements = buildUnnamed3060(); | 762 o.elements = buildUnnamed3151(); |
| 740 } | 763 } |
| 741 buildCounterFloatingPointList--; | 764 buildCounterFloatingPointList--; |
| 742 return o; | 765 return o; |
| 743 } | 766 } |
| 744 | 767 |
| 745 checkFloatingPointList(api.FloatingPointList o) { | 768 checkFloatingPointList(api.FloatingPointList o) { |
| 746 buildCounterFloatingPointList++; | 769 buildCounterFloatingPointList++; |
| 747 if (buildCounterFloatingPointList < 3) { | 770 if (buildCounterFloatingPointList < 3) { |
| 748 checkUnnamed3060(o.elements); | 771 checkUnnamed3151(o.elements); |
| 749 } | 772 } |
| 750 buildCounterFloatingPointList--; | 773 buildCounterFloatingPointList--; |
| 751 } | 774 } |
| 752 | 775 |
| 753 core.int buildCounterFloatingPointMean = 0; | 776 core.int buildCounterFloatingPointMean = 0; |
| 754 buildFloatingPointMean() { | 777 buildFloatingPointMean() { |
| 755 var o = new api.FloatingPointMean(); | 778 var o = new api.FloatingPointMean(); |
| 756 buildCounterFloatingPointMean++; | 779 buildCounterFloatingPointMean++; |
| 757 if (buildCounterFloatingPointMean < 3) { | 780 if (buildCounterFloatingPointMean < 3) { |
| 758 o.count = buildSplitInt64(); | 781 o.count = buildSplitInt64(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 | 848 |
| 826 checkInstructionInput(api.InstructionInput o) { | 849 checkInstructionInput(api.InstructionInput o) { |
| 827 buildCounterInstructionInput++; | 850 buildCounterInstructionInput++; |
| 828 if (buildCounterInstructionInput < 3) { | 851 if (buildCounterInstructionInput < 3) { |
| 829 unittest.expect(o.outputNum, unittest.equals(42)); | 852 unittest.expect(o.outputNum, unittest.equals(42)); |
| 830 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); | 853 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); |
| 831 } | 854 } |
| 832 buildCounterInstructionInput--; | 855 buildCounterInstructionInput--; |
| 833 } | 856 } |
| 834 | 857 |
| 835 buildUnnamed3061() { | 858 buildUnnamed3152() { |
| 836 var o = new core.Map<core.String, core.Object>(); | 859 var o = new core.Map<core.String, core.Object>(); |
| 837 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 860 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 838 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 861 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 839 return o; | 862 return o; |
| 840 } | 863 } |
| 841 | 864 |
| 842 checkUnnamed3061(core.Map<core.String, core.Object> o) { | 865 checkUnnamed3152(core.Map<core.String, core.Object> o) { |
| 843 unittest.expect(o, unittest.hasLength(2)); | 866 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 867 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')); |
| 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')); | 868 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')); |
| 846 } | 869 } |
| 847 | 870 |
| 848 core.int buildCounterInstructionOutput = 0; | 871 core.int buildCounterInstructionOutput = 0; |
| 849 buildInstructionOutput() { | 872 buildInstructionOutput() { |
| 850 var o = new api.InstructionOutput(); | 873 var o = new api.InstructionOutput(); |
| 851 buildCounterInstructionOutput++; | 874 buildCounterInstructionOutput++; |
| 852 if (buildCounterInstructionOutput < 3) { | 875 if (buildCounterInstructionOutput < 3) { |
| 853 o.codec = buildUnnamed3061(); | 876 o.codec = buildUnnamed3152(); |
| 854 o.name = "foo"; | 877 o.name = "foo"; |
| 855 o.onlyCountKeyBytes = true; | 878 o.onlyCountKeyBytes = true; |
| 856 o.onlyCountValueBytes = true; | 879 o.onlyCountValueBytes = true; |
| 857 o.originalName = "foo"; | 880 o.originalName = "foo"; |
| 858 o.systemName = "foo"; | 881 o.systemName = "foo"; |
| 859 } | 882 } |
| 860 buildCounterInstructionOutput--; | 883 buildCounterInstructionOutput--; |
| 861 return o; | 884 return o; |
| 862 } | 885 } |
| 863 | 886 |
| 864 checkInstructionOutput(api.InstructionOutput o) { | 887 checkInstructionOutput(api.InstructionOutput o) { |
| 865 buildCounterInstructionOutput++; | 888 buildCounterInstructionOutput++; |
| 866 if (buildCounterInstructionOutput < 3) { | 889 if (buildCounterInstructionOutput < 3) { |
| 867 checkUnnamed3061(o.codec); | 890 checkUnnamed3152(o.codec); |
| 868 unittest.expect(o.name, unittest.equals('foo')); | 891 unittest.expect(o.name, unittest.equals('foo')); |
| 869 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); | 892 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); |
| 870 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); | 893 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); |
| 871 unittest.expect(o.originalName, unittest.equals('foo')); | 894 unittest.expect(o.originalName, unittest.equals('foo')); |
| 872 unittest.expect(o.systemName, unittest.equals('foo')); | 895 unittest.expect(o.systemName, unittest.equals('foo')); |
| 873 } | 896 } |
| 874 buildCounterInstructionOutput--; | 897 buildCounterInstructionOutput--; |
| 875 } | 898 } |
| 876 | 899 |
| 877 buildUnnamed3062() { | 900 buildUnnamed3153() { |
| 878 var o = new core.List<api.SplitInt64>(); | 901 var o = new core.List<api.SplitInt64>(); |
| 879 o.add(buildSplitInt64()); | 902 o.add(buildSplitInt64()); |
| 880 o.add(buildSplitInt64()); | 903 o.add(buildSplitInt64()); |
| 881 return o; | 904 return o; |
| 882 } | 905 } |
| 883 | 906 |
| 884 checkUnnamed3062(core.List<api.SplitInt64> o) { | 907 checkUnnamed3153(core.List<api.SplitInt64> o) { |
| 885 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
| 886 checkSplitInt64(o[0]); | 909 checkSplitInt64(o[0]); |
| 887 checkSplitInt64(o[1]); | 910 checkSplitInt64(o[1]); |
| 888 } | 911 } |
| 889 | 912 |
| 890 core.int buildCounterIntegerList = 0; | 913 core.int buildCounterIntegerList = 0; |
| 891 buildIntegerList() { | 914 buildIntegerList() { |
| 892 var o = new api.IntegerList(); | 915 var o = new api.IntegerList(); |
| 893 buildCounterIntegerList++; | 916 buildCounterIntegerList++; |
| 894 if (buildCounterIntegerList < 3) { | 917 if (buildCounterIntegerList < 3) { |
| 895 o.elements = buildUnnamed3062(); | 918 o.elements = buildUnnamed3153(); |
| 896 } | 919 } |
| 897 buildCounterIntegerList--; | 920 buildCounterIntegerList--; |
| 898 return o; | 921 return o; |
| 899 } | 922 } |
| 900 | 923 |
| 901 checkIntegerList(api.IntegerList o) { | 924 checkIntegerList(api.IntegerList o) { |
| 902 buildCounterIntegerList++; | 925 buildCounterIntegerList++; |
| 903 if (buildCounterIntegerList < 3) { | 926 if (buildCounterIntegerList < 3) { |
| 904 checkUnnamed3062(o.elements); | 927 checkUnnamed3153(o.elements); |
| 905 } | 928 } |
| 906 buildCounterIntegerList--; | 929 buildCounterIntegerList--; |
| 907 } | 930 } |
| 908 | 931 |
| 909 core.int buildCounterIntegerMean = 0; | 932 core.int buildCounterIntegerMean = 0; |
| 910 buildIntegerMean() { | 933 buildIntegerMean() { |
| 911 var o = new api.IntegerMean(); | 934 var o = new api.IntegerMean(); |
| 912 buildCounterIntegerMean++; | 935 buildCounterIntegerMean++; |
| 913 if (buildCounterIntegerMean < 3) { | 936 if (buildCounterIntegerMean < 3) { |
| 914 o.count = buildSplitInt64(); | 937 o.count = buildSplitInt64(); |
| 915 o.sum = buildSplitInt64(); | 938 o.sum = buildSplitInt64(); |
| 916 } | 939 } |
| 917 buildCounterIntegerMean--; | 940 buildCounterIntegerMean--; |
| 918 return o; | 941 return o; |
| 919 } | 942 } |
| 920 | 943 |
| 921 checkIntegerMean(api.IntegerMean o) { | 944 checkIntegerMean(api.IntegerMean o) { |
| 922 buildCounterIntegerMean++; | 945 buildCounterIntegerMean++; |
| 923 if (buildCounterIntegerMean < 3) { | 946 if (buildCounterIntegerMean < 3) { |
| 924 checkSplitInt64(o.count); | 947 checkSplitInt64(o.count); |
| 925 checkSplitInt64(o.sum); | 948 checkSplitInt64(o.sum); |
| 926 } | 949 } |
| 927 buildCounterIntegerMean--; | 950 buildCounterIntegerMean--; |
| 928 } | 951 } |
| 929 | 952 |
| 930 buildUnnamed3063() { | 953 buildUnnamed3154() { |
| 931 var o = new core.Map<core.String, core.String>(); | 954 var o = new core.Map<core.String, core.String>(); |
| 932 o["x"] = "foo"; | 955 o["x"] = "foo"; |
| 933 o["y"] = "foo"; | 956 o["y"] = "foo"; |
| 934 return o; | 957 return o; |
| 935 } | 958 } |
| 936 | 959 |
| 937 checkUnnamed3063(core.Map<core.String, core.String> o) { | 960 checkUnnamed3154(core.Map<core.String, core.String> o) { |
| 938 unittest.expect(o, unittest.hasLength(2)); | 961 unittest.expect(o, unittest.hasLength(2)); |
| 939 unittest.expect(o["x"], unittest.equals('foo')); | 962 unittest.expect(o["x"], unittest.equals('foo')); |
| 940 unittest.expect(o["y"], unittest.equals('foo')); | 963 unittest.expect(o["y"], unittest.equals('foo')); |
| 941 } | 964 } |
| 942 | 965 |
| 943 buildUnnamed3064() { | 966 buildUnnamed3155() { |
| 944 var o = new core.List<api.Step>(); | 967 var o = new core.List<api.Step>(); |
| 945 o.add(buildStep()); | 968 o.add(buildStep()); |
| 946 o.add(buildStep()); | 969 o.add(buildStep()); |
| 947 return o; | 970 return o; |
| 948 } | 971 } |
| 949 | 972 |
| 950 checkUnnamed3064(core.List<api.Step> o) { | 973 checkUnnamed3155(core.List<api.Step> o) { |
| 951 unittest.expect(o, unittest.hasLength(2)); | 974 unittest.expect(o, unittest.hasLength(2)); |
| 952 checkStep(o[0]); | 975 checkStep(o[0]); |
| 953 checkStep(o[1]); | 976 checkStep(o[1]); |
| 954 } | 977 } |
| 955 | 978 |
| 956 buildUnnamed3065() { | 979 buildUnnamed3156() { |
| 957 var o = new core.List<core.String>(); | 980 var o = new core.List<core.String>(); |
| 958 o.add("foo"); | 981 o.add("foo"); |
| 959 o.add("foo"); | 982 o.add("foo"); |
| 960 return o; | 983 return o; |
| 961 } | 984 } |
| 962 | 985 |
| 963 checkUnnamed3065(core.List<core.String> o) { | 986 checkUnnamed3156(core.List<core.String> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 987 unittest.expect(o, unittest.hasLength(2)); |
| 965 unittest.expect(o[0], unittest.equals('foo')); | 988 unittest.expect(o[0], unittest.equals('foo')); |
| 966 unittest.expect(o[1], unittest.equals('foo')); | 989 unittest.expect(o[1], unittest.equals('foo')); |
| 967 } | 990 } |
| 968 | 991 |
| 969 buildUnnamed3066() { | 992 buildUnnamed3157() { |
| 970 var o = new core.Map<core.String, core.String>(); | 993 var o = new core.Map<core.String, core.String>(); |
| 971 o["x"] = "foo"; | 994 o["x"] = "foo"; |
| 972 o["y"] = "foo"; | 995 o["y"] = "foo"; |
| 973 return o; | 996 return o; |
| 974 } | 997 } |
| 975 | 998 |
| 976 checkUnnamed3066(core.Map<core.String, core.String> o) { | 999 checkUnnamed3157(core.Map<core.String, core.String> o) { |
| 977 unittest.expect(o, unittest.hasLength(2)); | 1000 unittest.expect(o, unittest.hasLength(2)); |
| 978 unittest.expect(o["x"], unittest.equals('foo')); | 1001 unittest.expect(o["x"], unittest.equals('foo')); |
| 979 unittest.expect(o["y"], unittest.equals('foo')); | 1002 unittest.expect(o["y"], unittest.equals('foo')); |
| 980 } | 1003 } |
| 981 | 1004 |
| 982 core.int buildCounterJob = 0; | 1005 core.int buildCounterJob = 0; |
| 983 buildJob() { | 1006 buildJob() { |
| 984 var o = new api.Job(); | 1007 var o = new api.Job(); |
| 985 buildCounterJob++; | 1008 buildCounterJob++; |
| 986 if (buildCounterJob < 3) { | 1009 if (buildCounterJob < 3) { |
| 987 o.clientRequestId = "foo"; | 1010 o.clientRequestId = "foo"; |
| 988 o.createTime = "foo"; | 1011 o.createTime = "foo"; |
| 989 o.currentState = "foo"; | 1012 o.currentState = "foo"; |
| 990 o.currentStateTime = "foo"; | 1013 o.currentStateTime = "foo"; |
| 991 o.environment = buildEnvironment(); | 1014 o.environment = buildEnvironment(); |
| 992 o.executionInfo = buildJobExecutionInfo(); | 1015 o.executionInfo = buildJobExecutionInfo(); |
| 993 o.id = "foo"; | 1016 o.id = "foo"; |
| 994 o.labels = buildUnnamed3063(); | 1017 o.labels = buildUnnamed3154(); |
| 995 o.location = "foo"; | 1018 o.location = "foo"; |
| 996 o.name = "foo"; | 1019 o.name = "foo"; |
| 997 o.projectId = "foo"; | 1020 o.projectId = "foo"; |
| 998 o.replaceJobId = "foo"; | 1021 o.replaceJobId = "foo"; |
| 999 o.replacedByJobId = "foo"; | 1022 o.replacedByJobId = "foo"; |
| 1000 o.requestedState = "foo"; | 1023 o.requestedState = "foo"; |
| 1001 o.steps = buildUnnamed3064(); | 1024 o.steps = buildUnnamed3155(); |
| 1002 o.tempFiles = buildUnnamed3065(); | 1025 o.tempFiles = buildUnnamed3156(); |
| 1003 o.transformNameMapping = buildUnnamed3066(); | 1026 o.transformNameMapping = buildUnnamed3157(); |
| 1004 o.type = "foo"; | 1027 o.type = "foo"; |
| 1005 } | 1028 } |
| 1006 buildCounterJob--; | 1029 buildCounterJob--; |
| 1007 return o; | 1030 return o; |
| 1008 } | 1031 } |
| 1009 | 1032 |
| 1010 checkJob(api.Job o) { | 1033 checkJob(api.Job o) { |
| 1011 buildCounterJob++; | 1034 buildCounterJob++; |
| 1012 if (buildCounterJob < 3) { | 1035 if (buildCounterJob < 3) { |
| 1013 unittest.expect(o.clientRequestId, unittest.equals('foo')); | 1036 unittest.expect(o.clientRequestId, unittest.equals('foo')); |
| 1014 unittest.expect(o.createTime, unittest.equals('foo')); | 1037 unittest.expect(o.createTime, unittest.equals('foo')); |
| 1015 unittest.expect(o.currentState, unittest.equals('foo')); | 1038 unittest.expect(o.currentState, unittest.equals('foo')); |
| 1016 unittest.expect(o.currentStateTime, unittest.equals('foo')); | 1039 unittest.expect(o.currentStateTime, unittest.equals('foo')); |
| 1017 checkEnvironment(o.environment); | 1040 checkEnvironment(o.environment); |
| 1018 checkJobExecutionInfo(o.executionInfo); | 1041 checkJobExecutionInfo(o.executionInfo); |
| 1019 unittest.expect(o.id, unittest.equals('foo')); | 1042 unittest.expect(o.id, unittest.equals('foo')); |
| 1020 checkUnnamed3063(o.labels); | 1043 checkUnnamed3154(o.labels); |
| 1021 unittest.expect(o.location, unittest.equals('foo')); | 1044 unittest.expect(o.location, unittest.equals('foo')); |
| 1022 unittest.expect(o.name, unittest.equals('foo')); | 1045 unittest.expect(o.name, unittest.equals('foo')); |
| 1023 unittest.expect(o.projectId, unittest.equals('foo')); | 1046 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1024 unittest.expect(o.replaceJobId, unittest.equals('foo')); | 1047 unittest.expect(o.replaceJobId, unittest.equals('foo')); |
| 1025 unittest.expect(o.replacedByJobId, unittest.equals('foo')); | 1048 unittest.expect(o.replacedByJobId, unittest.equals('foo')); |
| 1026 unittest.expect(o.requestedState, unittest.equals('foo')); | 1049 unittest.expect(o.requestedState, unittest.equals('foo')); |
| 1027 checkUnnamed3064(o.steps); | 1050 checkUnnamed3155(o.steps); |
| 1028 checkUnnamed3065(o.tempFiles); | 1051 checkUnnamed3156(o.tempFiles); |
| 1029 checkUnnamed3066(o.transformNameMapping); | 1052 checkUnnamed3157(o.transformNameMapping); |
| 1030 unittest.expect(o.type, unittest.equals('foo')); | 1053 unittest.expect(o.type, unittest.equals('foo')); |
| 1031 } | 1054 } |
| 1032 buildCounterJob--; | 1055 buildCounterJob--; |
| 1033 } | 1056 } |
| 1034 | 1057 |
| 1035 buildUnnamed3067() { | 1058 buildUnnamed3158() { |
| 1036 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); | 1059 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); |
| 1037 o["x"] = buildJobExecutionStageInfo(); | 1060 o["x"] = buildJobExecutionStageInfo(); |
| 1038 o["y"] = buildJobExecutionStageInfo(); | 1061 o["y"] = buildJobExecutionStageInfo(); |
| 1039 return o; | 1062 return o; |
| 1040 } | 1063 } |
| 1041 | 1064 |
| 1042 checkUnnamed3067(core.Map<core.String, api.JobExecutionStageInfo> o) { | 1065 checkUnnamed3158(core.Map<core.String, api.JobExecutionStageInfo> o) { |
| 1043 unittest.expect(o, unittest.hasLength(2)); | 1066 unittest.expect(o, unittest.hasLength(2)); |
| 1044 checkJobExecutionStageInfo(o["x"]); | 1067 checkJobExecutionStageInfo(o["x"]); |
| 1045 checkJobExecutionStageInfo(o["y"]); | 1068 checkJobExecutionStageInfo(o["y"]); |
| 1046 } | 1069 } |
| 1047 | 1070 |
| 1048 core.int buildCounterJobExecutionInfo = 0; | 1071 core.int buildCounterJobExecutionInfo = 0; |
| 1049 buildJobExecutionInfo() { | 1072 buildJobExecutionInfo() { |
| 1050 var o = new api.JobExecutionInfo(); | 1073 var o = new api.JobExecutionInfo(); |
| 1051 buildCounterJobExecutionInfo++; | 1074 buildCounterJobExecutionInfo++; |
| 1052 if (buildCounterJobExecutionInfo < 3) { | 1075 if (buildCounterJobExecutionInfo < 3) { |
| 1053 o.stages = buildUnnamed3067(); | 1076 o.stages = buildUnnamed3158(); |
| 1054 } | 1077 } |
| 1055 buildCounterJobExecutionInfo--; | 1078 buildCounterJobExecutionInfo--; |
| 1056 return o; | 1079 return o; |
| 1057 } | 1080 } |
| 1058 | 1081 |
| 1059 checkJobExecutionInfo(api.JobExecutionInfo o) { | 1082 checkJobExecutionInfo(api.JobExecutionInfo o) { |
| 1060 buildCounterJobExecutionInfo++; | 1083 buildCounterJobExecutionInfo++; |
| 1061 if (buildCounterJobExecutionInfo < 3) { | 1084 if (buildCounterJobExecutionInfo < 3) { |
| 1062 checkUnnamed3067(o.stages); | 1085 checkUnnamed3158(o.stages); |
| 1063 } | 1086 } |
| 1064 buildCounterJobExecutionInfo--; | 1087 buildCounterJobExecutionInfo--; |
| 1065 } | 1088 } |
| 1066 | 1089 |
| 1067 buildUnnamed3068() { | 1090 buildUnnamed3159() { |
| 1068 var o = new core.List<core.String>(); | 1091 var o = new core.List<core.String>(); |
| 1069 o.add("foo"); | 1092 o.add("foo"); |
| 1070 o.add("foo"); | 1093 o.add("foo"); |
| 1071 return o; | 1094 return o; |
| 1072 } | 1095 } |
| 1073 | 1096 |
| 1074 checkUnnamed3068(core.List<core.String> o) { | 1097 checkUnnamed3159(core.List<core.String> o) { |
| 1075 unittest.expect(o, unittest.hasLength(2)); | 1098 unittest.expect(o, unittest.hasLength(2)); |
| 1076 unittest.expect(o[0], unittest.equals('foo')); | 1099 unittest.expect(o[0], unittest.equals('foo')); |
| 1077 unittest.expect(o[1], unittest.equals('foo')); | 1100 unittest.expect(o[1], unittest.equals('foo')); |
| 1078 } | 1101 } |
| 1079 | 1102 |
| 1080 core.int buildCounterJobExecutionStageInfo = 0; | 1103 core.int buildCounterJobExecutionStageInfo = 0; |
| 1081 buildJobExecutionStageInfo() { | 1104 buildJobExecutionStageInfo() { |
| 1082 var o = new api.JobExecutionStageInfo(); | 1105 var o = new api.JobExecutionStageInfo(); |
| 1083 buildCounterJobExecutionStageInfo++; | 1106 buildCounterJobExecutionStageInfo++; |
| 1084 if (buildCounterJobExecutionStageInfo < 3) { | 1107 if (buildCounterJobExecutionStageInfo < 3) { |
| 1085 o.stepName = buildUnnamed3068(); | 1108 o.stepName = buildUnnamed3159(); |
| 1086 } | 1109 } |
| 1087 buildCounterJobExecutionStageInfo--; | 1110 buildCounterJobExecutionStageInfo--; |
| 1088 return o; | 1111 return o; |
| 1089 } | 1112 } |
| 1090 | 1113 |
| 1091 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { | 1114 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { |
| 1092 buildCounterJobExecutionStageInfo++; | 1115 buildCounterJobExecutionStageInfo++; |
| 1093 if (buildCounterJobExecutionStageInfo < 3) { | 1116 if (buildCounterJobExecutionStageInfo < 3) { |
| 1094 checkUnnamed3068(o.stepName); | 1117 checkUnnamed3159(o.stepName); |
| 1095 } | 1118 } |
| 1096 buildCounterJobExecutionStageInfo--; | 1119 buildCounterJobExecutionStageInfo--; |
| 1097 } | 1120 } |
| 1098 | 1121 |
| 1099 core.int buildCounterJobMessage = 0; | 1122 core.int buildCounterJobMessage = 0; |
| 1100 buildJobMessage() { | 1123 buildJobMessage() { |
| 1101 var o = new api.JobMessage(); | 1124 var o = new api.JobMessage(); |
| 1102 buildCounterJobMessage++; | 1125 buildCounterJobMessage++; |
| 1103 if (buildCounterJobMessage < 3) { | 1126 if (buildCounterJobMessage < 3) { |
| 1104 o.id = "foo"; | 1127 o.id = "foo"; |
| 1105 o.messageImportance = "foo"; | 1128 o.messageImportance = "foo"; |
| 1106 o.messageText = "foo"; | 1129 o.messageText = "foo"; |
| 1107 o.time = "foo"; | 1130 o.time = "foo"; |
| 1108 } | 1131 } |
| 1109 buildCounterJobMessage--; | 1132 buildCounterJobMessage--; |
| 1110 return o; | 1133 return o; |
| 1111 } | 1134 } |
| 1112 | 1135 |
| 1113 checkJobMessage(api.JobMessage o) { | 1136 checkJobMessage(api.JobMessage o) { |
| 1114 buildCounterJobMessage++; | 1137 buildCounterJobMessage++; |
| 1115 if (buildCounterJobMessage < 3) { | 1138 if (buildCounterJobMessage < 3) { |
| 1116 unittest.expect(o.id, unittest.equals('foo')); | 1139 unittest.expect(o.id, unittest.equals('foo')); |
| 1117 unittest.expect(o.messageImportance, unittest.equals('foo')); | 1140 unittest.expect(o.messageImportance, unittest.equals('foo')); |
| 1118 unittest.expect(o.messageText, unittest.equals('foo')); | 1141 unittest.expect(o.messageText, unittest.equals('foo')); |
| 1119 unittest.expect(o.time, unittest.equals('foo')); | 1142 unittest.expect(o.time, unittest.equals('foo')); |
| 1120 } | 1143 } |
| 1121 buildCounterJobMessage--; | 1144 buildCounterJobMessage--; |
| 1122 } | 1145 } |
| 1123 | 1146 |
| 1124 buildUnnamed3069() { | 1147 buildUnnamed3160() { |
| 1125 var o = new core.List<api.MetricUpdate>(); | 1148 var o = new core.List<api.MetricUpdate>(); |
| 1126 o.add(buildMetricUpdate()); | 1149 o.add(buildMetricUpdate()); |
| 1127 o.add(buildMetricUpdate()); | 1150 o.add(buildMetricUpdate()); |
| 1128 return o; | 1151 return o; |
| 1129 } | 1152 } |
| 1130 | 1153 |
| 1131 checkUnnamed3069(core.List<api.MetricUpdate> o) { | 1154 checkUnnamed3160(core.List<api.MetricUpdate> o) { |
| 1132 unittest.expect(o, unittest.hasLength(2)); | 1155 unittest.expect(o, unittest.hasLength(2)); |
| 1133 checkMetricUpdate(o[0]); | 1156 checkMetricUpdate(o[0]); |
| 1134 checkMetricUpdate(o[1]); | 1157 checkMetricUpdate(o[1]); |
| 1135 } | 1158 } |
| 1136 | 1159 |
| 1137 core.int buildCounterJobMetrics = 0; | 1160 core.int buildCounterJobMetrics = 0; |
| 1138 buildJobMetrics() { | 1161 buildJobMetrics() { |
| 1139 var o = new api.JobMetrics(); | 1162 var o = new api.JobMetrics(); |
| 1140 buildCounterJobMetrics++; | 1163 buildCounterJobMetrics++; |
| 1141 if (buildCounterJobMetrics < 3) { | 1164 if (buildCounterJobMetrics < 3) { |
| 1142 o.metricTime = "foo"; | 1165 o.metricTime = "foo"; |
| 1143 o.metrics = buildUnnamed3069(); | 1166 o.metrics = buildUnnamed3160(); |
| 1144 } | 1167 } |
| 1145 buildCounterJobMetrics--; | 1168 buildCounterJobMetrics--; |
| 1146 return o; | 1169 return o; |
| 1147 } | 1170 } |
| 1148 | 1171 |
| 1149 checkJobMetrics(api.JobMetrics o) { | 1172 checkJobMetrics(api.JobMetrics o) { |
| 1150 buildCounterJobMetrics++; | 1173 buildCounterJobMetrics++; |
| 1151 if (buildCounterJobMetrics < 3) { | 1174 if (buildCounterJobMetrics < 3) { |
| 1152 unittest.expect(o.metricTime, unittest.equals('foo')); | 1175 unittest.expect(o.metricTime, unittest.equals('foo')); |
| 1153 checkUnnamed3069(o.metrics); | 1176 checkUnnamed3160(o.metrics); |
| 1154 } | 1177 } |
| 1155 buildCounterJobMetrics--; | 1178 buildCounterJobMetrics--; |
| 1156 } | 1179 } |
| 1157 | 1180 |
| 1158 core.int buildCounterKeyRangeDataDiskAssignment = 0; | 1181 core.int buildCounterKeyRangeDataDiskAssignment = 0; |
| 1159 buildKeyRangeDataDiskAssignment() { | 1182 buildKeyRangeDataDiskAssignment() { |
| 1160 var o = new api.KeyRangeDataDiskAssignment(); | 1183 var o = new api.KeyRangeDataDiskAssignment(); |
| 1161 buildCounterKeyRangeDataDiskAssignment++; | 1184 buildCounterKeyRangeDataDiskAssignment++; |
| 1162 if (buildCounterKeyRangeDataDiskAssignment < 3) { | 1185 if (buildCounterKeyRangeDataDiskAssignment < 3) { |
| 1163 o.dataDisk = "foo"; | 1186 o.dataDisk = "foo"; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 if (buildCounterKeyRangeLocation < 3) { | 1221 if (buildCounterKeyRangeLocation < 3) { |
| 1199 unittest.expect(o.dataDisk, unittest.equals('foo')); | 1222 unittest.expect(o.dataDisk, unittest.equals('foo')); |
| 1200 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); | 1223 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); |
| 1201 unittest.expect(o.end, unittest.equals('foo')); | 1224 unittest.expect(o.end, unittest.equals('foo')); |
| 1202 unittest.expect(o.persistentDirectory, unittest.equals('foo')); | 1225 unittest.expect(o.persistentDirectory, unittest.equals('foo')); |
| 1203 unittest.expect(o.start, unittest.equals('foo')); | 1226 unittest.expect(o.start, unittest.equals('foo')); |
| 1204 } | 1227 } |
| 1205 buildCounterKeyRangeLocation--; | 1228 buildCounterKeyRangeLocation--; |
| 1206 } | 1229 } |
| 1207 | 1230 |
| 1208 buildUnnamed3070() { | 1231 buildUnnamed3161() { |
| 1209 var o = new core.List<core.String>(); | 1232 var o = new core.List<core.String>(); |
| 1210 o.add("foo"); | 1233 o.add("foo"); |
| 1211 o.add("foo"); | 1234 o.add("foo"); |
| 1212 return o; | 1235 return o; |
| 1213 } | 1236 } |
| 1214 | 1237 |
| 1215 checkUnnamed3070(core.List<core.String> o) { | 1238 checkUnnamed3161(core.List<core.String> o) { |
| 1216 unittest.expect(o, unittest.hasLength(2)); | 1239 unittest.expect(o, unittest.hasLength(2)); |
| 1217 unittest.expect(o[0], unittest.equals('foo')); | 1240 unittest.expect(o[0], unittest.equals('foo')); |
| 1218 unittest.expect(o[1], unittest.equals('foo')); | 1241 unittest.expect(o[1], unittest.equals('foo')); |
| 1219 } | 1242 } |
| 1220 | 1243 |
| 1221 buildUnnamed3071() { | 1244 buildUnnamed3162() { |
| 1222 var o = new core.List<core.String>(); | 1245 var o = new core.List<core.String>(); |
| 1223 o.add("foo"); | 1246 o.add("foo"); |
| 1224 o.add("foo"); | 1247 o.add("foo"); |
| 1225 return o; | 1248 return o; |
| 1226 } | 1249 } |
| 1227 | 1250 |
| 1228 checkUnnamed3071(core.List<core.String> o) { | 1251 checkUnnamed3162(core.List<core.String> o) { |
| 1229 unittest.expect(o, unittest.hasLength(2)); | 1252 unittest.expect(o, unittest.hasLength(2)); |
| 1230 unittest.expect(o[0], unittest.equals('foo')); | 1253 unittest.expect(o[0], unittest.equals('foo')); |
| 1231 unittest.expect(o[1], unittest.equals('foo')); | 1254 unittest.expect(o[1], unittest.equals('foo')); |
| 1232 } | 1255 } |
| 1233 | 1256 |
| 1234 core.int buildCounterLeaseWorkItemRequest = 0; | 1257 core.int buildCounterLeaseWorkItemRequest = 0; |
| 1235 buildLeaseWorkItemRequest() { | 1258 buildLeaseWorkItemRequest() { |
| 1236 var o = new api.LeaseWorkItemRequest(); | 1259 var o = new api.LeaseWorkItemRequest(); |
| 1237 buildCounterLeaseWorkItemRequest++; | 1260 buildCounterLeaseWorkItemRequest++; |
| 1238 if (buildCounterLeaseWorkItemRequest < 3) { | 1261 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1239 o.currentWorkerTime = "foo"; | 1262 o.currentWorkerTime = "foo"; |
| 1240 o.location = "foo"; | 1263 o.location = "foo"; |
| 1241 o.requestedLeaseDuration = "foo"; | 1264 o.requestedLeaseDuration = "foo"; |
| 1242 o.workItemTypes = buildUnnamed3070(); | 1265 o.workItemTypes = buildUnnamed3161(); |
| 1243 o.workerCapabilities = buildUnnamed3071(); | 1266 o.workerCapabilities = buildUnnamed3162(); |
| 1244 o.workerId = "foo"; | 1267 o.workerId = "foo"; |
| 1245 } | 1268 } |
| 1246 buildCounterLeaseWorkItemRequest--; | 1269 buildCounterLeaseWorkItemRequest--; |
| 1247 return o; | 1270 return o; |
| 1248 } | 1271 } |
| 1249 | 1272 |
| 1250 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { | 1273 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { |
| 1251 buildCounterLeaseWorkItemRequest++; | 1274 buildCounterLeaseWorkItemRequest++; |
| 1252 if (buildCounterLeaseWorkItemRequest < 3) { | 1275 if (buildCounterLeaseWorkItemRequest < 3) { |
| 1253 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1276 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1254 unittest.expect(o.location, unittest.equals('foo')); | 1277 unittest.expect(o.location, unittest.equals('foo')); |
| 1255 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 1278 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 1256 checkUnnamed3070(o.workItemTypes); | 1279 checkUnnamed3161(o.workItemTypes); |
| 1257 checkUnnamed3071(o.workerCapabilities); | 1280 checkUnnamed3162(o.workerCapabilities); |
| 1258 unittest.expect(o.workerId, unittest.equals('foo')); | 1281 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1259 } | 1282 } |
| 1260 buildCounterLeaseWorkItemRequest--; | 1283 buildCounterLeaseWorkItemRequest--; |
| 1261 } | 1284 } |
| 1262 | 1285 |
| 1263 buildUnnamed3072() { | 1286 buildUnnamed3163() { |
| 1264 var o = new core.List<api.WorkItem>(); | 1287 var o = new core.List<api.WorkItem>(); |
| 1265 o.add(buildWorkItem()); | 1288 o.add(buildWorkItem()); |
| 1266 o.add(buildWorkItem()); | 1289 o.add(buildWorkItem()); |
| 1267 return o; | 1290 return o; |
| 1268 } | 1291 } |
| 1269 | 1292 |
| 1270 checkUnnamed3072(core.List<api.WorkItem> o) { | 1293 checkUnnamed3163(core.List<api.WorkItem> o) { |
| 1271 unittest.expect(o, unittest.hasLength(2)); | 1294 unittest.expect(o, unittest.hasLength(2)); |
| 1272 checkWorkItem(o[0]); | 1295 checkWorkItem(o[0]); |
| 1273 checkWorkItem(o[1]); | 1296 checkWorkItem(o[1]); |
| 1274 } | 1297 } |
| 1275 | 1298 |
| 1276 core.int buildCounterLeaseWorkItemResponse = 0; | 1299 core.int buildCounterLeaseWorkItemResponse = 0; |
| 1277 buildLeaseWorkItemResponse() { | 1300 buildLeaseWorkItemResponse() { |
| 1278 var o = new api.LeaseWorkItemResponse(); | 1301 var o = new api.LeaseWorkItemResponse(); |
| 1279 buildCounterLeaseWorkItemResponse++; | 1302 buildCounterLeaseWorkItemResponse++; |
| 1280 if (buildCounterLeaseWorkItemResponse < 3) { | 1303 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1281 o.workItems = buildUnnamed3072(); | 1304 o.workItems = buildUnnamed3163(); |
| 1282 } | 1305 } |
| 1283 buildCounterLeaseWorkItemResponse--; | 1306 buildCounterLeaseWorkItemResponse--; |
| 1284 return o; | 1307 return o; |
| 1285 } | 1308 } |
| 1286 | 1309 |
| 1287 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { | 1310 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { |
| 1288 buildCounterLeaseWorkItemResponse++; | 1311 buildCounterLeaseWorkItemResponse++; |
| 1289 if (buildCounterLeaseWorkItemResponse < 3) { | 1312 if (buildCounterLeaseWorkItemResponse < 3) { |
| 1290 checkUnnamed3072(o.workItems); | 1313 checkUnnamed3163(o.workItems); |
| 1291 } | 1314 } |
| 1292 buildCounterLeaseWorkItemResponse--; | 1315 buildCounterLeaseWorkItemResponse--; |
| 1293 } | 1316 } |
| 1294 | 1317 |
| 1295 buildUnnamed3073() { | 1318 buildUnnamed3164() { |
| 1296 var o = new core.List<api.JobMessage>(); | 1319 var o = new core.List<api.JobMessage>(); |
| 1297 o.add(buildJobMessage()); | 1320 o.add(buildJobMessage()); |
| 1298 o.add(buildJobMessage()); | 1321 o.add(buildJobMessage()); |
| 1299 return o; | 1322 return o; |
| 1300 } | 1323 } |
| 1301 | 1324 |
| 1302 checkUnnamed3073(core.List<api.JobMessage> o) { | 1325 checkUnnamed3164(core.List<api.JobMessage> o) { |
| 1303 unittest.expect(o, unittest.hasLength(2)); | 1326 unittest.expect(o, unittest.hasLength(2)); |
| 1304 checkJobMessage(o[0]); | 1327 checkJobMessage(o[0]); |
| 1305 checkJobMessage(o[1]); | 1328 checkJobMessage(o[1]); |
| 1306 } | 1329 } |
| 1307 | 1330 |
| 1308 core.int buildCounterListJobMessagesResponse = 0; | 1331 core.int buildCounterListJobMessagesResponse = 0; |
| 1309 buildListJobMessagesResponse() { | 1332 buildListJobMessagesResponse() { |
| 1310 var o = new api.ListJobMessagesResponse(); | 1333 var o = new api.ListJobMessagesResponse(); |
| 1311 buildCounterListJobMessagesResponse++; | 1334 buildCounterListJobMessagesResponse++; |
| 1312 if (buildCounterListJobMessagesResponse < 3) { | 1335 if (buildCounterListJobMessagesResponse < 3) { |
| 1313 o.jobMessages = buildUnnamed3073(); | 1336 o.jobMessages = buildUnnamed3164(); |
| 1314 o.nextPageToken = "foo"; | 1337 o.nextPageToken = "foo"; |
| 1315 } | 1338 } |
| 1316 buildCounterListJobMessagesResponse--; | 1339 buildCounterListJobMessagesResponse--; |
| 1317 return o; | 1340 return o; |
| 1318 } | 1341 } |
| 1319 | 1342 |
| 1320 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { | 1343 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { |
| 1321 buildCounterListJobMessagesResponse++; | 1344 buildCounterListJobMessagesResponse++; |
| 1322 if (buildCounterListJobMessagesResponse < 3) { | 1345 if (buildCounterListJobMessagesResponse < 3) { |
| 1323 checkUnnamed3073(o.jobMessages); | 1346 checkUnnamed3164(o.jobMessages); |
| 1324 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1347 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1325 } | 1348 } |
| 1326 buildCounterListJobMessagesResponse--; | 1349 buildCounterListJobMessagesResponse--; |
| 1327 } | 1350 } |
| 1328 | 1351 |
| 1329 buildUnnamed3074() { | 1352 buildUnnamed3165() { |
| 1330 var o = new core.List<api.FailedLocation>(); | 1353 var o = new core.List<api.FailedLocation>(); |
| 1331 o.add(buildFailedLocation()); | 1354 o.add(buildFailedLocation()); |
| 1332 o.add(buildFailedLocation()); | 1355 o.add(buildFailedLocation()); |
| 1333 return o; | 1356 return o; |
| 1334 } | 1357 } |
| 1335 | 1358 |
| 1336 checkUnnamed3074(core.List<api.FailedLocation> o) { | 1359 checkUnnamed3165(core.List<api.FailedLocation> o) { |
| 1337 unittest.expect(o, unittest.hasLength(2)); | 1360 unittest.expect(o, unittest.hasLength(2)); |
| 1338 checkFailedLocation(o[0]); | 1361 checkFailedLocation(o[0]); |
| 1339 checkFailedLocation(o[1]); | 1362 checkFailedLocation(o[1]); |
| 1340 } | 1363 } |
| 1341 | 1364 |
| 1342 buildUnnamed3075() { | 1365 buildUnnamed3166() { |
| 1343 var o = new core.List<api.Job>(); | 1366 var o = new core.List<api.Job>(); |
| 1344 o.add(buildJob()); | 1367 o.add(buildJob()); |
| 1345 o.add(buildJob()); | 1368 o.add(buildJob()); |
| 1346 return o; | 1369 return o; |
| 1347 } | 1370 } |
| 1348 | 1371 |
| 1349 checkUnnamed3075(core.List<api.Job> o) { | 1372 checkUnnamed3166(core.List<api.Job> o) { |
| 1350 unittest.expect(o, unittest.hasLength(2)); | 1373 unittest.expect(o, unittest.hasLength(2)); |
| 1351 checkJob(o[0]); | 1374 checkJob(o[0]); |
| 1352 checkJob(o[1]); | 1375 checkJob(o[1]); |
| 1353 } | 1376 } |
| 1354 | 1377 |
| 1355 core.int buildCounterListJobsResponse = 0; | 1378 core.int buildCounterListJobsResponse = 0; |
| 1356 buildListJobsResponse() { | 1379 buildListJobsResponse() { |
| 1357 var o = new api.ListJobsResponse(); | 1380 var o = new api.ListJobsResponse(); |
| 1358 buildCounterListJobsResponse++; | 1381 buildCounterListJobsResponse++; |
| 1359 if (buildCounterListJobsResponse < 3) { | 1382 if (buildCounterListJobsResponse < 3) { |
| 1360 o.failedLocation = buildUnnamed3074(); | 1383 o.failedLocation = buildUnnamed3165(); |
| 1361 o.jobs = buildUnnamed3075(); | 1384 o.jobs = buildUnnamed3166(); |
| 1362 o.nextPageToken = "foo"; | 1385 o.nextPageToken = "foo"; |
| 1363 } | 1386 } |
| 1364 buildCounterListJobsResponse--; | 1387 buildCounterListJobsResponse--; |
| 1365 return o; | 1388 return o; |
| 1366 } | 1389 } |
| 1367 | 1390 |
| 1368 checkListJobsResponse(api.ListJobsResponse o) { | 1391 checkListJobsResponse(api.ListJobsResponse o) { |
| 1369 buildCounterListJobsResponse++; | 1392 buildCounterListJobsResponse++; |
| 1370 if (buildCounterListJobsResponse < 3) { | 1393 if (buildCounterListJobsResponse < 3) { |
| 1371 checkUnnamed3074(o.failedLocation); | 1394 checkUnnamed3165(o.failedLocation); |
| 1372 checkUnnamed3075(o.jobs); | 1395 checkUnnamed3166(o.jobs); |
| 1373 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1396 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1374 } | 1397 } |
| 1375 buildCounterListJobsResponse--; | 1398 buildCounterListJobsResponse--; |
| 1376 } | 1399 } |
| 1377 | 1400 |
| 1378 buildUnnamed3076() { | 1401 buildUnnamed3167() { |
| 1379 var o = new core.List<api.ParallelInstruction>(); | 1402 var o = new core.List<api.ParallelInstruction>(); |
| 1380 o.add(buildParallelInstruction()); | 1403 o.add(buildParallelInstruction()); |
| 1381 o.add(buildParallelInstruction()); | 1404 o.add(buildParallelInstruction()); |
| 1382 return o; | 1405 return o; |
| 1383 } | 1406 } |
| 1384 | 1407 |
| 1385 checkUnnamed3076(core.List<api.ParallelInstruction> o) { | 1408 checkUnnamed3167(core.List<api.ParallelInstruction> o) { |
| 1386 unittest.expect(o, unittest.hasLength(2)); | 1409 unittest.expect(o, unittest.hasLength(2)); |
| 1387 checkParallelInstruction(o[0]); | 1410 checkParallelInstruction(o[0]); |
| 1388 checkParallelInstruction(o[1]); | 1411 checkParallelInstruction(o[1]); |
| 1389 } | 1412 } |
| 1390 | 1413 |
| 1391 core.int buildCounterMapTask = 0; | 1414 core.int buildCounterMapTask = 0; |
| 1392 buildMapTask() { | 1415 buildMapTask() { |
| 1393 var o = new api.MapTask(); | 1416 var o = new api.MapTask(); |
| 1394 buildCounterMapTask++; | 1417 buildCounterMapTask++; |
| 1395 if (buildCounterMapTask < 3) { | 1418 if (buildCounterMapTask < 3) { |
| 1396 o.instructions = buildUnnamed3076(); | 1419 o.instructions = buildUnnamed3167(); |
| 1397 o.stageName = "foo"; | 1420 o.stageName = "foo"; |
| 1398 o.systemName = "foo"; | 1421 o.systemName = "foo"; |
| 1399 } | 1422 } |
| 1400 buildCounterMapTask--; | 1423 buildCounterMapTask--; |
| 1401 return o; | 1424 return o; |
| 1402 } | 1425 } |
| 1403 | 1426 |
| 1404 checkMapTask(api.MapTask o) { | 1427 checkMapTask(api.MapTask o) { |
| 1405 buildCounterMapTask++; | 1428 buildCounterMapTask++; |
| 1406 if (buildCounterMapTask < 3) { | 1429 if (buildCounterMapTask < 3) { |
| 1407 checkUnnamed3076(o.instructions); | 1430 checkUnnamed3167(o.instructions); |
| 1408 unittest.expect(o.stageName, unittest.equals('foo')); | 1431 unittest.expect(o.stageName, unittest.equals('foo')); |
| 1409 unittest.expect(o.systemName, unittest.equals('foo')); | 1432 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1410 } | 1433 } |
| 1411 buildCounterMapTask--; | 1434 buildCounterMapTask--; |
| 1412 } | 1435 } |
| 1413 | 1436 |
| 1414 core.int buildCounterMetricShortId = 0; | 1437 core.int buildCounterMetricShortId = 0; |
| 1415 buildMetricShortId() { | 1438 buildMetricShortId() { |
| 1416 var o = new api.MetricShortId(); | 1439 var o = new api.MetricShortId(); |
| 1417 buildCounterMetricShortId++; | 1440 buildCounterMetricShortId++; |
| 1418 if (buildCounterMetricShortId < 3) { | 1441 if (buildCounterMetricShortId < 3) { |
| 1419 o.metricIndex = 42; | 1442 o.metricIndex = 42; |
| 1420 o.shortId = "foo"; | 1443 o.shortId = "foo"; |
| 1421 } | 1444 } |
| 1422 buildCounterMetricShortId--; | 1445 buildCounterMetricShortId--; |
| 1423 return o; | 1446 return o; |
| 1424 } | 1447 } |
| 1425 | 1448 |
| 1426 checkMetricShortId(api.MetricShortId o) { | 1449 checkMetricShortId(api.MetricShortId o) { |
| 1427 buildCounterMetricShortId++; | 1450 buildCounterMetricShortId++; |
| 1428 if (buildCounterMetricShortId < 3) { | 1451 if (buildCounterMetricShortId < 3) { |
| 1429 unittest.expect(o.metricIndex, unittest.equals(42)); | 1452 unittest.expect(o.metricIndex, unittest.equals(42)); |
| 1430 unittest.expect(o.shortId, unittest.equals('foo')); | 1453 unittest.expect(o.shortId, unittest.equals('foo')); |
| 1431 } | 1454 } |
| 1432 buildCounterMetricShortId--; | 1455 buildCounterMetricShortId--; |
| 1433 } | 1456 } |
| 1434 | 1457 |
| 1435 buildUnnamed3077() { | 1458 buildUnnamed3168() { |
| 1436 var o = new core.Map<core.String, core.String>(); | 1459 var o = new core.Map<core.String, core.String>(); |
| 1437 o["x"] = "foo"; | 1460 o["x"] = "foo"; |
| 1438 o["y"] = "foo"; | 1461 o["y"] = "foo"; |
| 1439 return o; | 1462 return o; |
| 1440 } | 1463 } |
| 1441 | 1464 |
| 1442 checkUnnamed3077(core.Map<core.String, core.String> o) { | 1465 checkUnnamed3168(core.Map<core.String, core.String> o) { |
| 1443 unittest.expect(o, unittest.hasLength(2)); | 1466 unittest.expect(o, unittest.hasLength(2)); |
| 1444 unittest.expect(o["x"], unittest.equals('foo')); | 1467 unittest.expect(o["x"], unittest.equals('foo')); |
| 1445 unittest.expect(o["y"], unittest.equals('foo')); | 1468 unittest.expect(o["y"], unittest.equals('foo')); |
| 1446 } | 1469 } |
| 1447 | 1470 |
| 1448 core.int buildCounterMetricStructuredName = 0; | 1471 core.int buildCounterMetricStructuredName = 0; |
| 1449 buildMetricStructuredName() { | 1472 buildMetricStructuredName() { |
| 1450 var o = new api.MetricStructuredName(); | 1473 var o = new api.MetricStructuredName(); |
| 1451 buildCounterMetricStructuredName++; | 1474 buildCounterMetricStructuredName++; |
| 1452 if (buildCounterMetricStructuredName < 3) { | 1475 if (buildCounterMetricStructuredName < 3) { |
| 1453 o.context = buildUnnamed3077(); | 1476 o.context = buildUnnamed3168(); |
| 1454 o.name = "foo"; | 1477 o.name = "foo"; |
| 1455 o.origin = "foo"; | 1478 o.origin = "foo"; |
| 1456 } | 1479 } |
| 1457 buildCounterMetricStructuredName--; | 1480 buildCounterMetricStructuredName--; |
| 1458 return o; | 1481 return o; |
| 1459 } | 1482 } |
| 1460 | 1483 |
| 1461 checkMetricStructuredName(api.MetricStructuredName o) { | 1484 checkMetricStructuredName(api.MetricStructuredName o) { |
| 1462 buildCounterMetricStructuredName++; | 1485 buildCounterMetricStructuredName++; |
| 1463 if (buildCounterMetricStructuredName < 3) { | 1486 if (buildCounterMetricStructuredName < 3) { |
| 1464 checkUnnamed3077(o.context); | 1487 checkUnnamed3168(o.context); |
| 1465 unittest.expect(o.name, unittest.equals('foo')); | 1488 unittest.expect(o.name, unittest.equals('foo')); |
| 1466 unittest.expect(o.origin, unittest.equals('foo')); | 1489 unittest.expect(o.origin, unittest.equals('foo')); |
| 1467 } | 1490 } |
| 1468 buildCounterMetricStructuredName--; | 1491 buildCounterMetricStructuredName--; |
| 1469 } | 1492 } |
| 1470 | 1493 |
| 1471 core.int buildCounterMetricUpdate = 0; | 1494 core.int buildCounterMetricUpdate = 0; |
| 1472 buildMetricUpdate() { | 1495 buildMetricUpdate() { |
| 1473 var o = new api.MetricUpdate(); | 1496 var o = new api.MetricUpdate(); |
| 1474 buildCounterMetricUpdate++; | 1497 buildCounterMetricUpdate++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 | 1599 |
| 1577 checkPackage(api.Package o) { | 1600 checkPackage(api.Package o) { |
| 1578 buildCounterPackage++; | 1601 buildCounterPackage++; |
| 1579 if (buildCounterPackage < 3) { | 1602 if (buildCounterPackage < 3) { |
| 1580 unittest.expect(o.location, unittest.equals('foo')); | 1603 unittest.expect(o.location, unittest.equals('foo')); |
| 1581 unittest.expect(o.name, unittest.equals('foo')); | 1604 unittest.expect(o.name, unittest.equals('foo')); |
| 1582 } | 1605 } |
| 1583 buildCounterPackage--; | 1606 buildCounterPackage--; |
| 1584 } | 1607 } |
| 1585 | 1608 |
| 1586 buildUnnamed3078() { | 1609 buildUnnamed3169() { |
| 1587 var o = new core.List<api.MultiOutputInfo>(); | 1610 var o = new core.List<api.MultiOutputInfo>(); |
| 1588 o.add(buildMultiOutputInfo()); | 1611 o.add(buildMultiOutputInfo()); |
| 1589 o.add(buildMultiOutputInfo()); | 1612 o.add(buildMultiOutputInfo()); |
| 1590 return o; | 1613 return o; |
| 1591 } | 1614 } |
| 1592 | 1615 |
| 1593 checkUnnamed3078(core.List<api.MultiOutputInfo> o) { | 1616 checkUnnamed3169(core.List<api.MultiOutputInfo> o) { |
| 1594 unittest.expect(o, unittest.hasLength(2)); | 1617 unittest.expect(o, unittest.hasLength(2)); |
| 1595 checkMultiOutputInfo(o[0]); | 1618 checkMultiOutputInfo(o[0]); |
| 1596 checkMultiOutputInfo(o[1]); | 1619 checkMultiOutputInfo(o[1]); |
| 1597 } | 1620 } |
| 1598 | 1621 |
| 1599 buildUnnamed3079() { | 1622 buildUnnamed3170() { |
| 1600 var o = new core.List<api.SideInputInfo>(); | 1623 var o = new core.List<api.SideInputInfo>(); |
| 1601 o.add(buildSideInputInfo()); | 1624 o.add(buildSideInputInfo()); |
| 1602 o.add(buildSideInputInfo()); | 1625 o.add(buildSideInputInfo()); |
| 1603 return o; | 1626 return o; |
| 1604 } | 1627 } |
| 1605 | 1628 |
| 1606 checkUnnamed3079(core.List<api.SideInputInfo> o) { | 1629 checkUnnamed3170(core.List<api.SideInputInfo> o) { |
| 1607 unittest.expect(o, unittest.hasLength(2)); | 1630 unittest.expect(o, unittest.hasLength(2)); |
| 1608 checkSideInputInfo(o[0]); | 1631 checkSideInputInfo(o[0]); |
| 1609 checkSideInputInfo(o[1]); | 1632 checkSideInputInfo(o[1]); |
| 1610 } | 1633 } |
| 1611 | 1634 |
| 1612 buildUnnamed3080() { | 1635 buildUnnamed3171() { |
| 1613 var o = new core.Map<core.String, core.Object>(); | 1636 var o = new core.Map<core.String, core.Object>(); |
| 1614 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1637 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1615 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1638 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1616 return o; | 1639 return o; |
| 1617 } | 1640 } |
| 1618 | 1641 |
| 1619 checkUnnamed3080(core.Map<core.String, core.Object> o) { | 1642 checkUnnamed3171(core.Map<core.String, core.Object> o) { |
| 1620 unittest.expect(o, unittest.hasLength(2)); | 1643 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 1644 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')); |
| 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')); | 1645 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')); |
| 1623 } | 1646 } |
| 1624 | 1647 |
| 1625 core.int buildCounterParDoInstruction = 0; | 1648 core.int buildCounterParDoInstruction = 0; |
| 1626 buildParDoInstruction() { | 1649 buildParDoInstruction() { |
| 1627 var o = new api.ParDoInstruction(); | 1650 var o = new api.ParDoInstruction(); |
| 1628 buildCounterParDoInstruction++; | 1651 buildCounterParDoInstruction++; |
| 1629 if (buildCounterParDoInstruction < 3) { | 1652 if (buildCounterParDoInstruction < 3) { |
| 1630 o.input = buildInstructionInput(); | 1653 o.input = buildInstructionInput(); |
| 1631 o.multiOutputInfos = buildUnnamed3078(); | 1654 o.multiOutputInfos = buildUnnamed3169(); |
| 1632 o.numOutputs = 42; | 1655 o.numOutputs = 42; |
| 1633 o.sideInputs = buildUnnamed3079(); | 1656 o.sideInputs = buildUnnamed3170(); |
| 1634 o.userFn = buildUnnamed3080(); | 1657 o.userFn = buildUnnamed3171(); |
| 1635 } | 1658 } |
| 1636 buildCounterParDoInstruction--; | 1659 buildCounterParDoInstruction--; |
| 1637 return o; | 1660 return o; |
| 1638 } | 1661 } |
| 1639 | 1662 |
| 1640 checkParDoInstruction(api.ParDoInstruction o) { | 1663 checkParDoInstruction(api.ParDoInstruction o) { |
| 1641 buildCounterParDoInstruction++; | 1664 buildCounterParDoInstruction++; |
| 1642 if (buildCounterParDoInstruction < 3) { | 1665 if (buildCounterParDoInstruction < 3) { |
| 1643 checkInstructionInput(o.input); | 1666 checkInstructionInput(o.input); |
| 1644 checkUnnamed3078(o.multiOutputInfos); | 1667 checkUnnamed3169(o.multiOutputInfos); |
| 1645 unittest.expect(o.numOutputs, unittest.equals(42)); | 1668 unittest.expect(o.numOutputs, unittest.equals(42)); |
| 1646 checkUnnamed3079(o.sideInputs); | 1669 checkUnnamed3170(o.sideInputs); |
| 1647 checkUnnamed3080(o.userFn); | 1670 checkUnnamed3171(o.userFn); |
| 1648 } | 1671 } |
| 1649 buildCounterParDoInstruction--; | 1672 buildCounterParDoInstruction--; |
| 1650 } | 1673 } |
| 1651 | 1674 |
| 1652 buildUnnamed3081() { | 1675 buildUnnamed3172() { |
| 1653 var o = new core.List<api.InstructionOutput>(); | 1676 var o = new core.List<api.InstructionOutput>(); |
| 1654 o.add(buildInstructionOutput()); | 1677 o.add(buildInstructionOutput()); |
| 1655 o.add(buildInstructionOutput()); | 1678 o.add(buildInstructionOutput()); |
| 1656 return o; | 1679 return o; |
| 1657 } | 1680 } |
| 1658 | 1681 |
| 1659 checkUnnamed3081(core.List<api.InstructionOutput> o) { | 1682 checkUnnamed3172(core.List<api.InstructionOutput> o) { |
| 1660 unittest.expect(o, unittest.hasLength(2)); | 1683 unittest.expect(o, unittest.hasLength(2)); |
| 1661 checkInstructionOutput(o[0]); | 1684 checkInstructionOutput(o[0]); |
| 1662 checkInstructionOutput(o[1]); | 1685 checkInstructionOutput(o[1]); |
| 1663 } | 1686 } |
| 1664 | 1687 |
| 1665 core.int buildCounterParallelInstruction = 0; | 1688 core.int buildCounterParallelInstruction = 0; |
| 1666 buildParallelInstruction() { | 1689 buildParallelInstruction() { |
| 1667 var o = new api.ParallelInstruction(); | 1690 var o = new api.ParallelInstruction(); |
| 1668 buildCounterParallelInstruction++; | 1691 buildCounterParallelInstruction++; |
| 1669 if (buildCounterParallelInstruction < 3) { | 1692 if (buildCounterParallelInstruction < 3) { |
| 1670 o.flatten = buildFlattenInstruction(); | 1693 o.flatten = buildFlattenInstruction(); |
| 1671 o.name = "foo"; | 1694 o.name = "foo"; |
| 1672 o.originalName = "foo"; | 1695 o.originalName = "foo"; |
| 1673 o.outputs = buildUnnamed3081(); | 1696 o.outputs = buildUnnamed3172(); |
| 1674 o.parDo = buildParDoInstruction(); | 1697 o.parDo = buildParDoInstruction(); |
| 1675 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); | 1698 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); |
| 1676 o.read = buildReadInstruction(); | 1699 o.read = buildReadInstruction(); |
| 1677 o.systemName = "foo"; | 1700 o.systemName = "foo"; |
| 1678 o.write = buildWriteInstruction(); | 1701 o.write = buildWriteInstruction(); |
| 1679 } | 1702 } |
| 1680 buildCounterParallelInstruction--; | 1703 buildCounterParallelInstruction--; |
| 1681 return o; | 1704 return o; |
| 1682 } | 1705 } |
| 1683 | 1706 |
| 1684 checkParallelInstruction(api.ParallelInstruction o) { | 1707 checkParallelInstruction(api.ParallelInstruction o) { |
| 1685 buildCounterParallelInstruction++; | 1708 buildCounterParallelInstruction++; |
| 1686 if (buildCounterParallelInstruction < 3) { | 1709 if (buildCounterParallelInstruction < 3) { |
| 1687 checkFlattenInstruction(o.flatten); | 1710 checkFlattenInstruction(o.flatten); |
| 1688 unittest.expect(o.name, unittest.equals('foo')); | 1711 unittest.expect(o.name, unittest.equals('foo')); |
| 1689 unittest.expect(o.originalName, unittest.equals('foo')); | 1712 unittest.expect(o.originalName, unittest.equals('foo')); |
| 1690 checkUnnamed3081(o.outputs); | 1713 checkUnnamed3172(o.outputs); |
| 1691 checkParDoInstruction(o.parDo); | 1714 checkParDoInstruction(o.parDo); |
| 1692 checkPartialGroupByKeyInstruction(o.partialGroupByKey); | 1715 checkPartialGroupByKeyInstruction(o.partialGroupByKey); |
| 1693 checkReadInstruction(o.read); | 1716 checkReadInstruction(o.read); |
| 1694 unittest.expect(o.systemName, unittest.equals('foo')); | 1717 unittest.expect(o.systemName, unittest.equals('foo')); |
| 1695 checkWriteInstruction(o.write); | 1718 checkWriteInstruction(o.write); |
| 1696 } | 1719 } |
| 1697 buildCounterParallelInstruction--; | 1720 buildCounterParallelInstruction--; |
| 1698 } | 1721 } |
| 1699 | 1722 |
| 1700 buildUnnamed3082() { | 1723 buildUnnamed3173() { |
| 1701 var o = new core.Map<core.String, core.Object>(); | 1724 var o = new core.Map<core.String, core.Object>(); |
| 1702 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1725 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1703 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1726 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1704 return o; | 1727 return o; |
| 1705 } | 1728 } |
| 1706 | 1729 |
| 1707 checkUnnamed3082(core.Map<core.String, core.Object> o) { | 1730 checkUnnamed3173(core.Map<core.String, core.Object> o) { |
| 1708 unittest.expect(o, unittest.hasLength(2)); | 1731 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 1732 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')); |
| 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')); | 1733 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')); |
| 1711 } | 1734 } |
| 1712 | 1735 |
| 1713 buildUnnamed3083() { | 1736 buildUnnamed3174() { |
| 1714 var o = new core.List<api.SideInputInfo>(); | 1737 var o = new core.List<api.SideInputInfo>(); |
| 1715 o.add(buildSideInputInfo()); | 1738 o.add(buildSideInputInfo()); |
| 1716 o.add(buildSideInputInfo()); | 1739 o.add(buildSideInputInfo()); |
| 1717 return o; | 1740 return o; |
| 1718 } | 1741 } |
| 1719 | 1742 |
| 1720 checkUnnamed3083(core.List<api.SideInputInfo> o) { | 1743 checkUnnamed3174(core.List<api.SideInputInfo> o) { |
| 1721 unittest.expect(o, unittest.hasLength(2)); | 1744 unittest.expect(o, unittest.hasLength(2)); |
| 1722 checkSideInputInfo(o[0]); | 1745 checkSideInputInfo(o[0]); |
| 1723 checkSideInputInfo(o[1]); | 1746 checkSideInputInfo(o[1]); |
| 1724 } | 1747 } |
| 1725 | 1748 |
| 1726 buildUnnamed3084() { | 1749 buildUnnamed3175() { |
| 1727 var o = new core.Map<core.String, core.Object>(); | 1750 var o = new core.Map<core.String, core.Object>(); |
| 1728 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1751 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1729 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1752 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1730 return o; | 1753 return o; |
| 1731 } | 1754 } |
| 1732 | 1755 |
| 1733 checkUnnamed3084(core.Map<core.String, core.Object> o) { | 1756 checkUnnamed3175(core.Map<core.String, core.Object> o) { |
| 1734 unittest.expect(o, unittest.hasLength(2)); | 1757 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 1758 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')); |
| 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')); | 1759 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')); |
| 1737 } | 1760 } |
| 1738 | 1761 |
| 1739 core.int buildCounterPartialGroupByKeyInstruction = 0; | 1762 core.int buildCounterPartialGroupByKeyInstruction = 0; |
| 1740 buildPartialGroupByKeyInstruction() { | 1763 buildPartialGroupByKeyInstruction() { |
| 1741 var o = new api.PartialGroupByKeyInstruction(); | 1764 var o = new api.PartialGroupByKeyInstruction(); |
| 1742 buildCounterPartialGroupByKeyInstruction++; | 1765 buildCounterPartialGroupByKeyInstruction++; |
| 1743 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1766 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1744 o.input = buildInstructionInput(); | 1767 o.input = buildInstructionInput(); |
| 1745 o.inputElementCodec = buildUnnamed3082(); | 1768 o.inputElementCodec = buildUnnamed3173(); |
| 1746 o.originalCombineValuesInputStoreName = "foo"; | 1769 o.originalCombineValuesInputStoreName = "foo"; |
| 1747 o.originalCombineValuesStepName = "foo"; | 1770 o.originalCombineValuesStepName = "foo"; |
| 1748 o.sideInputs = buildUnnamed3083(); | 1771 o.sideInputs = buildUnnamed3174(); |
| 1749 o.valueCombiningFn = buildUnnamed3084(); | 1772 o.valueCombiningFn = buildUnnamed3175(); |
| 1750 } | 1773 } |
| 1751 buildCounterPartialGroupByKeyInstruction--; | 1774 buildCounterPartialGroupByKeyInstruction--; |
| 1752 return o; | 1775 return o; |
| 1753 } | 1776 } |
| 1754 | 1777 |
| 1755 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { | 1778 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { |
| 1756 buildCounterPartialGroupByKeyInstruction++; | 1779 buildCounterPartialGroupByKeyInstruction++; |
| 1757 if (buildCounterPartialGroupByKeyInstruction < 3) { | 1780 if (buildCounterPartialGroupByKeyInstruction < 3) { |
| 1758 checkInstructionInput(o.input); | 1781 checkInstructionInput(o.input); |
| 1759 checkUnnamed3082(o.inputElementCodec); | 1782 checkUnnamed3173(o.inputElementCodec); |
| 1760 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); | 1783 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'
)); |
| 1761 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); | 1784 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); |
| 1762 checkUnnamed3083(o.sideInputs); | 1785 checkUnnamed3174(o.sideInputs); |
| 1763 checkUnnamed3084(o.valueCombiningFn); | 1786 checkUnnamed3175(o.valueCombiningFn); |
| 1764 } | 1787 } |
| 1765 buildCounterPartialGroupByKeyInstruction--; | 1788 buildCounterPartialGroupByKeyInstruction--; |
| 1766 } | 1789 } |
| 1767 | 1790 |
| 1768 core.int buildCounterPosition = 0; | 1791 core.int buildCounterPosition = 0; |
| 1769 buildPosition() { | 1792 buildPosition() { |
| 1770 var o = new api.Position(); | 1793 var o = new api.Position(); |
| 1771 buildCounterPosition++; | 1794 buildCounterPosition++; |
| 1772 if (buildCounterPosition < 3) { | 1795 if (buildCounterPosition < 3) { |
| 1773 o.byteOffset = "foo"; | 1796 o.byteOffset = "foo"; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1837 } | 1860 } |
| 1838 | 1861 |
| 1839 checkReadInstruction(api.ReadInstruction o) { | 1862 checkReadInstruction(api.ReadInstruction o) { |
| 1840 buildCounterReadInstruction++; | 1863 buildCounterReadInstruction++; |
| 1841 if (buildCounterReadInstruction < 3) { | 1864 if (buildCounterReadInstruction < 3) { |
| 1842 checkSource(o.source); | 1865 checkSource(o.source); |
| 1843 } | 1866 } |
| 1844 buildCounterReadInstruction--; | 1867 buildCounterReadInstruction--; |
| 1845 } | 1868 } |
| 1846 | 1869 |
| 1847 buildUnnamed3085() { | 1870 buildUnnamed3176() { |
| 1848 var o = new core.List<api.WorkItemStatus>(); | 1871 var o = new core.List<api.WorkItemStatus>(); |
| 1849 o.add(buildWorkItemStatus()); | 1872 o.add(buildWorkItemStatus()); |
| 1850 o.add(buildWorkItemStatus()); | 1873 o.add(buildWorkItemStatus()); |
| 1851 return o; | 1874 return o; |
| 1852 } | 1875 } |
| 1853 | 1876 |
| 1854 checkUnnamed3085(core.List<api.WorkItemStatus> o) { | 1877 checkUnnamed3176(core.List<api.WorkItemStatus> o) { |
| 1855 unittest.expect(o, unittest.hasLength(2)); | 1878 unittest.expect(o, unittest.hasLength(2)); |
| 1856 checkWorkItemStatus(o[0]); | 1879 checkWorkItemStatus(o[0]); |
| 1857 checkWorkItemStatus(o[1]); | 1880 checkWorkItemStatus(o[1]); |
| 1858 } | 1881 } |
| 1859 | 1882 |
| 1860 core.int buildCounterReportWorkItemStatusRequest = 0; | 1883 core.int buildCounterReportWorkItemStatusRequest = 0; |
| 1861 buildReportWorkItemStatusRequest() { | 1884 buildReportWorkItemStatusRequest() { |
| 1862 var o = new api.ReportWorkItemStatusRequest(); | 1885 var o = new api.ReportWorkItemStatusRequest(); |
| 1863 buildCounterReportWorkItemStatusRequest++; | 1886 buildCounterReportWorkItemStatusRequest++; |
| 1864 if (buildCounterReportWorkItemStatusRequest < 3) { | 1887 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1865 o.currentWorkerTime = "foo"; | 1888 o.currentWorkerTime = "foo"; |
| 1866 o.location = "foo"; | 1889 o.location = "foo"; |
| 1867 o.workItemStatuses = buildUnnamed3085(); | 1890 o.workItemStatuses = buildUnnamed3176(); |
| 1868 o.workerId = "foo"; | 1891 o.workerId = "foo"; |
| 1869 } | 1892 } |
| 1870 buildCounterReportWorkItemStatusRequest--; | 1893 buildCounterReportWorkItemStatusRequest--; |
| 1871 return o; | 1894 return o; |
| 1872 } | 1895 } |
| 1873 | 1896 |
| 1874 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { | 1897 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { |
| 1875 buildCounterReportWorkItemStatusRequest++; | 1898 buildCounterReportWorkItemStatusRequest++; |
| 1876 if (buildCounterReportWorkItemStatusRequest < 3) { | 1899 if (buildCounterReportWorkItemStatusRequest < 3) { |
| 1877 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1900 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
| 1878 unittest.expect(o.location, unittest.equals('foo')); | 1901 unittest.expect(o.location, unittest.equals('foo')); |
| 1879 checkUnnamed3085(o.workItemStatuses); | 1902 checkUnnamed3176(o.workItemStatuses); |
| 1880 unittest.expect(o.workerId, unittest.equals('foo')); | 1903 unittest.expect(o.workerId, unittest.equals('foo')); |
| 1881 } | 1904 } |
| 1882 buildCounterReportWorkItemStatusRequest--; | 1905 buildCounterReportWorkItemStatusRequest--; |
| 1883 } | 1906 } |
| 1884 | 1907 |
| 1885 buildUnnamed3086() { | 1908 buildUnnamed3177() { |
| 1886 var o = new core.List<api.WorkItemServiceState>(); | 1909 var o = new core.List<api.WorkItemServiceState>(); |
| 1887 o.add(buildWorkItemServiceState()); | 1910 o.add(buildWorkItemServiceState()); |
| 1888 o.add(buildWorkItemServiceState()); | 1911 o.add(buildWorkItemServiceState()); |
| 1889 return o; | 1912 return o; |
| 1890 } | 1913 } |
| 1891 | 1914 |
| 1892 checkUnnamed3086(core.List<api.WorkItemServiceState> o) { | 1915 checkUnnamed3177(core.List<api.WorkItemServiceState> o) { |
| 1893 unittest.expect(o, unittest.hasLength(2)); | 1916 unittest.expect(o, unittest.hasLength(2)); |
| 1894 checkWorkItemServiceState(o[0]); | 1917 checkWorkItemServiceState(o[0]); |
| 1895 checkWorkItemServiceState(o[1]); | 1918 checkWorkItemServiceState(o[1]); |
| 1896 } | 1919 } |
| 1897 | 1920 |
| 1898 core.int buildCounterReportWorkItemStatusResponse = 0; | 1921 core.int buildCounterReportWorkItemStatusResponse = 0; |
| 1899 buildReportWorkItemStatusResponse() { | 1922 buildReportWorkItemStatusResponse() { |
| 1900 var o = new api.ReportWorkItemStatusResponse(); | 1923 var o = new api.ReportWorkItemStatusResponse(); |
| 1901 buildCounterReportWorkItemStatusResponse++; | 1924 buildCounterReportWorkItemStatusResponse++; |
| 1902 if (buildCounterReportWorkItemStatusResponse < 3) { | 1925 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1903 o.workItemServiceStates = buildUnnamed3086(); | 1926 o.workItemServiceStates = buildUnnamed3177(); |
| 1904 } | 1927 } |
| 1905 buildCounterReportWorkItemStatusResponse--; | 1928 buildCounterReportWorkItemStatusResponse--; |
| 1906 return o; | 1929 return o; |
| 1907 } | 1930 } |
| 1908 | 1931 |
| 1909 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { | 1932 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { |
| 1910 buildCounterReportWorkItemStatusResponse++; | 1933 buildCounterReportWorkItemStatusResponse++; |
| 1911 if (buildCounterReportWorkItemStatusResponse < 3) { | 1934 if (buildCounterReportWorkItemStatusResponse < 3) { |
| 1912 checkUnnamed3086(o.workItemServiceStates); | 1935 checkUnnamed3177(o.workItemServiceStates); |
| 1913 } | 1936 } |
| 1914 buildCounterReportWorkItemStatusResponse--; | 1937 buildCounterReportWorkItemStatusResponse--; |
| 1915 } | 1938 } |
| 1916 | 1939 |
| 1917 core.int buildCounterReportedParallelism = 0; | 1940 core.int buildCounterReportedParallelism = 0; |
| 1918 buildReportedParallelism() { | 1941 buildReportedParallelism() { |
| 1919 var o = new api.ReportedParallelism(); | 1942 var o = new api.ReportedParallelism(); |
| 1920 buildCounterReportedParallelism++; | 1943 buildCounterReportedParallelism++; |
| 1921 if (buildCounterReportedParallelism < 3) { | 1944 if (buildCounterReportedParallelism < 3) { |
| 1922 o.isInfinite = true; | 1945 o.isInfinite = true; |
| 1923 o.value = 42.0; | 1946 o.value = 42.0; |
| 1924 } | 1947 } |
| 1925 buildCounterReportedParallelism--; | 1948 buildCounterReportedParallelism--; |
| 1926 return o; | 1949 return o; |
| 1927 } | 1950 } |
| 1928 | 1951 |
| 1929 checkReportedParallelism(api.ReportedParallelism o) { | 1952 checkReportedParallelism(api.ReportedParallelism o) { |
| 1930 buildCounterReportedParallelism++; | 1953 buildCounterReportedParallelism++; |
| 1931 if (buildCounterReportedParallelism < 3) { | 1954 if (buildCounterReportedParallelism < 3) { |
| 1932 unittest.expect(o.isInfinite, unittest.isTrue); | 1955 unittest.expect(o.isInfinite, unittest.isTrue); |
| 1933 unittest.expect(o.value, unittest.equals(42.0)); | 1956 unittest.expect(o.value, unittest.equals(42.0)); |
| 1934 } | 1957 } |
| 1935 buildCounterReportedParallelism--; | 1958 buildCounterReportedParallelism--; |
| 1936 } | 1959 } |
| 1937 | 1960 |
| 1938 buildUnnamed3087() { | 1961 buildUnnamed3178() { |
| 1939 var o = new core.Map<core.String, core.Object>(); | 1962 var o = new core.List<api.CPUTime>(); |
| 1940 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1963 o.add(buildCPUTime()); |
| 1941 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1964 o.add(buildCPUTime()); |
| 1942 return o; | 1965 return o; |
| 1943 } | 1966 } |
| 1944 | 1967 |
| 1945 checkUnnamed3087(core.Map<core.String, core.Object> o) { | 1968 checkUnnamed3178(core.List<api.CPUTime> o) { |
| 1946 unittest.expect(o, unittest.hasLength(2)); | 1969 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')); | 1970 checkCPUTime(o[0]); |
| 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')); | 1971 checkCPUTime(o[1]); |
| 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 } | 1972 } |
| 1963 | 1973 |
| 1964 core.int buildCounterResourceUtilizationReport = 0; | 1974 core.int buildCounterResourceUtilizationReport = 0; |
| 1965 buildResourceUtilizationReport() { | 1975 buildResourceUtilizationReport() { |
| 1966 var o = new api.ResourceUtilizationReport(); | 1976 var o = new api.ResourceUtilizationReport(); |
| 1967 buildCounterResourceUtilizationReport++; | 1977 buildCounterResourceUtilizationReport++; |
| 1968 if (buildCounterResourceUtilizationReport < 3) { | 1978 if (buildCounterResourceUtilizationReport < 3) { |
| 1969 o.metrics = buildUnnamed3088(); | 1979 o.cpuTime = buildUnnamed3178(); |
| 1970 } | 1980 } |
| 1971 buildCounterResourceUtilizationReport--; | 1981 buildCounterResourceUtilizationReport--; |
| 1972 return o; | 1982 return o; |
| 1973 } | 1983 } |
| 1974 | 1984 |
| 1975 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { | 1985 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { |
| 1976 buildCounterResourceUtilizationReport++; | 1986 buildCounterResourceUtilizationReport++; |
| 1977 if (buildCounterResourceUtilizationReport < 3) { | 1987 if (buildCounterResourceUtilizationReport < 3) { |
| 1978 checkUnnamed3088(o.metrics); | 1988 checkUnnamed3178(o.cpuTime); |
| 1979 } | 1989 } |
| 1980 buildCounterResourceUtilizationReport--; | 1990 buildCounterResourceUtilizationReport--; |
| 1981 } | 1991 } |
| 1982 | 1992 |
| 1983 core.int buildCounterResourceUtilizationReportResponse = 0; | 1993 core.int buildCounterResourceUtilizationReportResponse = 0; |
| 1984 buildResourceUtilizationReportResponse() { | 1994 buildResourceUtilizationReportResponse() { |
| 1985 var o = new api.ResourceUtilizationReportResponse(); | 1995 var o = new api.ResourceUtilizationReportResponse(); |
| 1986 buildCounterResourceUtilizationReportResponse++; | 1996 buildCounterResourceUtilizationReportResponse++; |
| 1987 if (buildCounterResourceUtilizationReportResponse < 3) { | 1997 if (buildCounterResourceUtilizationReportResponse < 3) { |
| 1988 } | 1998 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2057 return o; | 2067 return o; |
| 2058 } | 2068 } |
| 2059 | 2069 |
| 2060 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { | 2070 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { |
| 2061 buildCounterSendDebugCaptureResponse++; | 2071 buildCounterSendDebugCaptureResponse++; |
| 2062 if (buildCounterSendDebugCaptureResponse < 3) { | 2072 if (buildCounterSendDebugCaptureResponse < 3) { |
| 2063 } | 2073 } |
| 2064 buildCounterSendDebugCaptureResponse--; | 2074 buildCounterSendDebugCaptureResponse--; |
| 2065 } | 2075 } |
| 2066 | 2076 |
| 2067 buildUnnamed3089() { | 2077 buildUnnamed3179() { |
| 2068 var o = new core.List<api.WorkerMessage>(); | 2078 var o = new core.List<api.WorkerMessage>(); |
| 2069 o.add(buildWorkerMessage()); | 2079 o.add(buildWorkerMessage()); |
| 2070 o.add(buildWorkerMessage()); | 2080 o.add(buildWorkerMessage()); |
| 2071 return o; | 2081 return o; |
| 2072 } | 2082 } |
| 2073 | 2083 |
| 2074 checkUnnamed3089(core.List<api.WorkerMessage> o) { | 2084 checkUnnamed3179(core.List<api.WorkerMessage> o) { |
| 2075 unittest.expect(o, unittest.hasLength(2)); | 2085 unittest.expect(o, unittest.hasLength(2)); |
| 2076 checkWorkerMessage(o[0]); | 2086 checkWorkerMessage(o[0]); |
| 2077 checkWorkerMessage(o[1]); | 2087 checkWorkerMessage(o[1]); |
| 2078 } | 2088 } |
| 2079 | 2089 |
| 2080 core.int buildCounterSendWorkerMessagesRequest = 0; | 2090 core.int buildCounterSendWorkerMessagesRequest = 0; |
| 2081 buildSendWorkerMessagesRequest() { | 2091 buildSendWorkerMessagesRequest() { |
| 2082 var o = new api.SendWorkerMessagesRequest(); | 2092 var o = new api.SendWorkerMessagesRequest(); |
| 2083 buildCounterSendWorkerMessagesRequest++; | 2093 buildCounterSendWorkerMessagesRequest++; |
| 2084 if (buildCounterSendWorkerMessagesRequest < 3) { | 2094 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 2085 o.workerMessages = buildUnnamed3089(); | 2095 o.workerMessages = buildUnnamed3179(); |
| 2086 } | 2096 } |
| 2087 buildCounterSendWorkerMessagesRequest--; | 2097 buildCounterSendWorkerMessagesRequest--; |
| 2088 return o; | 2098 return o; |
| 2089 } | 2099 } |
| 2090 | 2100 |
| 2091 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { | 2101 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { |
| 2092 buildCounterSendWorkerMessagesRequest++; | 2102 buildCounterSendWorkerMessagesRequest++; |
| 2093 if (buildCounterSendWorkerMessagesRequest < 3) { | 2103 if (buildCounterSendWorkerMessagesRequest < 3) { |
| 2094 checkUnnamed3089(o.workerMessages); | 2104 checkUnnamed3179(o.workerMessages); |
| 2095 } | 2105 } |
| 2096 buildCounterSendWorkerMessagesRequest--; | 2106 buildCounterSendWorkerMessagesRequest--; |
| 2097 } | 2107 } |
| 2098 | 2108 |
| 2099 buildUnnamed3090() { | 2109 buildUnnamed3180() { |
| 2100 var o = new core.List<api.WorkerMessageResponse>(); | 2110 var o = new core.List<api.WorkerMessageResponse>(); |
| 2101 o.add(buildWorkerMessageResponse()); | 2111 o.add(buildWorkerMessageResponse()); |
| 2102 o.add(buildWorkerMessageResponse()); | 2112 o.add(buildWorkerMessageResponse()); |
| 2103 return o; | 2113 return o; |
| 2104 } | 2114 } |
| 2105 | 2115 |
| 2106 checkUnnamed3090(core.List<api.WorkerMessageResponse> o) { | 2116 checkUnnamed3180(core.List<api.WorkerMessageResponse> o) { |
| 2107 unittest.expect(o, unittest.hasLength(2)); | 2117 unittest.expect(o, unittest.hasLength(2)); |
| 2108 checkWorkerMessageResponse(o[0]); | 2118 checkWorkerMessageResponse(o[0]); |
| 2109 checkWorkerMessageResponse(o[1]); | 2119 checkWorkerMessageResponse(o[1]); |
| 2110 } | 2120 } |
| 2111 | 2121 |
| 2112 core.int buildCounterSendWorkerMessagesResponse = 0; | 2122 core.int buildCounterSendWorkerMessagesResponse = 0; |
| 2113 buildSendWorkerMessagesResponse() { | 2123 buildSendWorkerMessagesResponse() { |
| 2114 var o = new api.SendWorkerMessagesResponse(); | 2124 var o = new api.SendWorkerMessagesResponse(); |
| 2115 buildCounterSendWorkerMessagesResponse++; | 2125 buildCounterSendWorkerMessagesResponse++; |
| 2116 if (buildCounterSendWorkerMessagesResponse < 3) { | 2126 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2117 o.workerMessageResponses = buildUnnamed3090(); | 2127 o.workerMessageResponses = buildUnnamed3180(); |
| 2118 } | 2128 } |
| 2119 buildCounterSendWorkerMessagesResponse--; | 2129 buildCounterSendWorkerMessagesResponse--; |
| 2120 return o; | 2130 return o; |
| 2121 } | 2131 } |
| 2122 | 2132 |
| 2123 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { | 2133 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { |
| 2124 buildCounterSendWorkerMessagesResponse++; | 2134 buildCounterSendWorkerMessagesResponse++; |
| 2125 if (buildCounterSendWorkerMessagesResponse < 3) { | 2135 if (buildCounterSendWorkerMessagesResponse < 3) { |
| 2126 checkUnnamed3090(o.workerMessageResponses); | 2136 checkUnnamed3180(o.workerMessageResponses); |
| 2127 } | 2137 } |
| 2128 buildCounterSendWorkerMessagesResponse--; | 2138 buildCounterSendWorkerMessagesResponse--; |
| 2129 } | 2139 } |
| 2130 | 2140 |
| 2131 buildUnnamed3091() { | 2141 buildUnnamed3181() { |
| 2132 var o = new core.List<api.SideInputInfo>(); | 2142 var o = new core.List<api.SideInputInfo>(); |
| 2133 o.add(buildSideInputInfo()); | 2143 o.add(buildSideInputInfo()); |
| 2134 o.add(buildSideInputInfo()); | 2144 o.add(buildSideInputInfo()); |
| 2135 return o; | 2145 return o; |
| 2136 } | 2146 } |
| 2137 | 2147 |
| 2138 checkUnnamed3091(core.List<api.SideInputInfo> o) { | 2148 checkUnnamed3181(core.List<api.SideInputInfo> o) { |
| 2139 unittest.expect(o, unittest.hasLength(2)); | 2149 unittest.expect(o, unittest.hasLength(2)); |
| 2140 checkSideInputInfo(o[0]); | 2150 checkSideInputInfo(o[0]); |
| 2141 checkSideInputInfo(o[1]); | 2151 checkSideInputInfo(o[1]); |
| 2142 } | 2152 } |
| 2143 | 2153 |
| 2144 buildUnnamed3092() { | 2154 buildUnnamed3182() { |
| 2145 var o = new core.List<api.SeqMapTaskOutputInfo>(); | 2155 var o = new core.List<api.SeqMapTaskOutputInfo>(); |
| 2146 o.add(buildSeqMapTaskOutputInfo()); | 2156 o.add(buildSeqMapTaskOutputInfo()); |
| 2147 o.add(buildSeqMapTaskOutputInfo()); | 2157 o.add(buildSeqMapTaskOutputInfo()); |
| 2148 return o; | 2158 return o; |
| 2149 } | 2159 } |
| 2150 | 2160 |
| 2151 checkUnnamed3092(core.List<api.SeqMapTaskOutputInfo> o) { | 2161 checkUnnamed3182(core.List<api.SeqMapTaskOutputInfo> o) { |
| 2152 unittest.expect(o, unittest.hasLength(2)); | 2162 unittest.expect(o, unittest.hasLength(2)); |
| 2153 checkSeqMapTaskOutputInfo(o[0]); | 2163 checkSeqMapTaskOutputInfo(o[0]); |
| 2154 checkSeqMapTaskOutputInfo(o[1]); | 2164 checkSeqMapTaskOutputInfo(o[1]); |
| 2155 } | 2165 } |
| 2156 | 2166 |
| 2157 buildUnnamed3093() { | 2167 buildUnnamed3183() { |
| 2158 var o = new core.Map<core.String, core.Object>(); | 2168 var o = new core.Map<core.String, core.Object>(); |
| 2159 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2169 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2160 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2170 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2161 return o; | 2171 return o; |
| 2162 } | 2172 } |
| 2163 | 2173 |
| 2164 checkUnnamed3093(core.Map<core.String, core.Object> o) { | 2174 checkUnnamed3183(core.Map<core.String, core.Object> o) { |
| 2165 unittest.expect(o, unittest.hasLength(2)); | 2175 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2176 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')); |
| 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')); | 2177 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')); |
| 2168 } | 2178 } |
| 2169 | 2179 |
| 2170 core.int buildCounterSeqMapTask = 0; | 2180 core.int buildCounterSeqMapTask = 0; |
| 2171 buildSeqMapTask() { | 2181 buildSeqMapTask() { |
| 2172 var o = new api.SeqMapTask(); | 2182 var o = new api.SeqMapTask(); |
| 2173 buildCounterSeqMapTask++; | 2183 buildCounterSeqMapTask++; |
| 2174 if (buildCounterSeqMapTask < 3) { | 2184 if (buildCounterSeqMapTask < 3) { |
| 2175 o.inputs = buildUnnamed3091(); | 2185 o.inputs = buildUnnamed3181(); |
| 2176 o.name = "foo"; | 2186 o.name = "foo"; |
| 2177 o.outputInfos = buildUnnamed3092(); | 2187 o.outputInfos = buildUnnamed3182(); |
| 2178 o.stageName = "foo"; | 2188 o.stageName = "foo"; |
| 2179 o.systemName = "foo"; | 2189 o.systemName = "foo"; |
| 2180 o.userFn = buildUnnamed3093(); | 2190 o.userFn = buildUnnamed3183(); |
| 2181 } | 2191 } |
| 2182 buildCounterSeqMapTask--; | 2192 buildCounterSeqMapTask--; |
| 2183 return o; | 2193 return o; |
| 2184 } | 2194 } |
| 2185 | 2195 |
| 2186 checkSeqMapTask(api.SeqMapTask o) { | 2196 checkSeqMapTask(api.SeqMapTask o) { |
| 2187 buildCounterSeqMapTask++; | 2197 buildCounterSeqMapTask++; |
| 2188 if (buildCounterSeqMapTask < 3) { | 2198 if (buildCounterSeqMapTask < 3) { |
| 2189 checkUnnamed3091(o.inputs); | 2199 checkUnnamed3181(o.inputs); |
| 2190 unittest.expect(o.name, unittest.equals('foo')); | 2200 unittest.expect(o.name, unittest.equals('foo')); |
| 2191 checkUnnamed3092(o.outputInfos); | 2201 checkUnnamed3182(o.outputInfos); |
| 2192 unittest.expect(o.stageName, unittest.equals('foo')); | 2202 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2193 unittest.expect(o.systemName, unittest.equals('foo')); | 2203 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2194 checkUnnamed3093(o.userFn); | 2204 checkUnnamed3183(o.userFn); |
| 2195 } | 2205 } |
| 2196 buildCounterSeqMapTask--; | 2206 buildCounterSeqMapTask--; |
| 2197 } | 2207 } |
| 2198 | 2208 |
| 2199 core.int buildCounterSeqMapTaskOutputInfo = 0; | 2209 core.int buildCounterSeqMapTaskOutputInfo = 0; |
| 2200 buildSeqMapTaskOutputInfo() { | 2210 buildSeqMapTaskOutputInfo() { |
| 2201 var o = new api.SeqMapTaskOutputInfo(); | 2211 var o = new api.SeqMapTaskOutputInfo(); |
| 2202 buildCounterSeqMapTaskOutputInfo++; | 2212 buildCounterSeqMapTaskOutputInfo++; |
| 2203 if (buildCounterSeqMapTaskOutputInfo < 3) { | 2213 if (buildCounterSeqMapTaskOutputInfo < 3) { |
| 2204 o.sink = buildSink(); | 2214 o.sink = buildSink(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2231 | 2241 |
| 2232 checkShellTask(api.ShellTask o) { | 2242 checkShellTask(api.ShellTask o) { |
| 2233 buildCounterShellTask++; | 2243 buildCounterShellTask++; |
| 2234 if (buildCounterShellTask < 3) { | 2244 if (buildCounterShellTask < 3) { |
| 2235 unittest.expect(o.command, unittest.equals('foo')); | 2245 unittest.expect(o.command, unittest.equals('foo')); |
| 2236 unittest.expect(o.exitCode, unittest.equals(42)); | 2246 unittest.expect(o.exitCode, unittest.equals(42)); |
| 2237 } | 2247 } |
| 2238 buildCounterShellTask--; | 2248 buildCounterShellTask--; |
| 2239 } | 2249 } |
| 2240 | 2250 |
| 2241 buildUnnamed3094() { | 2251 buildUnnamed3184() { |
| 2242 var o = new core.Map<core.String, core.Object>(); | 2252 var o = new core.Map<core.String, core.Object>(); |
| 2243 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2253 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2244 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2254 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2245 return o; | 2255 return o; |
| 2246 } | 2256 } |
| 2247 | 2257 |
| 2248 checkUnnamed3094(core.Map<core.String, core.Object> o) { | 2258 checkUnnamed3184(core.Map<core.String, core.Object> o) { |
| 2249 unittest.expect(o, unittest.hasLength(2)); | 2259 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2260 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')); |
| 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')); | 2261 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')); |
| 2252 } | 2262 } |
| 2253 | 2263 |
| 2254 buildUnnamed3095() { | 2264 buildUnnamed3185() { |
| 2255 var o = new core.List<api.Source>(); | 2265 var o = new core.List<api.Source>(); |
| 2256 o.add(buildSource()); | 2266 o.add(buildSource()); |
| 2257 o.add(buildSource()); | 2267 o.add(buildSource()); |
| 2258 return o; | 2268 return o; |
| 2259 } | 2269 } |
| 2260 | 2270 |
| 2261 checkUnnamed3095(core.List<api.Source> o) { | 2271 checkUnnamed3185(core.List<api.Source> o) { |
| 2262 unittest.expect(o, unittest.hasLength(2)); | 2272 unittest.expect(o, unittest.hasLength(2)); |
| 2263 checkSource(o[0]); | 2273 checkSource(o[0]); |
| 2264 checkSource(o[1]); | 2274 checkSource(o[1]); |
| 2265 } | 2275 } |
| 2266 | 2276 |
| 2267 core.int buildCounterSideInputInfo = 0; | 2277 core.int buildCounterSideInputInfo = 0; |
| 2268 buildSideInputInfo() { | 2278 buildSideInputInfo() { |
| 2269 var o = new api.SideInputInfo(); | 2279 var o = new api.SideInputInfo(); |
| 2270 buildCounterSideInputInfo++; | 2280 buildCounterSideInputInfo++; |
| 2271 if (buildCounterSideInputInfo < 3) { | 2281 if (buildCounterSideInputInfo < 3) { |
| 2272 o.kind = buildUnnamed3094(); | 2282 o.kind = buildUnnamed3184(); |
| 2273 o.sources = buildUnnamed3095(); | 2283 o.sources = buildUnnamed3185(); |
| 2274 o.tag = "foo"; | 2284 o.tag = "foo"; |
| 2275 } | 2285 } |
| 2276 buildCounterSideInputInfo--; | 2286 buildCounterSideInputInfo--; |
| 2277 return o; | 2287 return o; |
| 2278 } | 2288 } |
| 2279 | 2289 |
| 2280 checkSideInputInfo(api.SideInputInfo o) { | 2290 checkSideInputInfo(api.SideInputInfo o) { |
| 2281 buildCounterSideInputInfo++; | 2291 buildCounterSideInputInfo++; |
| 2282 if (buildCounterSideInputInfo < 3) { | 2292 if (buildCounterSideInputInfo < 3) { |
| 2283 checkUnnamed3094(o.kind); | 2293 checkUnnamed3184(o.kind); |
| 2284 checkUnnamed3095(o.sources); | 2294 checkUnnamed3185(o.sources); |
| 2285 unittest.expect(o.tag, unittest.equals('foo')); | 2295 unittest.expect(o.tag, unittest.equals('foo')); |
| 2286 } | 2296 } |
| 2287 buildCounterSideInputInfo--; | 2297 buildCounterSideInputInfo--; |
| 2288 } | 2298 } |
| 2289 | 2299 |
| 2290 buildUnnamed3096() { | 2300 buildUnnamed3186() { |
| 2291 var o = new core.Map<core.String, core.Object>(); | 2301 var o = new core.Map<core.String, core.Object>(); |
| 2292 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2302 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2293 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2303 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2294 return o; | 2304 return o; |
| 2295 } | 2305 } |
| 2296 | 2306 |
| 2297 checkUnnamed3096(core.Map<core.String, core.Object> o) { | 2307 checkUnnamed3186(core.Map<core.String, core.Object> o) { |
| 2298 unittest.expect(o, unittest.hasLength(2)); | 2308 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2309 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')); |
| 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')); | 2310 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')); |
| 2301 } | 2311 } |
| 2302 | 2312 |
| 2303 buildUnnamed3097() { | 2313 buildUnnamed3187() { |
| 2304 var o = new core.Map<core.String, core.Object>(); | 2314 var o = new core.Map<core.String, core.Object>(); |
| 2305 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2315 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2306 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2316 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2307 return o; | 2317 return o; |
| 2308 } | 2318 } |
| 2309 | 2319 |
| 2310 checkUnnamed3097(core.Map<core.String, core.Object> o) { | 2320 checkUnnamed3187(core.Map<core.String, core.Object> o) { |
| 2311 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2322 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')); |
| 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')); | 2323 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')); |
| 2314 } | 2324 } |
| 2315 | 2325 |
| 2316 core.int buildCounterSink = 0; | 2326 core.int buildCounterSink = 0; |
| 2317 buildSink() { | 2327 buildSink() { |
| 2318 var o = new api.Sink(); | 2328 var o = new api.Sink(); |
| 2319 buildCounterSink++; | 2329 buildCounterSink++; |
| 2320 if (buildCounterSink < 3) { | 2330 if (buildCounterSink < 3) { |
| 2321 o.codec = buildUnnamed3096(); | 2331 o.codec = buildUnnamed3186(); |
| 2322 o.spec = buildUnnamed3097(); | 2332 o.spec = buildUnnamed3187(); |
| 2323 } | 2333 } |
| 2324 buildCounterSink--; | 2334 buildCounterSink--; |
| 2325 return o; | 2335 return o; |
| 2326 } | 2336 } |
| 2327 | 2337 |
| 2328 checkSink(api.Sink o) { | 2338 checkSink(api.Sink o) { |
| 2329 buildCounterSink++; | 2339 buildCounterSink++; |
| 2330 if (buildCounterSink < 3) { | 2340 if (buildCounterSink < 3) { |
| 2331 checkUnnamed3096(o.codec); | 2341 checkUnnamed3186(o.codec); |
| 2332 checkUnnamed3097(o.spec); | 2342 checkUnnamed3187(o.spec); |
| 2333 } | 2343 } |
| 2334 buildCounterSink--; | 2344 buildCounterSink--; |
| 2335 } | 2345 } |
| 2336 | 2346 |
| 2337 buildUnnamed3098() { | 2347 buildUnnamed3188() { |
| 2338 var o = new core.Map<core.String, core.Object>(); | 2348 var o = new core.Map<core.String, core.Object>(); |
| 2339 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2349 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2340 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2350 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2341 return o; | 2351 return o; |
| 2342 } | 2352 } |
| 2343 | 2353 |
| 2344 checkUnnamed3098(core.Map<core.String, core.Object> o) { | 2354 checkUnnamed3188(core.Map<core.String, core.Object> o) { |
| 2345 unittest.expect(o, unittest.hasLength(2)); | 2355 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2356 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')); |
| 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')); | 2357 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')); |
| 2348 } | 2358 } |
| 2349 | 2359 |
| 2350 buildUnnamed3099() { | 2360 buildUnnamed3189() { |
| 2351 var o = new core.List<core.Map<core.String, core.Object>>(); | 2361 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2352 o.add(buildUnnamed3098()); | 2362 o.add(buildUnnamed3188()); |
| 2353 o.add(buildUnnamed3098()); | 2363 o.add(buildUnnamed3188()); |
| 2354 return o; | 2364 return o; |
| 2355 } | 2365 } |
| 2356 | 2366 |
| 2357 checkUnnamed3099(core.List<core.Map<core.String, core.Object>> o) { | 2367 checkUnnamed3189(core.List<core.Map<core.String, core.Object>> o) { |
| 2358 unittest.expect(o, unittest.hasLength(2)); | 2368 unittest.expect(o, unittest.hasLength(2)); |
| 2359 checkUnnamed3098(o[0]); | 2369 checkUnnamed3188(o[0]); |
| 2360 checkUnnamed3098(o[1]); | 2370 checkUnnamed3188(o[1]); |
| 2361 } | 2371 } |
| 2362 | 2372 |
| 2363 buildUnnamed3100() { | 2373 buildUnnamed3190() { |
| 2364 var o = new core.Map<core.String, core.Object>(); | 2374 var o = new core.Map<core.String, core.Object>(); |
| 2365 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2375 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2366 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2376 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2367 return o; | 2377 return o; |
| 2368 } | 2378 } |
| 2369 | 2379 |
| 2370 checkUnnamed3100(core.Map<core.String, core.Object> o) { | 2380 checkUnnamed3190(core.Map<core.String, core.Object> o) { |
| 2371 unittest.expect(o, unittest.hasLength(2)); | 2381 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2382 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')); |
| 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')); | 2383 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')); |
| 2374 } | 2384 } |
| 2375 | 2385 |
| 2376 buildUnnamed3101() { | 2386 buildUnnamed3191() { |
| 2377 var o = new core.Map<core.String, core.Object>(); | 2387 var o = new core.Map<core.String, core.Object>(); |
| 2378 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2388 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2379 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2389 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2380 return o; | 2390 return o; |
| 2381 } | 2391 } |
| 2382 | 2392 |
| 2383 checkUnnamed3101(core.Map<core.String, core.Object> o) { | 2393 checkUnnamed3191(core.Map<core.String, core.Object> o) { |
| 2384 unittest.expect(o, unittest.hasLength(2)); | 2394 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2395 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')); |
| 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')); | 2396 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')); |
| 2387 } | 2397 } |
| 2388 | 2398 |
| 2389 core.int buildCounterSource = 0; | 2399 core.int buildCounterSource = 0; |
| 2390 buildSource() { | 2400 buildSource() { |
| 2391 var o = new api.Source(); | 2401 var o = new api.Source(); |
| 2392 buildCounterSource++; | 2402 buildCounterSource++; |
| 2393 if (buildCounterSource < 3) { | 2403 if (buildCounterSource < 3) { |
| 2394 o.baseSpecs = buildUnnamed3099(); | 2404 o.baseSpecs = buildUnnamed3189(); |
| 2395 o.codec = buildUnnamed3100(); | 2405 o.codec = buildUnnamed3190(); |
| 2396 o.doesNotNeedSplitting = true; | 2406 o.doesNotNeedSplitting = true; |
| 2397 o.metadata = buildSourceMetadata(); | 2407 o.metadata = buildSourceMetadata(); |
| 2398 o.spec = buildUnnamed3101(); | 2408 o.spec = buildUnnamed3191(); |
| 2399 } | 2409 } |
| 2400 buildCounterSource--; | 2410 buildCounterSource--; |
| 2401 return o; | 2411 return o; |
| 2402 } | 2412 } |
| 2403 | 2413 |
| 2404 checkSource(api.Source o) { | 2414 checkSource(api.Source o) { |
| 2405 buildCounterSource++; | 2415 buildCounterSource++; |
| 2406 if (buildCounterSource < 3) { | 2416 if (buildCounterSource < 3) { |
| 2407 checkUnnamed3099(o.baseSpecs); | 2417 checkUnnamed3189(o.baseSpecs); |
| 2408 checkUnnamed3100(o.codec); | 2418 checkUnnamed3190(o.codec); |
| 2409 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); | 2419 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); |
| 2410 checkSourceMetadata(o.metadata); | 2420 checkSourceMetadata(o.metadata); |
| 2411 checkUnnamed3101(o.spec); | 2421 checkUnnamed3191(o.spec); |
| 2412 } | 2422 } |
| 2413 buildCounterSource--; | 2423 buildCounterSource--; |
| 2414 } | 2424 } |
| 2415 | 2425 |
| 2416 core.int buildCounterSourceFork = 0; | 2426 core.int buildCounterSourceFork = 0; |
| 2417 buildSourceFork() { | 2427 buildSourceFork() { |
| 2418 var o = new api.SourceFork(); | 2428 var o = new api.SourceFork(); |
| 2419 buildCounterSourceFork++; | 2429 buildCounterSourceFork++; |
| 2420 if (buildCounterSourceFork < 3) { | 2430 if (buildCounterSourceFork < 3) { |
| 2421 o.primary = buildSourceSplitShard(); | 2431 o.primary = buildSourceSplitShard(); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2576 | 2586 |
| 2577 checkSourceSplitRequest(api.SourceSplitRequest o) { | 2587 checkSourceSplitRequest(api.SourceSplitRequest o) { |
| 2578 buildCounterSourceSplitRequest++; | 2588 buildCounterSourceSplitRequest++; |
| 2579 if (buildCounterSourceSplitRequest < 3) { | 2589 if (buildCounterSourceSplitRequest < 3) { |
| 2580 checkSourceSplitOptions(o.options); | 2590 checkSourceSplitOptions(o.options); |
| 2581 checkSource(o.source); | 2591 checkSource(o.source); |
| 2582 } | 2592 } |
| 2583 buildCounterSourceSplitRequest--; | 2593 buildCounterSourceSplitRequest--; |
| 2584 } | 2594 } |
| 2585 | 2595 |
| 2586 buildUnnamed3102() { | 2596 buildUnnamed3192() { |
| 2587 var o = new core.List<api.DerivedSource>(); | 2597 var o = new core.List<api.DerivedSource>(); |
| 2588 o.add(buildDerivedSource()); | 2598 o.add(buildDerivedSource()); |
| 2589 o.add(buildDerivedSource()); | 2599 o.add(buildDerivedSource()); |
| 2590 return o; | 2600 return o; |
| 2591 } | 2601 } |
| 2592 | 2602 |
| 2593 checkUnnamed3102(core.List<api.DerivedSource> o) { | 2603 checkUnnamed3192(core.List<api.DerivedSource> o) { |
| 2594 unittest.expect(o, unittest.hasLength(2)); | 2604 unittest.expect(o, unittest.hasLength(2)); |
| 2595 checkDerivedSource(o[0]); | 2605 checkDerivedSource(o[0]); |
| 2596 checkDerivedSource(o[1]); | 2606 checkDerivedSource(o[1]); |
| 2597 } | 2607 } |
| 2598 | 2608 |
| 2599 buildUnnamed3103() { | 2609 buildUnnamed3193() { |
| 2600 var o = new core.List<api.SourceSplitShard>(); | 2610 var o = new core.List<api.SourceSplitShard>(); |
| 2601 o.add(buildSourceSplitShard()); | 2611 o.add(buildSourceSplitShard()); |
| 2602 o.add(buildSourceSplitShard()); | 2612 o.add(buildSourceSplitShard()); |
| 2603 return o; | 2613 return o; |
| 2604 } | 2614 } |
| 2605 | 2615 |
| 2606 checkUnnamed3103(core.List<api.SourceSplitShard> o) { | 2616 checkUnnamed3193(core.List<api.SourceSplitShard> o) { |
| 2607 unittest.expect(o, unittest.hasLength(2)); | 2617 unittest.expect(o, unittest.hasLength(2)); |
| 2608 checkSourceSplitShard(o[0]); | 2618 checkSourceSplitShard(o[0]); |
| 2609 checkSourceSplitShard(o[1]); | 2619 checkSourceSplitShard(o[1]); |
| 2610 } | 2620 } |
| 2611 | 2621 |
| 2612 core.int buildCounterSourceSplitResponse = 0; | 2622 core.int buildCounterSourceSplitResponse = 0; |
| 2613 buildSourceSplitResponse() { | 2623 buildSourceSplitResponse() { |
| 2614 var o = new api.SourceSplitResponse(); | 2624 var o = new api.SourceSplitResponse(); |
| 2615 buildCounterSourceSplitResponse++; | 2625 buildCounterSourceSplitResponse++; |
| 2616 if (buildCounterSourceSplitResponse < 3) { | 2626 if (buildCounterSourceSplitResponse < 3) { |
| 2617 o.bundles = buildUnnamed3102(); | 2627 o.bundles = buildUnnamed3192(); |
| 2618 o.outcome = "foo"; | 2628 o.outcome = "foo"; |
| 2619 o.shards = buildUnnamed3103(); | 2629 o.shards = buildUnnamed3193(); |
| 2620 } | 2630 } |
| 2621 buildCounterSourceSplitResponse--; | 2631 buildCounterSourceSplitResponse--; |
| 2622 return o; | 2632 return o; |
| 2623 } | 2633 } |
| 2624 | 2634 |
| 2625 checkSourceSplitResponse(api.SourceSplitResponse o) { | 2635 checkSourceSplitResponse(api.SourceSplitResponse o) { |
| 2626 buildCounterSourceSplitResponse++; | 2636 buildCounterSourceSplitResponse++; |
| 2627 if (buildCounterSourceSplitResponse < 3) { | 2637 if (buildCounterSourceSplitResponse < 3) { |
| 2628 checkUnnamed3102(o.bundles); | 2638 checkUnnamed3192(o.bundles); |
| 2629 unittest.expect(o.outcome, unittest.equals('foo')); | 2639 unittest.expect(o.outcome, unittest.equals('foo')); |
| 2630 checkUnnamed3103(o.shards); | 2640 checkUnnamed3193(o.shards); |
| 2631 } | 2641 } |
| 2632 buildCounterSourceSplitResponse--; | 2642 buildCounterSourceSplitResponse--; |
| 2633 } | 2643 } |
| 2634 | 2644 |
| 2635 core.int buildCounterSourceSplitShard = 0; | 2645 core.int buildCounterSourceSplitShard = 0; |
| 2636 buildSourceSplitShard() { | 2646 buildSourceSplitShard() { |
| 2637 var o = new api.SourceSplitShard(); | 2647 var o = new api.SourceSplitShard(); |
| 2638 buildCounterSourceSplitShard++; | 2648 buildCounterSourceSplitShard++; |
| 2639 if (buildCounterSourceSplitShard < 3) { | 2649 if (buildCounterSourceSplitShard < 3) { |
| 2640 o.derivationMode = "foo"; | 2650 o.derivationMode = "foo"; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2688 | 2698 |
| 2689 checkStateFamilyConfig(api.StateFamilyConfig o) { | 2699 checkStateFamilyConfig(api.StateFamilyConfig o) { |
| 2690 buildCounterStateFamilyConfig++; | 2700 buildCounterStateFamilyConfig++; |
| 2691 if (buildCounterStateFamilyConfig < 3) { | 2701 if (buildCounterStateFamilyConfig < 3) { |
| 2692 unittest.expect(o.isRead, unittest.isTrue); | 2702 unittest.expect(o.isRead, unittest.isTrue); |
| 2693 unittest.expect(o.stateFamily, unittest.equals('foo')); | 2703 unittest.expect(o.stateFamily, unittest.equals('foo')); |
| 2694 } | 2704 } |
| 2695 buildCounterStateFamilyConfig--; | 2705 buildCounterStateFamilyConfig--; |
| 2696 } | 2706 } |
| 2697 | 2707 |
| 2698 buildUnnamed3104() { | 2708 buildUnnamed3194() { |
| 2699 var o = new core.Map<core.String, core.Object>(); | 2709 var o = new core.Map<core.String, core.Object>(); |
| 2700 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2710 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2701 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2711 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2702 return o; | 2712 return o; |
| 2703 } | 2713 } |
| 2704 | 2714 |
| 2705 checkUnnamed3104(core.Map<core.String, core.Object> o) { | 2715 checkUnnamed3194(core.Map<core.String, core.Object> o) { |
| 2706 unittest.expect(o, unittest.hasLength(2)); | 2716 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2717 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')); |
| 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')); | 2718 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')); |
| 2709 } | 2719 } |
| 2710 | 2720 |
| 2711 buildUnnamed3105() { | 2721 buildUnnamed3195() { |
| 2712 var o = new core.List<core.Map<core.String, core.Object>>(); | 2722 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2713 o.add(buildUnnamed3104()); | 2723 o.add(buildUnnamed3194()); |
| 2714 o.add(buildUnnamed3104()); | 2724 o.add(buildUnnamed3194()); |
| 2715 return o; | 2725 return o; |
| 2716 } | 2726 } |
| 2717 | 2727 |
| 2718 checkUnnamed3105(core.List<core.Map<core.String, core.Object>> o) { | 2728 checkUnnamed3195(core.List<core.Map<core.String, core.Object>> o) { |
| 2719 unittest.expect(o, unittest.hasLength(2)); | 2729 unittest.expect(o, unittest.hasLength(2)); |
| 2720 checkUnnamed3104(o[0]); | 2730 checkUnnamed3194(o[0]); |
| 2721 checkUnnamed3104(o[1]); | 2731 checkUnnamed3194(o[1]); |
| 2722 } | 2732 } |
| 2723 | 2733 |
| 2724 core.int buildCounterStatus = 0; | 2734 core.int buildCounterStatus = 0; |
| 2725 buildStatus() { | 2735 buildStatus() { |
| 2726 var o = new api.Status(); | 2736 var o = new api.Status(); |
| 2727 buildCounterStatus++; | 2737 buildCounterStatus++; |
| 2728 if (buildCounterStatus < 3) { | 2738 if (buildCounterStatus < 3) { |
| 2729 o.code = 42; | 2739 o.code = 42; |
| 2730 o.details = buildUnnamed3105(); | 2740 o.details = buildUnnamed3195(); |
| 2731 o.message = "foo"; | 2741 o.message = "foo"; |
| 2732 } | 2742 } |
| 2733 buildCounterStatus--; | 2743 buildCounterStatus--; |
| 2734 return o; | 2744 return o; |
| 2735 } | 2745 } |
| 2736 | 2746 |
| 2737 checkStatus(api.Status o) { | 2747 checkStatus(api.Status o) { |
| 2738 buildCounterStatus++; | 2748 buildCounterStatus++; |
| 2739 if (buildCounterStatus < 3) { | 2749 if (buildCounterStatus < 3) { |
| 2740 unittest.expect(o.code, unittest.equals(42)); | 2750 unittest.expect(o.code, unittest.equals(42)); |
| 2741 checkUnnamed3105(o.details); | 2751 checkUnnamed3195(o.details); |
| 2742 unittest.expect(o.message, unittest.equals('foo')); | 2752 unittest.expect(o.message, unittest.equals('foo')); |
| 2743 } | 2753 } |
| 2744 buildCounterStatus--; | 2754 buildCounterStatus--; |
| 2745 } | 2755 } |
| 2746 | 2756 |
| 2747 buildUnnamed3106() { | 2757 buildUnnamed3196() { |
| 2748 var o = new core.Map<core.String, core.Object>(); | 2758 var o = new core.Map<core.String, core.Object>(); |
| 2749 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2759 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2750 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2760 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2751 return o; | 2761 return o; |
| 2752 } | 2762 } |
| 2753 | 2763 |
| 2754 checkUnnamed3106(core.Map<core.String, core.Object> o) { | 2764 checkUnnamed3196(core.Map<core.String, core.Object> o) { |
| 2755 unittest.expect(o, unittest.hasLength(2)); | 2765 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 2766 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')); |
| 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')); | 2767 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')); |
| 2758 } | 2768 } |
| 2759 | 2769 |
| 2760 core.int buildCounterStep = 0; | 2770 core.int buildCounterStep = 0; |
| 2761 buildStep() { | 2771 buildStep() { |
| 2762 var o = new api.Step(); | 2772 var o = new api.Step(); |
| 2763 buildCounterStep++; | 2773 buildCounterStep++; |
| 2764 if (buildCounterStep < 3) { | 2774 if (buildCounterStep < 3) { |
| 2765 o.kind = "foo"; | 2775 o.kind = "foo"; |
| 2766 o.name = "foo"; | 2776 o.name = "foo"; |
| 2767 o.properties = buildUnnamed3106(); | 2777 o.properties = buildUnnamed3196(); |
| 2768 } | 2778 } |
| 2769 buildCounterStep--; | 2779 buildCounterStep--; |
| 2770 return o; | 2780 return o; |
| 2771 } | 2781 } |
| 2772 | 2782 |
| 2773 checkStep(api.Step o) { | 2783 checkStep(api.Step o) { |
| 2774 buildCounterStep++; | 2784 buildCounterStep++; |
| 2775 if (buildCounterStep < 3) { | 2785 if (buildCounterStep < 3) { |
| 2776 unittest.expect(o.kind, unittest.equals('foo')); | 2786 unittest.expect(o.kind, unittest.equals('foo')); |
| 2777 unittest.expect(o.name, unittest.equals('foo')); | 2787 unittest.expect(o.name, unittest.equals('foo')); |
| 2778 checkUnnamed3106(o.properties); | 2788 checkUnnamed3196(o.properties); |
| 2779 } | 2789 } |
| 2780 buildCounterStep--; | 2790 buildCounterStep--; |
| 2781 } | 2791 } |
| 2782 | 2792 |
| 2783 core.int buildCounterStreamLocation = 0; | 2793 core.int buildCounterStreamLocation = 0; |
| 2784 buildStreamLocation() { | 2794 buildStreamLocation() { |
| 2785 var o = new api.StreamLocation(); | 2795 var o = new api.StreamLocation(); |
| 2786 buildCounterStreamLocation++; | 2796 buildCounterStreamLocation++; |
| 2787 if (buildCounterStreamLocation < 3) { | 2797 if (buildCounterStreamLocation < 3) { |
| 2788 o.customSourceLocation = buildCustomSourceLocation(); | 2798 o.customSourceLocation = buildCustomSourceLocation(); |
| 2789 o.pubsubLocation = buildPubsubLocation(); | 2799 o.pubsubLocation = buildPubsubLocation(); |
| 2790 o.sideInputLocation = buildStreamingSideInputLocation(); | 2800 o.sideInputLocation = buildStreamingSideInputLocation(); |
| 2791 o.streamingStageLocation = buildStreamingStageLocation(); | 2801 o.streamingStageLocation = buildStreamingStageLocation(); |
| 2792 } | 2802 } |
| 2793 buildCounterStreamLocation--; | 2803 buildCounterStreamLocation--; |
| 2794 return o; | 2804 return o; |
| 2795 } | 2805 } |
| 2796 | 2806 |
| 2797 checkStreamLocation(api.StreamLocation o) { | 2807 checkStreamLocation(api.StreamLocation o) { |
| 2798 buildCounterStreamLocation++; | 2808 buildCounterStreamLocation++; |
| 2799 if (buildCounterStreamLocation < 3) { | 2809 if (buildCounterStreamLocation < 3) { |
| 2800 checkCustomSourceLocation(o.customSourceLocation); | 2810 checkCustomSourceLocation(o.customSourceLocation); |
| 2801 checkPubsubLocation(o.pubsubLocation); | 2811 checkPubsubLocation(o.pubsubLocation); |
| 2802 checkStreamingSideInputLocation(o.sideInputLocation); | 2812 checkStreamingSideInputLocation(o.sideInputLocation); |
| 2803 checkStreamingStageLocation(o.streamingStageLocation); | 2813 checkStreamingStageLocation(o.streamingStageLocation); |
| 2804 } | 2814 } |
| 2805 buildCounterStreamLocation--; | 2815 buildCounterStreamLocation--; |
| 2806 } | 2816 } |
| 2807 | 2817 |
| 2808 buildUnnamed3107() { | 2818 buildUnnamed3197() { |
| 2809 var o = new core.List<api.ParallelInstruction>(); | 2819 var o = new core.List<api.ParallelInstruction>(); |
| 2810 o.add(buildParallelInstruction()); | 2820 o.add(buildParallelInstruction()); |
| 2811 o.add(buildParallelInstruction()); | 2821 o.add(buildParallelInstruction()); |
| 2812 return o; | 2822 return o; |
| 2813 } | 2823 } |
| 2814 | 2824 |
| 2815 checkUnnamed3107(core.List<api.ParallelInstruction> o) { | 2825 checkUnnamed3197(core.List<api.ParallelInstruction> o) { |
| 2816 unittest.expect(o, unittest.hasLength(2)); | 2826 unittest.expect(o, unittest.hasLength(2)); |
| 2817 checkParallelInstruction(o[0]); | 2827 checkParallelInstruction(o[0]); |
| 2818 checkParallelInstruction(o[1]); | 2828 checkParallelInstruction(o[1]); |
| 2819 } | 2829 } |
| 2820 | 2830 |
| 2821 core.int buildCounterStreamingComputationConfig = 0; | 2831 core.int buildCounterStreamingComputationConfig = 0; |
| 2822 buildStreamingComputationConfig() { | 2832 buildStreamingComputationConfig() { |
| 2823 var o = new api.StreamingComputationConfig(); | 2833 var o = new api.StreamingComputationConfig(); |
| 2824 buildCounterStreamingComputationConfig++; | 2834 buildCounterStreamingComputationConfig++; |
| 2825 if (buildCounterStreamingComputationConfig < 3) { | 2835 if (buildCounterStreamingComputationConfig < 3) { |
| 2826 o.computationId = "foo"; | 2836 o.computationId = "foo"; |
| 2827 o.instructions = buildUnnamed3107(); | 2837 o.instructions = buildUnnamed3197(); |
| 2828 o.stageName = "foo"; | 2838 o.stageName = "foo"; |
| 2829 o.systemName = "foo"; | 2839 o.systemName = "foo"; |
| 2830 } | 2840 } |
| 2831 buildCounterStreamingComputationConfig--; | 2841 buildCounterStreamingComputationConfig--; |
| 2832 return o; | 2842 return o; |
| 2833 } | 2843 } |
| 2834 | 2844 |
| 2835 checkStreamingComputationConfig(api.StreamingComputationConfig o) { | 2845 checkStreamingComputationConfig(api.StreamingComputationConfig o) { |
| 2836 buildCounterStreamingComputationConfig++; | 2846 buildCounterStreamingComputationConfig++; |
| 2837 if (buildCounterStreamingComputationConfig < 3) { | 2847 if (buildCounterStreamingComputationConfig < 3) { |
| 2838 unittest.expect(o.computationId, unittest.equals('foo')); | 2848 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2839 checkUnnamed3107(o.instructions); | 2849 checkUnnamed3197(o.instructions); |
| 2840 unittest.expect(o.stageName, unittest.equals('foo')); | 2850 unittest.expect(o.stageName, unittest.equals('foo')); |
| 2841 unittest.expect(o.systemName, unittest.equals('foo')); | 2851 unittest.expect(o.systemName, unittest.equals('foo')); |
| 2842 } | 2852 } |
| 2843 buildCounterStreamingComputationConfig--; | 2853 buildCounterStreamingComputationConfig--; |
| 2844 } | 2854 } |
| 2845 | 2855 |
| 2846 buildUnnamed3108() { | 2856 buildUnnamed3198() { |
| 2847 var o = new core.List<api.KeyRangeDataDiskAssignment>(); | 2857 var o = new core.List<api.KeyRangeDataDiskAssignment>(); |
| 2848 o.add(buildKeyRangeDataDiskAssignment()); | 2858 o.add(buildKeyRangeDataDiskAssignment()); |
| 2849 o.add(buildKeyRangeDataDiskAssignment()); | 2859 o.add(buildKeyRangeDataDiskAssignment()); |
| 2850 return o; | 2860 return o; |
| 2851 } | 2861 } |
| 2852 | 2862 |
| 2853 checkUnnamed3108(core.List<api.KeyRangeDataDiskAssignment> o) { | 2863 checkUnnamed3198(core.List<api.KeyRangeDataDiskAssignment> o) { |
| 2854 unittest.expect(o, unittest.hasLength(2)); | 2864 unittest.expect(o, unittest.hasLength(2)); |
| 2855 checkKeyRangeDataDiskAssignment(o[0]); | 2865 checkKeyRangeDataDiskAssignment(o[0]); |
| 2856 checkKeyRangeDataDiskAssignment(o[1]); | 2866 checkKeyRangeDataDiskAssignment(o[1]); |
| 2857 } | 2867 } |
| 2858 | 2868 |
| 2859 core.int buildCounterStreamingComputationRanges = 0; | 2869 core.int buildCounterStreamingComputationRanges = 0; |
| 2860 buildStreamingComputationRanges() { | 2870 buildStreamingComputationRanges() { |
| 2861 var o = new api.StreamingComputationRanges(); | 2871 var o = new api.StreamingComputationRanges(); |
| 2862 buildCounterStreamingComputationRanges++; | 2872 buildCounterStreamingComputationRanges++; |
| 2863 if (buildCounterStreamingComputationRanges < 3) { | 2873 if (buildCounterStreamingComputationRanges < 3) { |
| 2864 o.computationId = "foo"; | 2874 o.computationId = "foo"; |
| 2865 o.rangeAssignments = buildUnnamed3108(); | 2875 o.rangeAssignments = buildUnnamed3198(); |
| 2866 } | 2876 } |
| 2867 buildCounterStreamingComputationRanges--; | 2877 buildCounterStreamingComputationRanges--; |
| 2868 return o; | 2878 return o; |
| 2869 } | 2879 } |
| 2870 | 2880 |
| 2871 checkStreamingComputationRanges(api.StreamingComputationRanges o) { | 2881 checkStreamingComputationRanges(api.StreamingComputationRanges o) { |
| 2872 buildCounterStreamingComputationRanges++; | 2882 buildCounterStreamingComputationRanges++; |
| 2873 if (buildCounterStreamingComputationRanges < 3) { | 2883 if (buildCounterStreamingComputationRanges < 3) { |
| 2874 unittest.expect(o.computationId, unittest.equals('foo')); | 2884 unittest.expect(o.computationId, unittest.equals('foo')); |
| 2875 checkUnnamed3108(o.rangeAssignments); | 2885 checkUnnamed3198(o.rangeAssignments); |
| 2876 } | 2886 } |
| 2877 buildCounterStreamingComputationRanges--; | 2887 buildCounterStreamingComputationRanges--; |
| 2878 } | 2888 } |
| 2879 | 2889 |
| 2880 buildUnnamed3109() { | 2890 buildUnnamed3199() { |
| 2881 var o = new core.List<api.StreamingComputationRanges>(); | 2891 var o = new core.List<api.StreamingComputationRanges>(); |
| 2882 o.add(buildStreamingComputationRanges()); | 2892 o.add(buildStreamingComputationRanges()); |
| 2883 o.add(buildStreamingComputationRanges()); | 2893 o.add(buildStreamingComputationRanges()); |
| 2884 return o; | 2894 return o; |
| 2885 } | 2895 } |
| 2886 | 2896 |
| 2887 checkUnnamed3109(core.List<api.StreamingComputationRanges> o) { | 2897 checkUnnamed3199(core.List<api.StreamingComputationRanges> o) { |
| 2888 unittest.expect(o, unittest.hasLength(2)); | 2898 unittest.expect(o, unittest.hasLength(2)); |
| 2889 checkStreamingComputationRanges(o[0]); | 2899 checkStreamingComputationRanges(o[0]); |
| 2890 checkStreamingComputationRanges(o[1]); | 2900 checkStreamingComputationRanges(o[1]); |
| 2891 } | 2901 } |
| 2892 | 2902 |
| 2893 buildUnnamed3110() { | 2903 buildUnnamed3200() { |
| 2894 var o = new core.List<api.MountedDataDisk>(); | 2904 var o = new core.List<api.MountedDataDisk>(); |
| 2895 o.add(buildMountedDataDisk()); | 2905 o.add(buildMountedDataDisk()); |
| 2896 o.add(buildMountedDataDisk()); | 2906 o.add(buildMountedDataDisk()); |
| 2897 return o; | 2907 return o; |
| 2898 } | 2908 } |
| 2899 | 2909 |
| 2900 checkUnnamed3110(core.List<api.MountedDataDisk> o) { | 2910 checkUnnamed3200(core.List<api.MountedDataDisk> o) { |
| 2901 unittest.expect(o, unittest.hasLength(2)); | 2911 unittest.expect(o, unittest.hasLength(2)); |
| 2902 checkMountedDataDisk(o[0]); | 2912 checkMountedDataDisk(o[0]); |
| 2903 checkMountedDataDisk(o[1]); | 2913 checkMountedDataDisk(o[1]); |
| 2904 } | 2914 } |
| 2905 | 2915 |
| 2906 core.int buildCounterStreamingComputationTask = 0; | 2916 core.int buildCounterStreamingComputationTask = 0; |
| 2907 buildStreamingComputationTask() { | 2917 buildStreamingComputationTask() { |
| 2908 var o = new api.StreamingComputationTask(); | 2918 var o = new api.StreamingComputationTask(); |
| 2909 buildCounterStreamingComputationTask++; | 2919 buildCounterStreamingComputationTask++; |
| 2910 if (buildCounterStreamingComputationTask < 3) { | 2920 if (buildCounterStreamingComputationTask < 3) { |
| 2911 o.computationRanges = buildUnnamed3109(); | 2921 o.computationRanges = buildUnnamed3199(); |
| 2912 o.dataDisks = buildUnnamed3110(); | 2922 o.dataDisks = buildUnnamed3200(); |
| 2913 o.taskType = "foo"; | 2923 o.taskType = "foo"; |
| 2914 } | 2924 } |
| 2915 buildCounterStreamingComputationTask--; | 2925 buildCounterStreamingComputationTask--; |
| 2916 return o; | 2926 return o; |
| 2917 } | 2927 } |
| 2918 | 2928 |
| 2919 checkStreamingComputationTask(api.StreamingComputationTask o) { | 2929 checkStreamingComputationTask(api.StreamingComputationTask o) { |
| 2920 buildCounterStreamingComputationTask++; | 2930 buildCounterStreamingComputationTask++; |
| 2921 if (buildCounterStreamingComputationTask < 3) { | 2931 if (buildCounterStreamingComputationTask < 3) { |
| 2922 checkUnnamed3109(o.computationRanges); | 2932 checkUnnamed3199(o.computationRanges); |
| 2923 checkUnnamed3110(o.dataDisks); | 2933 checkUnnamed3200(o.dataDisks); |
| 2924 unittest.expect(o.taskType, unittest.equals('foo')); | 2934 unittest.expect(o.taskType, unittest.equals('foo')); |
| 2925 } | 2935 } |
| 2926 buildCounterStreamingComputationTask--; | 2936 buildCounterStreamingComputationTask--; |
| 2927 } | 2937 } |
| 2928 | 2938 |
| 2929 buildUnnamed3111() { | 2939 buildUnnamed3201() { |
| 2930 var o = new core.List<api.StreamingComputationConfig>(); | 2940 var o = new core.List<api.StreamingComputationConfig>(); |
| 2931 o.add(buildStreamingComputationConfig()); | 2941 o.add(buildStreamingComputationConfig()); |
| 2932 o.add(buildStreamingComputationConfig()); | 2942 o.add(buildStreamingComputationConfig()); |
| 2933 return o; | 2943 return o; |
| 2934 } | 2944 } |
| 2935 | 2945 |
| 2936 checkUnnamed3111(core.List<api.StreamingComputationConfig> o) { | 2946 checkUnnamed3201(core.List<api.StreamingComputationConfig> o) { |
| 2937 unittest.expect(o, unittest.hasLength(2)); | 2947 unittest.expect(o, unittest.hasLength(2)); |
| 2938 checkStreamingComputationConfig(o[0]); | 2948 checkStreamingComputationConfig(o[0]); |
| 2939 checkStreamingComputationConfig(o[1]); | 2949 checkStreamingComputationConfig(o[1]); |
| 2940 } | 2950 } |
| 2941 | 2951 |
| 2942 buildUnnamed3112() { | 2952 buildUnnamed3202() { |
| 2943 var o = new core.Map<core.String, core.String>(); | 2953 var o = new core.Map<core.String, core.String>(); |
| 2944 o["x"] = "foo"; | 2954 o["x"] = "foo"; |
| 2945 o["y"] = "foo"; | 2955 o["y"] = "foo"; |
| 2946 return o; | 2956 return o; |
| 2947 } | 2957 } |
| 2948 | 2958 |
| 2949 checkUnnamed3112(core.Map<core.String, core.String> o) { | 2959 checkUnnamed3202(core.Map<core.String, core.String> o) { |
| 2950 unittest.expect(o, unittest.hasLength(2)); | 2960 unittest.expect(o, unittest.hasLength(2)); |
| 2951 unittest.expect(o["x"], unittest.equals('foo')); | 2961 unittest.expect(o["x"], unittest.equals('foo')); |
| 2952 unittest.expect(o["y"], unittest.equals('foo')); | 2962 unittest.expect(o["y"], unittest.equals('foo')); |
| 2953 } | 2963 } |
| 2954 | 2964 |
| 2955 core.int buildCounterStreamingConfigTask = 0; | 2965 core.int buildCounterStreamingConfigTask = 0; |
| 2956 buildStreamingConfigTask() { | 2966 buildStreamingConfigTask() { |
| 2957 var o = new api.StreamingConfigTask(); | 2967 var o = new api.StreamingConfigTask(); |
| 2958 buildCounterStreamingConfigTask++; | 2968 buildCounterStreamingConfigTask++; |
| 2959 if (buildCounterStreamingConfigTask < 3) { | 2969 if (buildCounterStreamingConfigTask < 3) { |
| 2960 o.streamingComputationConfigs = buildUnnamed3111(); | 2970 o.streamingComputationConfigs = buildUnnamed3201(); |
| 2961 o.userStepToStateFamilyNameMap = buildUnnamed3112(); | 2971 o.userStepToStateFamilyNameMap = buildUnnamed3202(); |
| 2962 } | 2972 } |
| 2963 buildCounterStreamingConfigTask--; | 2973 buildCounterStreamingConfigTask--; |
| 2964 return o; | 2974 return o; |
| 2965 } | 2975 } |
| 2966 | 2976 |
| 2967 checkStreamingConfigTask(api.StreamingConfigTask o) { | 2977 checkStreamingConfigTask(api.StreamingConfigTask o) { |
| 2968 buildCounterStreamingConfigTask++; | 2978 buildCounterStreamingConfigTask++; |
| 2969 if (buildCounterStreamingConfigTask < 3) { | 2979 if (buildCounterStreamingConfigTask < 3) { |
| 2970 checkUnnamed3111(o.streamingComputationConfigs); | 2980 checkUnnamed3201(o.streamingComputationConfigs); |
| 2971 checkUnnamed3112(o.userStepToStateFamilyNameMap); | 2981 checkUnnamed3202(o.userStepToStateFamilyNameMap); |
| 2972 } | 2982 } |
| 2973 buildCounterStreamingConfigTask--; | 2983 buildCounterStreamingConfigTask--; |
| 2974 } | 2984 } |
| 2975 | 2985 |
| 2976 core.int buildCounterStreamingSetupTask = 0; | 2986 core.int buildCounterStreamingSetupTask = 0; |
| 2977 buildStreamingSetupTask() { | 2987 buildStreamingSetupTask() { |
| 2978 var o = new api.StreamingSetupTask(); | 2988 var o = new api.StreamingSetupTask(); |
| 2979 buildCounterStreamingSetupTask++; | 2989 buildCounterStreamingSetupTask++; |
| 2980 if (buildCounterStreamingSetupTask < 3) { | 2990 if (buildCounterStreamingSetupTask < 3) { |
| 2981 o.drain = true; | 2991 o.drain = true; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3031 } | 3041 } |
| 3032 | 3042 |
| 3033 checkStreamingStageLocation(api.StreamingStageLocation o) { | 3043 checkStreamingStageLocation(api.StreamingStageLocation o) { |
| 3034 buildCounterStreamingStageLocation++; | 3044 buildCounterStreamingStageLocation++; |
| 3035 if (buildCounterStreamingStageLocation < 3) { | 3045 if (buildCounterStreamingStageLocation < 3) { |
| 3036 unittest.expect(o.streamId, unittest.equals('foo')); | 3046 unittest.expect(o.streamId, unittest.equals('foo')); |
| 3037 } | 3047 } |
| 3038 buildCounterStreamingStageLocation--; | 3048 buildCounterStreamingStageLocation--; |
| 3039 } | 3049 } |
| 3040 | 3050 |
| 3041 buildUnnamed3113() { | 3051 buildUnnamed3203() { |
| 3042 var o = new core.List<core.String>(); | 3052 var o = new core.List<core.String>(); |
| 3043 o.add("foo"); | 3053 o.add("foo"); |
| 3044 o.add("foo"); | 3054 o.add("foo"); |
| 3045 return o; | 3055 return o; |
| 3046 } | 3056 } |
| 3047 | 3057 |
| 3048 checkUnnamed3113(core.List<core.String> o) { | 3058 checkUnnamed3203(core.List<core.String> o) { |
| 3049 unittest.expect(o, unittest.hasLength(2)); | 3059 unittest.expect(o, unittest.hasLength(2)); |
| 3050 unittest.expect(o[0], unittest.equals('foo')); | 3060 unittest.expect(o[0], unittest.equals('foo')); |
| 3051 unittest.expect(o[1], unittest.equals('foo')); | 3061 unittest.expect(o[1], unittest.equals('foo')); |
| 3052 } | 3062 } |
| 3053 | 3063 |
| 3054 core.int buildCounterStringList = 0; | 3064 core.int buildCounterStringList = 0; |
| 3055 buildStringList() { | 3065 buildStringList() { |
| 3056 var o = new api.StringList(); | 3066 var o = new api.StringList(); |
| 3057 buildCounterStringList++; | 3067 buildCounterStringList++; |
| 3058 if (buildCounterStringList < 3) { | 3068 if (buildCounterStringList < 3) { |
| 3059 o.elements = buildUnnamed3113(); | 3069 o.elements = buildUnnamed3203(); |
| 3060 } | 3070 } |
| 3061 buildCounterStringList--; | 3071 buildCounterStringList--; |
| 3062 return o; | 3072 return o; |
| 3063 } | 3073 } |
| 3064 | 3074 |
| 3065 checkStringList(api.StringList o) { | 3075 checkStringList(api.StringList o) { |
| 3066 buildCounterStringList++; | 3076 buildCounterStringList++; |
| 3067 if (buildCounterStringList < 3) { | 3077 if (buildCounterStringList < 3) { |
| 3068 checkUnnamed3113(o.elements); | 3078 checkUnnamed3203(o.elements); |
| 3069 } | 3079 } |
| 3070 buildCounterStringList--; | 3080 buildCounterStringList--; |
| 3071 } | 3081 } |
| 3072 | 3082 |
| 3073 buildUnnamed3114() { | 3083 buildUnnamed3204() { |
| 3074 var o = new core.List<core.String>(); | 3084 var o = new core.List<core.String>(); |
| 3075 o.add("foo"); | 3085 o.add("foo"); |
| 3076 o.add("foo"); | 3086 o.add("foo"); |
| 3077 return o; | 3087 return o; |
| 3078 } | 3088 } |
| 3079 | 3089 |
| 3080 checkUnnamed3114(core.List<core.String> o) { | 3090 checkUnnamed3204(core.List<core.String> o) { |
| 3081 unittest.expect(o, unittest.hasLength(2)); | 3091 unittest.expect(o, unittest.hasLength(2)); |
| 3082 unittest.expect(o[0], unittest.equals('foo')); | 3092 unittest.expect(o[0], unittest.equals('foo')); |
| 3083 unittest.expect(o[1], unittest.equals('foo')); | 3093 unittest.expect(o[1], unittest.equals('foo')); |
| 3084 } | 3094 } |
| 3085 | 3095 |
| 3086 core.int buildCounterTaskRunnerSettings = 0; | 3096 core.int buildCounterTaskRunnerSettings = 0; |
| 3087 buildTaskRunnerSettings() { | 3097 buildTaskRunnerSettings() { |
| 3088 var o = new api.TaskRunnerSettings(); | 3098 var o = new api.TaskRunnerSettings(); |
| 3089 buildCounterTaskRunnerSettings++; | 3099 buildCounterTaskRunnerSettings++; |
| 3090 if (buildCounterTaskRunnerSettings < 3) { | 3100 if (buildCounterTaskRunnerSettings < 3) { |
| 3091 o.alsologtostderr = true; | 3101 o.alsologtostderr = true; |
| 3092 o.baseTaskDir = "foo"; | 3102 o.baseTaskDir = "foo"; |
| 3093 o.baseUrl = "foo"; | 3103 o.baseUrl = "foo"; |
| 3094 o.commandlinesFileName = "foo"; | 3104 o.commandlinesFileName = "foo"; |
| 3095 o.continueOnException = true; | 3105 o.continueOnException = true; |
| 3096 o.dataflowApiVersion = "foo"; | 3106 o.dataflowApiVersion = "foo"; |
| 3097 o.harnessCommand = "foo"; | 3107 o.harnessCommand = "foo"; |
| 3098 o.languageHint = "foo"; | 3108 o.languageHint = "foo"; |
| 3099 o.logDir = "foo"; | 3109 o.logDir = "foo"; |
| 3100 o.logToSerialconsole = true; | 3110 o.logToSerialconsole = true; |
| 3101 o.logUploadLocation = "foo"; | 3111 o.logUploadLocation = "foo"; |
| 3102 o.oauthScopes = buildUnnamed3114(); | 3112 o.oauthScopes = buildUnnamed3204(); |
| 3103 o.parallelWorkerSettings = buildWorkerSettings(); | 3113 o.parallelWorkerSettings = buildWorkerSettings(); |
| 3104 o.streamingWorkerMainClass = "foo"; | 3114 o.streamingWorkerMainClass = "foo"; |
| 3105 o.taskGroup = "foo"; | 3115 o.taskGroup = "foo"; |
| 3106 o.taskUser = "foo"; | 3116 o.taskUser = "foo"; |
| 3107 o.tempStoragePrefix = "foo"; | 3117 o.tempStoragePrefix = "foo"; |
| 3108 o.vmId = "foo"; | 3118 o.vmId = "foo"; |
| 3109 o.workflowFileName = "foo"; | 3119 o.workflowFileName = "foo"; |
| 3110 } | 3120 } |
| 3111 buildCounterTaskRunnerSettings--; | 3121 buildCounterTaskRunnerSettings--; |
| 3112 return o; | 3122 return o; |
| 3113 } | 3123 } |
| 3114 | 3124 |
| 3115 checkTaskRunnerSettings(api.TaskRunnerSettings o) { | 3125 checkTaskRunnerSettings(api.TaskRunnerSettings o) { |
| 3116 buildCounterTaskRunnerSettings++; | 3126 buildCounterTaskRunnerSettings++; |
| 3117 if (buildCounterTaskRunnerSettings < 3) { | 3127 if (buildCounterTaskRunnerSettings < 3) { |
| 3118 unittest.expect(o.alsologtostderr, unittest.isTrue); | 3128 unittest.expect(o.alsologtostderr, unittest.isTrue); |
| 3119 unittest.expect(o.baseTaskDir, unittest.equals('foo')); | 3129 unittest.expect(o.baseTaskDir, unittest.equals('foo')); |
| 3120 unittest.expect(o.baseUrl, unittest.equals('foo')); | 3130 unittest.expect(o.baseUrl, unittest.equals('foo')); |
| 3121 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); | 3131 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); |
| 3122 unittest.expect(o.continueOnException, unittest.isTrue); | 3132 unittest.expect(o.continueOnException, unittest.isTrue); |
| 3123 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); | 3133 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); |
| 3124 unittest.expect(o.harnessCommand, unittest.equals('foo')); | 3134 unittest.expect(o.harnessCommand, unittest.equals('foo')); |
| 3125 unittest.expect(o.languageHint, unittest.equals('foo')); | 3135 unittest.expect(o.languageHint, unittest.equals('foo')); |
| 3126 unittest.expect(o.logDir, unittest.equals('foo')); | 3136 unittest.expect(o.logDir, unittest.equals('foo')); |
| 3127 unittest.expect(o.logToSerialconsole, unittest.isTrue); | 3137 unittest.expect(o.logToSerialconsole, unittest.isTrue); |
| 3128 unittest.expect(o.logUploadLocation, unittest.equals('foo')); | 3138 unittest.expect(o.logUploadLocation, unittest.equals('foo')); |
| 3129 checkUnnamed3114(o.oauthScopes); | 3139 checkUnnamed3204(o.oauthScopes); |
| 3130 checkWorkerSettings(o.parallelWorkerSettings); | 3140 checkWorkerSettings(o.parallelWorkerSettings); |
| 3131 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); | 3141 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); |
| 3132 unittest.expect(o.taskGroup, unittest.equals('foo')); | 3142 unittest.expect(o.taskGroup, unittest.equals('foo')); |
| 3133 unittest.expect(o.taskUser, unittest.equals('foo')); | 3143 unittest.expect(o.taskUser, unittest.equals('foo')); |
| 3134 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 3144 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
| 3135 unittest.expect(o.vmId, unittest.equals('foo')); | 3145 unittest.expect(o.vmId, unittest.equals('foo')); |
| 3136 unittest.expect(o.workflowFileName, unittest.equals('foo')); | 3146 unittest.expect(o.workflowFileName, unittest.equals('foo')); |
| 3137 } | 3147 } |
| 3138 buildCounterTaskRunnerSettings--; | 3148 buildCounterTaskRunnerSettings--; |
| 3139 } | 3149 } |
| 3140 | 3150 |
| 3141 buildUnnamed3115() { | 3151 buildUnnamed3205() { |
| 3142 var o = new core.List<api.ComputationTopology>(); | 3152 var o = new core.List<api.ComputationTopology>(); |
| 3143 o.add(buildComputationTopology()); | 3153 o.add(buildComputationTopology()); |
| 3144 o.add(buildComputationTopology()); | 3154 o.add(buildComputationTopology()); |
| 3145 return o; | 3155 return o; |
| 3146 } | 3156 } |
| 3147 | 3157 |
| 3148 checkUnnamed3115(core.List<api.ComputationTopology> o) { | 3158 checkUnnamed3205(core.List<api.ComputationTopology> o) { |
| 3149 unittest.expect(o, unittest.hasLength(2)); | 3159 unittest.expect(o, unittest.hasLength(2)); |
| 3150 checkComputationTopology(o[0]); | 3160 checkComputationTopology(o[0]); |
| 3151 checkComputationTopology(o[1]); | 3161 checkComputationTopology(o[1]); |
| 3152 } | 3162 } |
| 3153 | 3163 |
| 3154 buildUnnamed3116() { | 3164 buildUnnamed3206() { |
| 3155 var o = new core.List<api.DataDiskAssignment>(); | 3165 var o = new core.List<api.DataDiskAssignment>(); |
| 3156 o.add(buildDataDiskAssignment()); | 3166 o.add(buildDataDiskAssignment()); |
| 3157 o.add(buildDataDiskAssignment()); | 3167 o.add(buildDataDiskAssignment()); |
| 3158 return o; | 3168 return o; |
| 3159 } | 3169 } |
| 3160 | 3170 |
| 3161 checkUnnamed3116(core.List<api.DataDiskAssignment> o) { | 3171 checkUnnamed3206(core.List<api.DataDiskAssignment> o) { |
| 3162 unittest.expect(o, unittest.hasLength(2)); | 3172 unittest.expect(o, unittest.hasLength(2)); |
| 3163 checkDataDiskAssignment(o[0]); | 3173 checkDataDiskAssignment(o[0]); |
| 3164 checkDataDiskAssignment(o[1]); | 3174 checkDataDiskAssignment(o[1]); |
| 3165 } | 3175 } |
| 3166 | 3176 |
| 3167 buildUnnamed3117() { | 3177 buildUnnamed3207() { |
| 3168 var o = new core.Map<core.String, core.String>(); | 3178 var o = new core.Map<core.String, core.String>(); |
| 3169 o["x"] = "foo"; | 3179 o["x"] = "foo"; |
| 3170 o["y"] = "foo"; | 3180 o["y"] = "foo"; |
| 3171 return o; | 3181 return o; |
| 3172 } | 3182 } |
| 3173 | 3183 |
| 3174 checkUnnamed3117(core.Map<core.String, core.String> o) { | 3184 checkUnnamed3207(core.Map<core.String, core.String> o) { |
| 3175 unittest.expect(o, unittest.hasLength(2)); | 3185 unittest.expect(o, unittest.hasLength(2)); |
| 3176 unittest.expect(o["x"], unittest.equals('foo')); | 3186 unittest.expect(o["x"], unittest.equals('foo')); |
| 3177 unittest.expect(o["y"], unittest.equals('foo')); | 3187 unittest.expect(o["y"], unittest.equals('foo')); |
| 3178 } | 3188 } |
| 3179 | 3189 |
| 3180 core.int buildCounterTopologyConfig = 0; | 3190 core.int buildCounterTopologyConfig = 0; |
| 3181 buildTopologyConfig() { | 3191 buildTopologyConfig() { |
| 3182 var o = new api.TopologyConfig(); | 3192 var o = new api.TopologyConfig(); |
| 3183 buildCounterTopologyConfig++; | 3193 buildCounterTopologyConfig++; |
| 3184 if (buildCounterTopologyConfig < 3) { | 3194 if (buildCounterTopologyConfig < 3) { |
| 3185 o.computations = buildUnnamed3115(); | 3195 o.computations = buildUnnamed3205(); |
| 3186 o.dataDiskAssignments = buildUnnamed3116(); | 3196 o.dataDiskAssignments = buildUnnamed3206(); |
| 3187 o.forwardingKeyBits = 42; | 3197 o.forwardingKeyBits = 42; |
| 3188 o.persistentStateVersion = 42; | 3198 o.persistentStateVersion = 42; |
| 3189 o.userStageToComputationNameMap = buildUnnamed3117(); | 3199 o.userStageToComputationNameMap = buildUnnamed3207(); |
| 3190 } | 3200 } |
| 3191 buildCounterTopologyConfig--; | 3201 buildCounterTopologyConfig--; |
| 3192 return o; | 3202 return o; |
| 3193 } | 3203 } |
| 3194 | 3204 |
| 3195 checkTopologyConfig(api.TopologyConfig o) { | 3205 checkTopologyConfig(api.TopologyConfig o) { |
| 3196 buildCounterTopologyConfig++; | 3206 buildCounterTopologyConfig++; |
| 3197 if (buildCounterTopologyConfig < 3) { | 3207 if (buildCounterTopologyConfig < 3) { |
| 3198 checkUnnamed3115(o.computations); | 3208 checkUnnamed3205(o.computations); |
| 3199 checkUnnamed3116(o.dataDiskAssignments); | 3209 checkUnnamed3206(o.dataDiskAssignments); |
| 3200 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); | 3210 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); |
| 3201 unittest.expect(o.persistentStateVersion, unittest.equals(42)); | 3211 unittest.expect(o.persistentStateVersion, unittest.equals(42)); |
| 3202 checkUnnamed3117(o.userStageToComputationNameMap); | 3212 checkUnnamed3207(o.userStageToComputationNameMap); |
| 3203 } | 3213 } |
| 3204 buildCounterTopologyConfig--; | 3214 buildCounterTopologyConfig--; |
| 3205 } | 3215 } |
| 3206 | 3216 |
| 3207 buildUnnamed3118() { | 3217 buildUnnamed3208() { |
| 3208 var o = new core.List<api.Package>(); | 3218 var o = new core.List<api.Package>(); |
| 3209 o.add(buildPackage()); | 3219 o.add(buildPackage()); |
| 3210 o.add(buildPackage()); | 3220 o.add(buildPackage()); |
| 3211 return o; | 3221 return o; |
| 3212 } | 3222 } |
| 3213 | 3223 |
| 3214 checkUnnamed3118(core.List<api.Package> o) { | 3224 checkUnnamed3208(core.List<api.Package> o) { |
| 3215 unittest.expect(o, unittest.hasLength(2)); | 3225 unittest.expect(o, unittest.hasLength(2)); |
| 3216 checkPackage(o[0]); | 3226 checkPackage(o[0]); |
| 3217 checkPackage(o[1]); | 3227 checkPackage(o[1]); |
| 3218 } | 3228 } |
| 3219 | 3229 |
| 3220 core.int buildCounterWorkItem = 0; | 3230 core.int buildCounterWorkItem = 0; |
| 3221 buildWorkItem() { | 3231 buildWorkItem() { |
| 3222 var o = new api.WorkItem(); | 3232 var o = new api.WorkItem(); |
| 3223 buildCounterWorkItem++; | 3233 buildCounterWorkItem++; |
| 3224 if (buildCounterWorkItem < 3) { | 3234 if (buildCounterWorkItem < 3) { |
| 3225 o.configuration = "foo"; | 3235 o.configuration = "foo"; |
| 3226 o.id = "foo"; | 3236 o.id = "foo"; |
| 3227 o.initialReportIndex = "foo"; | 3237 o.initialReportIndex = "foo"; |
| 3228 o.jobId = "foo"; | 3238 o.jobId = "foo"; |
| 3229 o.leaseExpireTime = "foo"; | 3239 o.leaseExpireTime = "foo"; |
| 3230 o.mapTask = buildMapTask(); | 3240 o.mapTask = buildMapTask(); |
| 3231 o.packages = buildUnnamed3118(); | 3241 o.packages = buildUnnamed3208(); |
| 3232 o.projectId = "foo"; | 3242 o.projectId = "foo"; |
| 3233 o.reportStatusInterval = "foo"; | 3243 o.reportStatusInterval = "foo"; |
| 3234 o.seqMapTask = buildSeqMapTask(); | 3244 o.seqMapTask = buildSeqMapTask(); |
| 3235 o.shellTask = buildShellTask(); | 3245 o.shellTask = buildShellTask(); |
| 3236 o.sourceOperationTask = buildSourceOperationRequest(); | 3246 o.sourceOperationTask = buildSourceOperationRequest(); |
| 3237 o.streamingComputationTask = buildStreamingComputationTask(); | 3247 o.streamingComputationTask = buildStreamingComputationTask(); |
| 3238 o.streamingConfigTask = buildStreamingConfigTask(); | 3248 o.streamingConfigTask = buildStreamingConfigTask(); |
| 3239 o.streamingSetupTask = buildStreamingSetupTask(); | 3249 o.streamingSetupTask = buildStreamingSetupTask(); |
| 3240 } | 3250 } |
| 3241 buildCounterWorkItem--; | 3251 buildCounterWorkItem--; |
| 3242 return o; | 3252 return o; |
| 3243 } | 3253 } |
| 3244 | 3254 |
| 3245 checkWorkItem(api.WorkItem o) { | 3255 checkWorkItem(api.WorkItem o) { |
| 3246 buildCounterWorkItem++; | 3256 buildCounterWorkItem++; |
| 3247 if (buildCounterWorkItem < 3) { | 3257 if (buildCounterWorkItem < 3) { |
| 3248 unittest.expect(o.configuration, unittest.equals('foo')); | 3258 unittest.expect(o.configuration, unittest.equals('foo')); |
| 3249 unittest.expect(o.id, unittest.equals('foo')); | 3259 unittest.expect(o.id, unittest.equals('foo')); |
| 3250 unittest.expect(o.initialReportIndex, unittest.equals('foo')); | 3260 unittest.expect(o.initialReportIndex, unittest.equals('foo')); |
| 3251 unittest.expect(o.jobId, unittest.equals('foo')); | 3261 unittest.expect(o.jobId, unittest.equals('foo')); |
| 3252 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3262 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3253 checkMapTask(o.mapTask); | 3263 checkMapTask(o.mapTask); |
| 3254 checkUnnamed3118(o.packages); | 3264 checkUnnamed3208(o.packages); |
| 3255 unittest.expect(o.projectId, unittest.equals('foo')); | 3265 unittest.expect(o.projectId, unittest.equals('foo')); |
| 3256 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3266 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3257 checkSeqMapTask(o.seqMapTask); | 3267 checkSeqMapTask(o.seqMapTask); |
| 3258 checkShellTask(o.shellTask); | 3268 checkShellTask(o.shellTask); |
| 3259 checkSourceOperationRequest(o.sourceOperationTask); | 3269 checkSourceOperationRequest(o.sourceOperationTask); |
| 3260 checkStreamingComputationTask(o.streamingComputationTask); | 3270 checkStreamingComputationTask(o.streamingComputationTask); |
| 3261 checkStreamingConfigTask(o.streamingConfigTask); | 3271 checkStreamingConfigTask(o.streamingConfigTask); |
| 3262 checkStreamingSetupTask(o.streamingSetupTask); | 3272 checkStreamingSetupTask(o.streamingSetupTask); |
| 3263 } | 3273 } |
| 3264 buildCounterWorkItem--; | 3274 buildCounterWorkItem--; |
| 3265 } | 3275 } |
| 3266 | 3276 |
| 3267 buildUnnamed3119() { | 3277 buildUnnamed3209() { |
| 3268 var o = new core.Map<core.String, core.Object>(); | 3278 var o = new core.Map<core.String, core.Object>(); |
| 3269 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3279 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3270 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3280 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3271 return o; | 3281 return o; |
| 3272 } | 3282 } |
| 3273 | 3283 |
| 3274 checkUnnamed3119(core.Map<core.String, core.Object> o) { | 3284 checkUnnamed3209(core.Map<core.String, core.Object> o) { |
| 3275 unittest.expect(o, unittest.hasLength(2)); | 3285 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 3286 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')); |
| 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')); | 3287 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')); |
| 3278 } | 3288 } |
| 3279 | 3289 |
| 3280 buildUnnamed3120() { | 3290 buildUnnamed3210() { |
| 3281 var o = new core.List<api.MetricShortId>(); | 3291 var o = new core.List<api.MetricShortId>(); |
| 3282 o.add(buildMetricShortId()); | 3292 o.add(buildMetricShortId()); |
| 3283 o.add(buildMetricShortId()); | 3293 o.add(buildMetricShortId()); |
| 3284 return o; | 3294 return o; |
| 3285 } | 3295 } |
| 3286 | 3296 |
| 3287 checkUnnamed3120(core.List<api.MetricShortId> o) { | 3297 checkUnnamed3210(core.List<api.MetricShortId> o) { |
| 3288 unittest.expect(o, unittest.hasLength(2)); | 3298 unittest.expect(o, unittest.hasLength(2)); |
| 3289 checkMetricShortId(o[0]); | 3299 checkMetricShortId(o[0]); |
| 3290 checkMetricShortId(o[1]); | 3300 checkMetricShortId(o[1]); |
| 3291 } | 3301 } |
| 3292 | 3302 |
| 3293 core.int buildCounterWorkItemServiceState = 0; | 3303 core.int buildCounterWorkItemServiceState = 0; |
| 3294 buildWorkItemServiceState() { | 3304 buildWorkItemServiceState() { |
| 3295 var o = new api.WorkItemServiceState(); | 3305 var o = new api.WorkItemServiceState(); |
| 3296 buildCounterWorkItemServiceState++; | 3306 buildCounterWorkItemServiceState++; |
| 3297 if (buildCounterWorkItemServiceState < 3) { | 3307 if (buildCounterWorkItemServiceState < 3) { |
| 3298 o.harnessData = buildUnnamed3119(); | 3308 o.harnessData = buildUnnamed3209(); |
| 3299 o.leaseExpireTime = "foo"; | 3309 o.leaseExpireTime = "foo"; |
| 3300 o.metricShortId = buildUnnamed3120(); | 3310 o.metricShortId = buildUnnamed3210(); |
| 3301 o.nextReportIndex = "foo"; | 3311 o.nextReportIndex = "foo"; |
| 3302 o.reportStatusInterval = "foo"; | 3312 o.reportStatusInterval = "foo"; |
| 3303 o.splitRequest = buildApproximateSplitRequest(); | 3313 o.splitRequest = buildApproximateSplitRequest(); |
| 3304 o.suggestedStopPoint = buildApproximateProgress(); | 3314 o.suggestedStopPoint = buildApproximateProgress(); |
| 3305 o.suggestedStopPosition = buildPosition(); | 3315 o.suggestedStopPosition = buildPosition(); |
| 3306 } | 3316 } |
| 3307 buildCounterWorkItemServiceState--; | 3317 buildCounterWorkItemServiceState--; |
| 3308 return o; | 3318 return o; |
| 3309 } | 3319 } |
| 3310 | 3320 |
| 3311 checkWorkItemServiceState(api.WorkItemServiceState o) { | 3321 checkWorkItemServiceState(api.WorkItemServiceState o) { |
| 3312 buildCounterWorkItemServiceState++; | 3322 buildCounterWorkItemServiceState++; |
| 3313 if (buildCounterWorkItemServiceState < 3) { | 3323 if (buildCounterWorkItemServiceState < 3) { |
| 3314 checkUnnamed3119(o.harnessData); | 3324 checkUnnamed3209(o.harnessData); |
| 3315 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 3325 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
| 3316 checkUnnamed3120(o.metricShortId); | 3326 checkUnnamed3210(o.metricShortId); |
| 3317 unittest.expect(o.nextReportIndex, unittest.equals('foo')); | 3327 unittest.expect(o.nextReportIndex, unittest.equals('foo')); |
| 3318 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 3328 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
| 3319 checkApproximateSplitRequest(o.splitRequest); | 3329 checkApproximateSplitRequest(o.splitRequest); |
| 3320 checkApproximateProgress(o.suggestedStopPoint); | 3330 checkApproximateProgress(o.suggestedStopPoint); |
| 3321 checkPosition(o.suggestedStopPosition); | 3331 checkPosition(o.suggestedStopPosition); |
| 3322 } | 3332 } |
| 3323 buildCounterWorkItemServiceState--; | 3333 buildCounterWorkItemServiceState--; |
| 3324 } | 3334 } |
| 3325 | 3335 |
| 3326 buildUnnamed3121() { | 3336 buildUnnamed3211() { |
| 3327 var o = new core.List<api.CounterUpdate>(); | 3337 var o = new core.List<api.CounterUpdate>(); |
| 3328 o.add(buildCounterUpdate()); | 3338 o.add(buildCounterUpdate()); |
| 3329 o.add(buildCounterUpdate()); | 3339 o.add(buildCounterUpdate()); |
| 3330 return o; | 3340 return o; |
| 3331 } | 3341 } |
| 3332 | 3342 |
| 3333 checkUnnamed3121(core.List<api.CounterUpdate> o) { | 3343 checkUnnamed3211(core.List<api.CounterUpdate> o) { |
| 3334 unittest.expect(o, unittest.hasLength(2)); | 3344 unittest.expect(o, unittest.hasLength(2)); |
| 3335 checkCounterUpdate(o[0]); | 3345 checkCounterUpdate(o[0]); |
| 3336 checkCounterUpdate(o[1]); | 3346 checkCounterUpdate(o[1]); |
| 3337 } | 3347 } |
| 3338 | 3348 |
| 3339 buildUnnamed3122() { | 3349 buildUnnamed3212() { |
| 3340 var o = new core.List<api.Status>(); | 3350 var o = new core.List<api.Status>(); |
| 3341 o.add(buildStatus()); | 3351 o.add(buildStatus()); |
| 3342 o.add(buildStatus()); | 3352 o.add(buildStatus()); |
| 3343 return o; | 3353 return o; |
| 3344 } | 3354 } |
| 3345 | 3355 |
| 3346 checkUnnamed3122(core.List<api.Status> o) { | 3356 checkUnnamed3212(core.List<api.Status> o) { |
| 3347 unittest.expect(o, unittest.hasLength(2)); | 3357 unittest.expect(o, unittest.hasLength(2)); |
| 3348 checkStatus(o[0]); | 3358 checkStatus(o[0]); |
| 3349 checkStatus(o[1]); | 3359 checkStatus(o[1]); |
| 3350 } | 3360 } |
| 3351 | 3361 |
| 3352 buildUnnamed3123() { | 3362 buildUnnamed3213() { |
| 3353 var o = new core.List<api.MetricUpdate>(); | 3363 var o = new core.List<api.MetricUpdate>(); |
| 3354 o.add(buildMetricUpdate()); | 3364 o.add(buildMetricUpdate()); |
| 3355 o.add(buildMetricUpdate()); | 3365 o.add(buildMetricUpdate()); |
| 3356 return o; | 3366 return o; |
| 3357 } | 3367 } |
| 3358 | 3368 |
| 3359 checkUnnamed3123(core.List<api.MetricUpdate> o) { | 3369 checkUnnamed3213(core.List<api.MetricUpdate> o) { |
| 3360 unittest.expect(o, unittest.hasLength(2)); | 3370 unittest.expect(o, unittest.hasLength(2)); |
| 3361 checkMetricUpdate(o[0]); | 3371 checkMetricUpdate(o[0]); |
| 3362 checkMetricUpdate(o[1]); | 3372 checkMetricUpdate(o[1]); |
| 3363 } | 3373 } |
| 3364 | 3374 |
| 3365 core.int buildCounterWorkItemStatus = 0; | 3375 core.int buildCounterWorkItemStatus = 0; |
| 3366 buildWorkItemStatus() { | 3376 buildWorkItemStatus() { |
| 3367 var o = new api.WorkItemStatus(); | 3377 var o = new api.WorkItemStatus(); |
| 3368 buildCounterWorkItemStatus++; | 3378 buildCounterWorkItemStatus++; |
| 3369 if (buildCounterWorkItemStatus < 3) { | 3379 if (buildCounterWorkItemStatus < 3) { |
| 3370 o.completed = true; | 3380 o.completed = true; |
| 3371 o.counterUpdates = buildUnnamed3121(); | 3381 o.counterUpdates = buildUnnamed3211(); |
| 3372 o.dynamicSourceSplit = buildDynamicSourceSplit(); | 3382 o.dynamicSourceSplit = buildDynamicSourceSplit(); |
| 3373 o.errors = buildUnnamed3122(); | 3383 o.errors = buildUnnamed3212(); |
| 3374 o.metricUpdates = buildUnnamed3123(); | 3384 o.metricUpdates = buildUnnamed3213(); |
| 3375 o.progress = buildApproximateProgress(); | 3385 o.progress = buildApproximateProgress(); |
| 3376 o.reportIndex = "foo"; | 3386 o.reportIndex = "foo"; |
| 3377 o.reportedProgress = buildApproximateReportedProgress(); | 3387 o.reportedProgress = buildApproximateReportedProgress(); |
| 3378 o.requestedLeaseDuration = "foo"; | 3388 o.requestedLeaseDuration = "foo"; |
| 3379 o.sourceFork = buildSourceFork(); | 3389 o.sourceFork = buildSourceFork(); |
| 3380 o.sourceOperationResponse = buildSourceOperationResponse(); | 3390 o.sourceOperationResponse = buildSourceOperationResponse(); |
| 3381 o.stopPosition = buildPosition(); | 3391 o.stopPosition = buildPosition(); |
| 3382 o.workItemId = "foo"; | 3392 o.workItemId = "foo"; |
| 3383 } | 3393 } |
| 3384 buildCounterWorkItemStatus--; | 3394 buildCounterWorkItemStatus--; |
| 3385 return o; | 3395 return o; |
| 3386 } | 3396 } |
| 3387 | 3397 |
| 3388 checkWorkItemStatus(api.WorkItemStatus o) { | 3398 checkWorkItemStatus(api.WorkItemStatus o) { |
| 3389 buildCounterWorkItemStatus++; | 3399 buildCounterWorkItemStatus++; |
| 3390 if (buildCounterWorkItemStatus < 3) { | 3400 if (buildCounterWorkItemStatus < 3) { |
| 3391 unittest.expect(o.completed, unittest.isTrue); | 3401 unittest.expect(o.completed, unittest.isTrue); |
| 3392 checkUnnamed3121(o.counterUpdates); | 3402 checkUnnamed3211(o.counterUpdates); |
| 3393 checkDynamicSourceSplit(o.dynamicSourceSplit); | 3403 checkDynamicSourceSplit(o.dynamicSourceSplit); |
| 3394 checkUnnamed3122(o.errors); | 3404 checkUnnamed3212(o.errors); |
| 3395 checkUnnamed3123(o.metricUpdates); | 3405 checkUnnamed3213(o.metricUpdates); |
| 3396 checkApproximateProgress(o.progress); | 3406 checkApproximateProgress(o.progress); |
| 3397 unittest.expect(o.reportIndex, unittest.equals('foo')); | 3407 unittest.expect(o.reportIndex, unittest.equals('foo')); |
| 3398 checkApproximateReportedProgress(o.reportedProgress); | 3408 checkApproximateReportedProgress(o.reportedProgress); |
| 3399 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 3409 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
| 3400 checkSourceFork(o.sourceFork); | 3410 checkSourceFork(o.sourceFork); |
| 3401 checkSourceOperationResponse(o.sourceOperationResponse); | 3411 checkSourceOperationResponse(o.sourceOperationResponse); |
| 3402 checkPosition(o.stopPosition); | 3412 checkPosition(o.stopPosition); |
| 3403 unittest.expect(o.workItemId, unittest.equals('foo')); | 3413 unittest.expect(o.workItemId, unittest.equals('foo')); |
| 3404 } | 3414 } |
| 3405 buildCounterWorkItemStatus--; | 3415 buildCounterWorkItemStatus--; |
| 3406 } | 3416 } |
| 3407 | 3417 |
| 3408 buildUnnamed3124() { | 3418 buildUnnamed3214() { |
| 3409 var o = new core.Map<core.String, core.Object>(); | 3419 var o = new core.Map<core.String, core.Object>(); |
| 3410 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3420 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3411 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3421 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3412 return o; | 3422 return o; |
| 3413 } | 3423 } |
| 3414 | 3424 |
| 3415 checkUnnamed3124(core.Map<core.String, core.Object> o) { | 3425 checkUnnamed3214(core.Map<core.String, core.Object> o) { |
| 3416 unittest.expect(o, unittest.hasLength(2)); | 3426 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 3427 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')); |
| 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')); | 3428 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')); |
| 3419 } | 3429 } |
| 3420 | 3430 |
| 3421 buildUnnamed3125() { | 3431 buildUnnamed3215() { |
| 3422 var o = new core.List<core.Map<core.String, core.Object>>(); | 3432 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3423 o.add(buildUnnamed3124()); | 3433 o.add(buildUnnamed3214()); |
| 3424 o.add(buildUnnamed3124()); | 3434 o.add(buildUnnamed3214()); |
| 3425 return o; | 3435 return o; |
| 3426 } | 3436 } |
| 3427 | 3437 |
| 3428 checkUnnamed3125(core.List<core.Map<core.String, core.Object>> o) { | 3438 checkUnnamed3215(core.List<core.Map<core.String, core.Object>> o) { |
| 3429 unittest.expect(o, unittest.hasLength(2)); | 3439 unittest.expect(o, unittest.hasLength(2)); |
| 3430 checkUnnamed3124(o[0]); | 3440 checkUnnamed3214(o[0]); |
| 3431 checkUnnamed3124(o[1]); | 3441 checkUnnamed3214(o[1]); |
| 3432 } | 3442 } |
| 3433 | 3443 |
| 3434 core.int buildCounterWorkerHealthReport = 0; | 3444 core.int buildCounterWorkerHealthReport = 0; |
| 3435 buildWorkerHealthReport() { | 3445 buildWorkerHealthReport() { |
| 3436 var o = new api.WorkerHealthReport(); | 3446 var o = new api.WorkerHealthReport(); |
| 3437 buildCounterWorkerHealthReport++; | 3447 buildCounterWorkerHealthReport++; |
| 3438 if (buildCounterWorkerHealthReport < 3) { | 3448 if (buildCounterWorkerHealthReport < 3) { |
| 3439 o.pods = buildUnnamed3125(); | 3449 o.pods = buildUnnamed3215(); |
| 3440 o.reportInterval = "foo"; | 3450 o.reportInterval = "foo"; |
| 3441 o.vmIsHealthy = true; | 3451 o.vmIsHealthy = true; |
| 3442 o.vmStartupTime = "foo"; | 3452 o.vmStartupTime = "foo"; |
| 3443 } | 3453 } |
| 3444 buildCounterWorkerHealthReport--; | 3454 buildCounterWorkerHealthReport--; |
| 3445 return o; | 3455 return o; |
| 3446 } | 3456 } |
| 3447 | 3457 |
| 3448 checkWorkerHealthReport(api.WorkerHealthReport o) { | 3458 checkWorkerHealthReport(api.WorkerHealthReport o) { |
| 3449 buildCounterWorkerHealthReport++; | 3459 buildCounterWorkerHealthReport++; |
| 3450 if (buildCounterWorkerHealthReport < 3) { | 3460 if (buildCounterWorkerHealthReport < 3) { |
| 3451 checkUnnamed3125(o.pods); | 3461 checkUnnamed3215(o.pods); |
| 3452 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3462 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3453 unittest.expect(o.vmIsHealthy, unittest.isTrue); | 3463 unittest.expect(o.vmIsHealthy, unittest.isTrue); |
| 3454 unittest.expect(o.vmStartupTime, unittest.equals('foo')); | 3464 unittest.expect(o.vmStartupTime, unittest.equals('foo')); |
| 3455 } | 3465 } |
| 3456 buildCounterWorkerHealthReport--; | 3466 buildCounterWorkerHealthReport--; |
| 3457 } | 3467 } |
| 3458 | 3468 |
| 3459 core.int buildCounterWorkerHealthReportResponse = 0; | 3469 core.int buildCounterWorkerHealthReportResponse = 0; |
| 3460 buildWorkerHealthReportResponse() { | 3470 buildWorkerHealthReportResponse() { |
| 3461 var o = new api.WorkerHealthReportResponse(); | 3471 var o = new api.WorkerHealthReportResponse(); |
| 3462 buildCounterWorkerHealthReportResponse++; | 3472 buildCounterWorkerHealthReportResponse++; |
| 3463 if (buildCounterWorkerHealthReportResponse < 3) { | 3473 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3464 o.reportInterval = "foo"; | 3474 o.reportInterval = "foo"; |
| 3465 } | 3475 } |
| 3466 buildCounterWorkerHealthReportResponse--; | 3476 buildCounterWorkerHealthReportResponse--; |
| 3467 return o; | 3477 return o; |
| 3468 } | 3478 } |
| 3469 | 3479 |
| 3470 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { | 3480 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { |
| 3471 buildCounterWorkerHealthReportResponse++; | 3481 buildCounterWorkerHealthReportResponse++; |
| 3472 if (buildCounterWorkerHealthReportResponse < 3) { | 3482 if (buildCounterWorkerHealthReportResponse < 3) { |
| 3473 unittest.expect(o.reportInterval, unittest.equals('foo')); | 3483 unittest.expect(o.reportInterval, unittest.equals('foo')); |
| 3474 } | 3484 } |
| 3475 buildCounterWorkerHealthReportResponse--; | 3485 buildCounterWorkerHealthReportResponse--; |
| 3476 } | 3486 } |
| 3477 | 3487 |
| 3478 buildUnnamed3126() { | 3488 buildUnnamed3216() { |
| 3479 var o = new core.Map<core.String, core.String>(); | 3489 var o = new core.Map<core.String, core.String>(); |
| 3480 o["x"] = "foo"; | 3490 o["x"] = "foo"; |
| 3481 o["y"] = "foo"; | 3491 o["y"] = "foo"; |
| 3482 return o; | 3492 return o; |
| 3483 } | 3493 } |
| 3484 | 3494 |
| 3485 checkUnnamed3126(core.Map<core.String, core.String> o) { | 3495 checkUnnamed3216(core.Map<core.String, core.String> o) { |
| 3486 unittest.expect(o, unittest.hasLength(2)); | 3496 unittest.expect(o, unittest.hasLength(2)); |
| 3487 unittest.expect(o["x"], unittest.equals('foo')); | 3497 unittest.expect(o["x"], unittest.equals('foo')); |
| 3488 unittest.expect(o["y"], unittest.equals('foo')); | 3498 unittest.expect(o["y"], unittest.equals('foo')); |
| 3489 } | 3499 } |
| 3490 | 3500 |
| 3491 core.int buildCounterWorkerMessage = 0; | 3501 core.int buildCounterWorkerMessage = 0; |
| 3492 buildWorkerMessage() { | 3502 buildWorkerMessage() { |
| 3493 var o = new api.WorkerMessage(); | 3503 var o = new api.WorkerMessage(); |
| 3494 buildCounterWorkerMessage++; | 3504 buildCounterWorkerMessage++; |
| 3495 if (buildCounterWorkerMessage < 3) { | 3505 if (buildCounterWorkerMessage < 3) { |
| 3496 o.labels = buildUnnamed3126(); | 3506 o.labels = buildUnnamed3216(); |
| 3497 o.time = "foo"; | 3507 o.time = "foo"; |
| 3498 o.workerHealthReport = buildWorkerHealthReport(); | 3508 o.workerHealthReport = buildWorkerHealthReport(); |
| 3499 o.workerMessageCode = buildWorkerMessageCode(); | 3509 o.workerMessageCode = buildWorkerMessageCode(); |
| 3500 o.workerMetrics = buildResourceUtilizationReport(); | 3510 o.workerMetrics = buildResourceUtilizationReport(); |
| 3501 } | 3511 } |
| 3502 buildCounterWorkerMessage--; | 3512 buildCounterWorkerMessage--; |
| 3503 return o; | 3513 return o; |
| 3504 } | 3514 } |
| 3505 | 3515 |
| 3506 checkWorkerMessage(api.WorkerMessage o) { | 3516 checkWorkerMessage(api.WorkerMessage o) { |
| 3507 buildCounterWorkerMessage++; | 3517 buildCounterWorkerMessage++; |
| 3508 if (buildCounterWorkerMessage < 3) { | 3518 if (buildCounterWorkerMessage < 3) { |
| 3509 checkUnnamed3126(o.labels); | 3519 checkUnnamed3216(o.labels); |
| 3510 unittest.expect(o.time, unittest.equals('foo')); | 3520 unittest.expect(o.time, unittest.equals('foo')); |
| 3511 checkWorkerHealthReport(o.workerHealthReport); | 3521 checkWorkerHealthReport(o.workerHealthReport); |
| 3512 checkWorkerMessageCode(o.workerMessageCode); | 3522 checkWorkerMessageCode(o.workerMessageCode); |
| 3513 checkResourceUtilizationReport(o.workerMetrics); | 3523 checkResourceUtilizationReport(o.workerMetrics); |
| 3514 } | 3524 } |
| 3515 buildCounterWorkerMessage--; | 3525 buildCounterWorkerMessage--; |
| 3516 } | 3526 } |
| 3517 | 3527 |
| 3518 buildUnnamed3127() { | 3528 buildUnnamed3217() { |
| 3519 var o = new core.Map<core.String, core.Object>(); | 3529 var o = new core.Map<core.String, core.Object>(); |
| 3520 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3530 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3521 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3531 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3522 return o; | 3532 return o; |
| 3523 } | 3533 } |
| 3524 | 3534 |
| 3525 checkUnnamed3127(core.Map<core.String, core.Object> o) { | 3535 checkUnnamed3217(core.Map<core.String, core.Object> o) { |
| 3526 unittest.expect(o, unittest.hasLength(2)); | 3536 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 3537 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')); |
| 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')); | 3538 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')); |
| 3529 } | 3539 } |
| 3530 | 3540 |
| 3531 core.int buildCounterWorkerMessageCode = 0; | 3541 core.int buildCounterWorkerMessageCode = 0; |
| 3532 buildWorkerMessageCode() { | 3542 buildWorkerMessageCode() { |
| 3533 var o = new api.WorkerMessageCode(); | 3543 var o = new api.WorkerMessageCode(); |
| 3534 buildCounterWorkerMessageCode++; | 3544 buildCounterWorkerMessageCode++; |
| 3535 if (buildCounterWorkerMessageCode < 3) { | 3545 if (buildCounterWorkerMessageCode < 3) { |
| 3536 o.code = "foo"; | 3546 o.code = "foo"; |
| 3537 o.parameters = buildUnnamed3127(); | 3547 o.parameters = buildUnnamed3217(); |
| 3538 } | 3548 } |
| 3539 buildCounterWorkerMessageCode--; | 3549 buildCounterWorkerMessageCode--; |
| 3540 return o; | 3550 return o; |
| 3541 } | 3551 } |
| 3542 | 3552 |
| 3543 checkWorkerMessageCode(api.WorkerMessageCode o) { | 3553 checkWorkerMessageCode(api.WorkerMessageCode o) { |
| 3544 buildCounterWorkerMessageCode++; | 3554 buildCounterWorkerMessageCode++; |
| 3545 if (buildCounterWorkerMessageCode < 3) { | 3555 if (buildCounterWorkerMessageCode < 3) { |
| 3546 unittest.expect(o.code, unittest.equals('foo')); | 3556 unittest.expect(o.code, unittest.equals('foo')); |
| 3547 checkUnnamed3127(o.parameters); | 3557 checkUnnamed3217(o.parameters); |
| 3548 } | 3558 } |
| 3549 buildCounterWorkerMessageCode--; | 3559 buildCounterWorkerMessageCode--; |
| 3550 } | 3560 } |
| 3551 | 3561 |
| 3552 core.int buildCounterWorkerMessageResponse = 0; | 3562 core.int buildCounterWorkerMessageResponse = 0; |
| 3553 buildWorkerMessageResponse() { | 3563 buildWorkerMessageResponse() { |
| 3554 var o = new api.WorkerMessageResponse(); | 3564 var o = new api.WorkerMessageResponse(); |
| 3555 buildCounterWorkerMessageResponse++; | 3565 buildCounterWorkerMessageResponse++; |
| 3556 if (buildCounterWorkerMessageResponse < 3) { | 3566 if (buildCounterWorkerMessageResponse < 3) { |
| 3557 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); | 3567 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); |
| 3558 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); | 3568 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); |
| 3559 } | 3569 } |
| 3560 buildCounterWorkerMessageResponse--; | 3570 buildCounterWorkerMessageResponse--; |
| 3561 return o; | 3571 return o; |
| 3562 } | 3572 } |
| 3563 | 3573 |
| 3564 checkWorkerMessageResponse(api.WorkerMessageResponse o) { | 3574 checkWorkerMessageResponse(api.WorkerMessageResponse o) { |
| 3565 buildCounterWorkerMessageResponse++; | 3575 buildCounterWorkerMessageResponse++; |
| 3566 if (buildCounterWorkerMessageResponse < 3) { | 3576 if (buildCounterWorkerMessageResponse < 3) { |
| 3567 checkWorkerHealthReportResponse(o.workerHealthReportResponse); | 3577 checkWorkerHealthReportResponse(o.workerHealthReportResponse); |
| 3568 checkResourceUtilizationReportResponse(o.workerMetricsResponse); | 3578 checkResourceUtilizationReportResponse(o.workerMetricsResponse); |
| 3569 } | 3579 } |
| 3570 buildCounterWorkerMessageResponse--; | 3580 buildCounterWorkerMessageResponse--; |
| 3571 } | 3581 } |
| 3572 | 3582 |
| 3573 buildUnnamed3128() { | 3583 buildUnnamed3218() { |
| 3574 var o = new core.List<api.Disk>(); | 3584 var o = new core.List<api.Disk>(); |
| 3575 o.add(buildDisk()); | 3585 o.add(buildDisk()); |
| 3576 o.add(buildDisk()); | 3586 o.add(buildDisk()); |
| 3577 return o; | 3587 return o; |
| 3578 } | 3588 } |
| 3579 | 3589 |
| 3580 checkUnnamed3128(core.List<api.Disk> o) { | 3590 checkUnnamed3218(core.List<api.Disk> o) { |
| 3581 unittest.expect(o, unittest.hasLength(2)); | 3591 unittest.expect(o, unittest.hasLength(2)); |
| 3582 checkDisk(o[0]); | 3592 checkDisk(o[0]); |
| 3583 checkDisk(o[1]); | 3593 checkDisk(o[1]); |
| 3584 } | 3594 } |
| 3585 | 3595 |
| 3586 buildUnnamed3129() { | 3596 buildUnnamed3219() { |
| 3587 var o = new core.Map<core.String, core.String>(); | 3597 var o = new core.Map<core.String, core.String>(); |
| 3588 o["x"] = "foo"; | 3598 o["x"] = "foo"; |
| 3589 o["y"] = "foo"; | 3599 o["y"] = "foo"; |
| 3590 return o; | 3600 return o; |
| 3591 } | 3601 } |
| 3592 | 3602 |
| 3593 checkUnnamed3129(core.Map<core.String, core.String> o) { | 3603 checkUnnamed3219(core.Map<core.String, core.String> o) { |
| 3594 unittest.expect(o, unittest.hasLength(2)); | 3604 unittest.expect(o, unittest.hasLength(2)); |
| 3595 unittest.expect(o["x"], unittest.equals('foo')); | 3605 unittest.expect(o["x"], unittest.equals('foo')); |
| 3596 unittest.expect(o["y"], unittest.equals('foo')); | 3606 unittest.expect(o["y"], unittest.equals('foo')); |
| 3597 } | 3607 } |
| 3598 | 3608 |
| 3599 buildUnnamed3130() { | 3609 buildUnnamed3220() { |
| 3600 var o = new core.List<api.Package>(); | 3610 var o = new core.List<api.Package>(); |
| 3601 o.add(buildPackage()); | 3611 o.add(buildPackage()); |
| 3602 o.add(buildPackage()); | 3612 o.add(buildPackage()); |
| 3603 return o; | 3613 return o; |
| 3604 } | 3614 } |
| 3605 | 3615 |
| 3606 checkUnnamed3130(core.List<api.Package> o) { | 3616 checkUnnamed3220(core.List<api.Package> o) { |
| 3607 unittest.expect(o, unittest.hasLength(2)); | 3617 unittest.expect(o, unittest.hasLength(2)); |
| 3608 checkPackage(o[0]); | 3618 checkPackage(o[0]); |
| 3609 checkPackage(o[1]); | 3619 checkPackage(o[1]); |
| 3610 } | 3620 } |
| 3611 | 3621 |
| 3612 buildUnnamed3131() { | 3622 buildUnnamed3221() { |
| 3613 var o = new core.Map<core.String, core.Object>(); | 3623 var o = new core.Map<core.String, core.Object>(); |
| 3614 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3624 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3615 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 3625 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 3616 return o; | 3626 return o; |
| 3617 } | 3627 } |
| 3618 | 3628 |
| 3619 checkUnnamed3131(core.Map<core.String, core.Object> o) { | 3629 checkUnnamed3221(core.Map<core.String, core.Object> o) { |
| 3620 unittest.expect(o, unittest.hasLength(2)); | 3630 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 3631 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')); |
| 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')); | 3632 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')); |
| 3623 } | 3633 } |
| 3624 | 3634 |
| 3625 core.int buildCounterWorkerPool = 0; | 3635 core.int buildCounterWorkerPool = 0; |
| 3626 buildWorkerPool() { | 3636 buildWorkerPool() { |
| 3627 var o = new api.WorkerPool(); | 3637 var o = new api.WorkerPool(); |
| 3628 buildCounterWorkerPool++; | 3638 buildCounterWorkerPool++; |
| 3629 if (buildCounterWorkerPool < 3) { | 3639 if (buildCounterWorkerPool < 3) { |
| 3630 o.autoscalingSettings = buildAutoscalingSettings(); | 3640 o.autoscalingSettings = buildAutoscalingSettings(); |
| 3631 o.dataDisks = buildUnnamed3128(); | 3641 o.dataDisks = buildUnnamed3218(); |
| 3632 o.defaultPackageSet = "foo"; | 3642 o.defaultPackageSet = "foo"; |
| 3633 o.diskSizeGb = 42; | 3643 o.diskSizeGb = 42; |
| 3634 o.diskSourceImage = "foo"; | 3644 o.diskSourceImage = "foo"; |
| 3635 o.diskType = "foo"; | 3645 o.diskType = "foo"; |
| 3636 o.ipConfiguration = "foo"; | 3646 o.ipConfiguration = "foo"; |
| 3637 o.kind = "foo"; | 3647 o.kind = "foo"; |
| 3638 o.machineType = "foo"; | 3648 o.machineType = "foo"; |
| 3639 o.metadata = buildUnnamed3129(); | 3649 o.metadata = buildUnnamed3219(); |
| 3640 o.network = "foo"; | 3650 o.network = "foo"; |
| 3641 o.numThreadsPerWorker = 42; | 3651 o.numThreadsPerWorker = 42; |
| 3642 o.numWorkers = 42; | 3652 o.numWorkers = 42; |
| 3643 o.onHostMaintenance = "foo"; | 3653 o.onHostMaintenance = "foo"; |
| 3644 o.packages = buildUnnamed3130(); | 3654 o.packages = buildUnnamed3220(); |
| 3645 o.poolArgs = buildUnnamed3131(); | 3655 o.poolArgs = buildUnnamed3221(); |
| 3646 o.subnetwork = "foo"; | 3656 o.subnetwork = "foo"; |
| 3647 o.taskrunnerSettings = buildTaskRunnerSettings(); | 3657 o.taskrunnerSettings = buildTaskRunnerSettings(); |
| 3648 o.teardownPolicy = "foo"; | 3658 o.teardownPolicy = "foo"; |
| 3649 o.workerHarnessContainerImage = "foo"; | 3659 o.workerHarnessContainerImage = "foo"; |
| 3650 o.zone = "foo"; | 3660 o.zone = "foo"; |
| 3651 } | 3661 } |
| 3652 buildCounterWorkerPool--; | 3662 buildCounterWorkerPool--; |
| 3653 return o; | 3663 return o; |
| 3654 } | 3664 } |
| 3655 | 3665 |
| 3656 checkWorkerPool(api.WorkerPool o) { | 3666 checkWorkerPool(api.WorkerPool o) { |
| 3657 buildCounterWorkerPool++; | 3667 buildCounterWorkerPool++; |
| 3658 if (buildCounterWorkerPool < 3) { | 3668 if (buildCounterWorkerPool < 3) { |
| 3659 checkAutoscalingSettings(o.autoscalingSettings); | 3669 checkAutoscalingSettings(o.autoscalingSettings); |
| 3660 checkUnnamed3128(o.dataDisks); | 3670 checkUnnamed3218(o.dataDisks); |
| 3661 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); | 3671 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); |
| 3662 unittest.expect(o.diskSizeGb, unittest.equals(42)); | 3672 unittest.expect(o.diskSizeGb, unittest.equals(42)); |
| 3663 unittest.expect(o.diskSourceImage, unittest.equals('foo')); | 3673 unittest.expect(o.diskSourceImage, unittest.equals('foo')); |
| 3664 unittest.expect(o.diskType, unittest.equals('foo')); | 3674 unittest.expect(o.diskType, unittest.equals('foo')); |
| 3665 unittest.expect(o.ipConfiguration, unittest.equals('foo')); | 3675 unittest.expect(o.ipConfiguration, unittest.equals('foo')); |
| 3666 unittest.expect(o.kind, unittest.equals('foo')); | 3676 unittest.expect(o.kind, unittest.equals('foo')); |
| 3667 unittest.expect(o.machineType, unittest.equals('foo')); | 3677 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3668 checkUnnamed3129(o.metadata); | 3678 checkUnnamed3219(o.metadata); |
| 3669 unittest.expect(o.network, unittest.equals('foo')); | 3679 unittest.expect(o.network, unittest.equals('foo')); |
| 3670 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); | 3680 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); |
| 3671 unittest.expect(o.numWorkers, unittest.equals(42)); | 3681 unittest.expect(o.numWorkers, unittest.equals(42)); |
| 3672 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); | 3682 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); |
| 3673 checkUnnamed3130(o.packages); | 3683 checkUnnamed3220(o.packages); |
| 3674 checkUnnamed3131(o.poolArgs); | 3684 checkUnnamed3221(o.poolArgs); |
| 3675 unittest.expect(o.subnetwork, unittest.equals('foo')); | 3685 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 3676 checkTaskRunnerSettings(o.taskrunnerSettings); | 3686 checkTaskRunnerSettings(o.taskrunnerSettings); |
| 3677 unittest.expect(o.teardownPolicy, unittest.equals('foo')); | 3687 unittest.expect(o.teardownPolicy, unittest.equals('foo')); |
| 3678 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); | 3688 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); |
| 3679 unittest.expect(o.zone, unittest.equals('foo')); | 3689 unittest.expect(o.zone, unittest.equals('foo')); |
| 3680 } | 3690 } |
| 3681 buildCounterWorkerPool--; | 3691 buildCounterWorkerPool--; |
| 3682 } | 3692 } |
| 3683 | 3693 |
| 3684 core.int buildCounterWorkerSettings = 0; | 3694 core.int buildCounterWorkerSettings = 0; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3762 | 3772 |
| 3763 unittest.group("obj-schema-AutoscalingSettings", () { | 3773 unittest.group("obj-schema-AutoscalingSettings", () { |
| 3764 unittest.test("to-json--from-json", () { | 3774 unittest.test("to-json--from-json", () { |
| 3765 var o = buildAutoscalingSettings(); | 3775 var o = buildAutoscalingSettings(); |
| 3766 var od = new api.AutoscalingSettings.fromJson(o.toJson()); | 3776 var od = new api.AutoscalingSettings.fromJson(o.toJson()); |
| 3767 checkAutoscalingSettings(od); | 3777 checkAutoscalingSettings(od); |
| 3768 }); | 3778 }); |
| 3769 }); | 3779 }); |
| 3770 | 3780 |
| 3771 | 3781 |
| 3782 unittest.group("obj-schema-CPUTime", () { |
| 3783 unittest.test("to-json--from-json", () { |
| 3784 var o = buildCPUTime(); |
| 3785 var od = new api.CPUTime.fromJson(o.toJson()); |
| 3786 checkCPUTime(od); |
| 3787 }); |
| 3788 }); |
| 3789 |
| 3790 |
| 3772 unittest.group("obj-schema-ComputationTopology", () { | 3791 unittest.group("obj-schema-ComputationTopology", () { |
| 3773 unittest.test("to-json--from-json", () { | 3792 unittest.test("to-json--from-json", () { |
| 3774 var o = buildComputationTopology(); | 3793 var o = buildComputationTopology(); |
| 3775 var od = new api.ComputationTopology.fromJson(o.toJson()); | 3794 var od = new api.ComputationTopology.fromJson(o.toJson()); |
| 3776 checkComputationTopology(od); | 3795 checkComputationTopology(od); |
| 3777 }); | 3796 }); |
| 3778 }); | 3797 }); |
| 3779 | 3798 |
| 3780 | 3799 |
| 3781 unittest.group("obj-schema-ConcatPosition", () { | 3800 unittest.group("obj-schema-ConcatPosition", () { |
| (...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4737 }); | 4756 }); |
| 4738 | 4757 |
| 4739 | 4758 |
| 4740 unittest.group("resource-ProjectsJobsResourceApi", () { | 4759 unittest.group("resource-ProjectsJobsResourceApi", () { |
| 4741 unittest.test("method--create", () { | 4760 unittest.test("method--create", () { |
| 4742 | 4761 |
| 4743 var mock = new HttpServerMock(); | 4762 var mock = new HttpServerMock(); |
| 4744 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 4763 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 4745 var arg_request = buildJob(); | 4764 var arg_request = buildJob(); |
| 4746 var arg_projectId = "foo"; | 4765 var arg_projectId = "foo"; |
| 4766 var arg_location = "foo"; |
| 4767 var arg_replaceJobId = "foo"; |
| 4747 var arg_view = "foo"; | 4768 var arg_view = "foo"; |
| 4748 var arg_replaceJobId = "foo"; | |
| 4749 var arg_location = "foo"; | |
| 4750 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4769 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4751 var obj = new api.Job.fromJson(json); | 4770 var obj = new api.Job.fromJson(json); |
| 4752 checkJob(obj); | 4771 checkJob(obj); |
| 4753 | 4772 |
| 4754 var path = (req.url).path; | 4773 var path = (req.url).path; |
| 4755 var pathOffset = 0; | 4774 var pathOffset = 0; |
| 4756 var index; | 4775 var index; |
| 4757 var subPart; | 4776 var subPart; |
| 4758 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4777 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4759 pathOffset += 1; | 4778 pathOffset += 1; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 4776 if (n == "false") return false; | 4795 if (n == "false") return false; |
| 4777 if (n == null) return null; | 4796 if (n == null) return null; |
| 4778 throw new core.ArgumentError("Invalid boolean: $n"); | 4797 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4779 } | 4798 } |
| 4780 if (query.length > 0) { | 4799 if (query.length > 0) { |
| 4781 for (var part in query.split("&")) { | 4800 for (var part in query.split("&")) { |
| 4782 var keyvalue = part.split("="); | 4801 var keyvalue = part.split("="); |
| 4783 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4802 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4784 } | 4803 } |
| 4785 } | 4804 } |
| 4805 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 4806 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl
aceJobId)); |
| 4786 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | 4807 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 4787 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl
aceJobId)); | |
| 4788 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | |
| 4789 | 4808 |
| 4790 | 4809 |
| 4791 var h = { | 4810 var h = { |
| 4792 "content-type" : "application/json; charset=utf-8", | 4811 "content-type" : "application/json; charset=utf-8", |
| 4793 }; | 4812 }; |
| 4794 var resp = convert.JSON.encode(buildJob()); | 4813 var resp = convert.JSON.encode(buildJob()); |
| 4795 return new async.Future.value(stringResponse(200, h, resp)); | 4814 return new async.Future.value(stringResponse(200, h, resp)); |
| 4796 }), true); | 4815 }), true); |
| 4797 res.create(arg_request, arg_projectId, view: arg_view, replaceJobId: arg_r
eplaceJobId, location: arg_location).then(unittest.expectAsync(((api.Job respons
e) { | 4816 res.create(arg_request, arg_projectId, location: arg_location, replaceJobI
d: arg_replaceJobId, view: arg_view).then(unittest.expectAsync(((api.Job respons
e) { |
| 4798 checkJob(response); | 4817 checkJob(response); |
| 4799 }))); | 4818 }))); |
| 4800 }); | 4819 }); |
| 4801 | 4820 |
| 4802 unittest.test("method--get", () { | 4821 unittest.test("method--get", () { |
| 4803 | 4822 |
| 4804 var mock = new HttpServerMock(); | 4823 var mock = new HttpServerMock(); |
| 4805 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 4824 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 4806 var arg_projectId = "foo"; | 4825 var arg_projectId = "foo"; |
| 4807 var arg_jobId = "foo"; | 4826 var arg_jobId = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4857 checkJob(response); | 4876 checkJob(response); |
| 4858 }))); | 4877 }))); |
| 4859 }); | 4878 }); |
| 4860 | 4879 |
| 4861 unittest.test("method--getMetrics", () { | 4880 unittest.test("method--getMetrics", () { |
| 4862 | 4881 |
| 4863 var mock = new HttpServerMock(); | 4882 var mock = new HttpServerMock(); |
| 4864 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 4883 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 4865 var arg_projectId = "foo"; | 4884 var arg_projectId = "foo"; |
| 4866 var arg_jobId = "foo"; | 4885 var arg_jobId = "foo"; |
| 4886 var arg_location = "foo"; |
| 4867 var arg_startTime = "foo"; | 4887 var arg_startTime = "foo"; |
| 4868 var arg_location = "foo"; | |
| 4869 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4888 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4870 var path = (req.url).path; | 4889 var path = (req.url).path; |
| 4871 var pathOffset = 0; | 4890 var pathOffset = 0; |
| 4872 var index; | 4891 var index; |
| 4873 var subPart; | 4892 var subPart; |
| 4874 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4893 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4875 pathOffset += 1; | 4894 pathOffset += 1; |
| 4876 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 4895 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 4877 pathOffset += 14; | 4896 pathOffset += 14; |
| 4878 index = path.indexOf("/jobs/", pathOffset); | 4897 index = path.indexOf("/jobs/", pathOffset); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 4899 if (n == "false") return false; | 4918 if (n == "false") return false; |
| 4900 if (n == null) return null; | 4919 if (n == null) return null; |
| 4901 throw new core.ArgumentError("Invalid boolean: $n"); | 4920 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4902 } | 4921 } |
| 4903 if (query.length > 0) { | 4922 if (query.length > 0) { |
| 4904 for (var part in query.split("&")) { | 4923 for (var part in query.split("&")) { |
| 4905 var keyvalue = part.split("="); | 4924 var keyvalue = part.split("="); |
| 4906 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4925 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4907 } | 4926 } |
| 4908 } | 4927 } |
| 4928 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 4909 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); | 4929 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); |
| 4910 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | |
| 4911 | 4930 |
| 4912 | 4931 |
| 4913 var h = { | 4932 var h = { |
| 4914 "content-type" : "application/json; charset=utf-8", | 4933 "content-type" : "application/json; charset=utf-8", |
| 4915 }; | 4934 }; |
| 4916 var resp = convert.JSON.encode(buildJobMetrics()); | 4935 var resp = convert.JSON.encode(buildJobMetrics()); |
| 4917 return new async.Future.value(stringResponse(200, h, resp)); | 4936 return new async.Future.value(stringResponse(200, h, resp)); |
| 4918 }), true); | 4937 }), true); |
| 4919 res.getMetrics(arg_projectId, arg_jobId, startTime: arg_startTime, locatio
n: arg_location).then(unittest.expectAsync(((api.JobMetrics response) { | 4938 res.getMetrics(arg_projectId, arg_jobId, location: arg_location, startTime
: arg_startTime).then(unittest.expectAsync(((api.JobMetrics response) { |
| 4920 checkJobMetrics(response); | 4939 checkJobMetrics(response); |
| 4921 }))); | 4940 }))); |
| 4922 }); | 4941 }); |
| 4923 | 4942 |
| 4924 unittest.test("method--list", () { | 4943 unittest.test("method--list", () { |
| 4925 | 4944 |
| 4926 var mock = new HttpServerMock(); | 4945 var mock = new HttpServerMock(); |
| 4927 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 4946 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 4928 var arg_projectId = "foo"; | 4947 var arg_projectId = "foo"; |
| 4929 var arg_filter = "foo"; | 4948 var arg_filter = "foo"; |
| 4949 var arg_location = "foo"; |
| 4950 var arg_pageToken = "foo"; |
| 4951 var arg_pageSize = 42; |
| 4930 var arg_view = "foo"; | 4952 var arg_view = "foo"; |
| 4931 var arg_pageSize = 42; | |
| 4932 var arg_pageToken = "foo"; | |
| 4933 var arg_location = "foo"; | |
| 4934 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4953 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4935 var path = (req.url).path; | 4954 var path = (req.url).path; |
| 4936 var pathOffset = 0; | 4955 var pathOffset = 0; |
| 4937 var index; | 4956 var index; |
| 4938 var subPart; | 4957 var subPart; |
| 4939 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4958 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4940 pathOffset += 1; | 4959 pathOffset += 1; |
| 4941 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 4960 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 4942 pathOffset += 14; | 4961 pathOffset += 14; |
| 4943 index = path.indexOf("/jobs", pathOffset); | 4962 index = path.indexOf("/jobs", pathOffset); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 4958 if (n == null) return null; | 4977 if (n == null) return null; |
| 4959 throw new core.ArgumentError("Invalid boolean: $n"); | 4978 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4960 } | 4979 } |
| 4961 if (query.length > 0) { | 4980 if (query.length > 0) { |
| 4962 for (var part in query.split("&")) { | 4981 for (var part in query.split("&")) { |
| 4963 var keyvalue = part.split("="); | 4982 var keyvalue = part.split("="); |
| 4964 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4983 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4965 } | 4984 } |
| 4966 } | 4985 } |
| 4967 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 4986 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 4987 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 4988 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 4989 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 4968 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | 4990 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 4969 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 4970 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
| 4971 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | |
| 4972 | 4991 |
| 4973 | 4992 |
| 4974 var h = { | 4993 var h = { |
| 4975 "content-type" : "application/json; charset=utf-8", | 4994 "content-type" : "application/json; charset=utf-8", |
| 4976 }; | 4995 }; |
| 4977 var resp = convert.JSON.encode(buildListJobsResponse()); | 4996 var resp = convert.JSON.encode(buildListJobsResponse()); |
| 4978 return new async.Future.value(stringResponse(200, h, resp)); | 4997 return new async.Future.value(stringResponse(200, h, resp)); |
| 4979 }), true); | 4998 }), true); |
| 4980 res.list(arg_projectId, filter: arg_filter, view: arg_view, pageSize: arg_
pageSize, pageToken: arg_pageToken, location: arg_location).then(unittest.expect
Async(((api.ListJobsResponse response) { | 4999 res.list(arg_projectId, filter: arg_filter, location: arg_location, pageTo
ken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expect
Async(((api.ListJobsResponse response) { |
| 4981 checkListJobsResponse(response); | 5000 checkListJobsResponse(response); |
| 4982 }))); | 5001 }))); |
| 4983 }); | 5002 }); |
| 4984 | 5003 |
| 4985 unittest.test("method--update", () { | 5004 unittest.test("method--update", () { |
| 4986 | 5005 |
| 4987 var mock = new HttpServerMock(); | 5006 var mock = new HttpServerMock(); |
| 4988 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; | 5007 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; |
| 4989 var arg_request = buildJob(); | 5008 var arg_request = buildJob(); |
| 4990 var arg_projectId = "foo"; | 5009 var arg_projectId = "foo"; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5177 | 5196 |
| 5178 | 5197 |
| 5179 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { | 5198 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { |
| 5180 unittest.test("method--list", () { | 5199 unittest.test("method--list", () { |
| 5181 | 5200 |
| 5182 var mock = new HttpServerMock(); | 5201 var mock = new HttpServerMock(); |
| 5183 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; | 5202 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec
ts.jobs.messages; |
| 5184 var arg_projectId = "foo"; | 5203 var arg_projectId = "foo"; |
| 5185 var arg_jobId = "foo"; | 5204 var arg_jobId = "foo"; |
| 5186 var arg_minimumImportance = "foo"; | 5205 var arg_minimumImportance = "foo"; |
| 5206 var arg_location = "foo"; |
| 5207 var arg_endTime = "foo"; |
| 5208 var arg_startTime = "foo"; |
| 5209 var arg_pageToken = "foo"; |
| 5187 var arg_pageSize = 42; | 5210 var arg_pageSize = 42; |
| 5188 var arg_pageToken = "foo"; | |
| 5189 var arg_startTime = "foo"; | |
| 5190 var arg_endTime = "foo"; | |
| 5191 var arg_location = "foo"; | |
| 5192 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5211 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5193 var path = (req.url).path; | 5212 var path = (req.url).path; |
| 5194 var pathOffset = 0; | 5213 var pathOffset = 0; |
| 5195 var index; | 5214 var index; |
| 5196 var subPart; | 5215 var subPart; |
| 5197 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5216 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5198 pathOffset += 1; | 5217 pathOffset += 1; |
| 5199 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 5218 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5200 pathOffset += 14; | 5219 pathOffset += 14; |
| 5201 index = path.indexOf("/jobs/", pathOffset); | 5220 index = path.indexOf("/jobs/", pathOffset); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 5223 if (n == null) return null; | 5242 if (n == null) return null; |
| 5224 throw new core.ArgumentError("Invalid boolean: $n"); | 5243 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5225 } | 5244 } |
| 5226 if (query.length > 0) { | 5245 if (query.length > 0) { |
| 5227 for (var part in query.split("&")) { | 5246 for (var part in query.split("&")) { |
| 5228 var keyvalue = part.split("="); | 5247 var keyvalue = part.split("="); |
| 5229 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5248 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5230 } | 5249 } |
| 5231 } | 5250 } |
| 5232 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); | 5251 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); |
| 5252 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); |
| 5253 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; |
| 5254 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); |
| 5255 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5233 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 5256 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5234 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
| 5235 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); | |
| 5236 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; | |
| 5237 unittest.expect(queryMap["location"].first, unittest.equals(arg_location
)); | |
| 5238 | 5257 |
| 5239 | 5258 |
| 5240 var h = { | 5259 var h = { |
| 5241 "content-type" : "application/json; charset=utf-8", | 5260 "content-type" : "application/json; charset=utf-8", |
| 5242 }; | 5261 }; |
| 5243 var resp = convert.JSON.encode(buildListJobMessagesResponse()); | 5262 var resp = convert.JSON.encode(buildListJobMessagesResponse()); |
| 5244 return new async.Future.value(stringResponse(200, h, resp)); | 5263 return new async.Future.value(stringResponse(200, h, resp)); |
| 5245 }), true); | 5264 }), true); |
| 5246 res.list(arg_projectId, arg_jobId, minimumImportance: arg_minimumImportanc
e, pageSize: arg_pageSize, pageToken: arg_pageToken, startTime: arg_startTime, e
ndTime: arg_endTime, location: arg_location).then(unittest.expectAsync(((api.Lis
tJobMessagesResponse response) { | 5265 res.list(arg_projectId, arg_jobId, minimumImportance: arg_minimumImportanc
e, location: arg_location, endTime: arg_endTime, startTime: arg_startTime, pageT
oken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.Lis
tJobMessagesResponse response) { |
| 5247 checkListJobMessagesResponse(response); | 5266 checkListJobMessagesResponse(response); |
| 5248 }))); | 5267 }))); |
| 5249 }); | 5268 }); |
| 5250 | 5269 |
| 5251 }); | 5270 }); |
| 5252 | 5271 |
| 5253 | 5272 |
| 5254 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () { | 5273 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () { |
| 5255 unittest.test("method--lease", () { | 5274 unittest.test("method--lease", () { |
| 5256 | 5275 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5583 }))); | 5602 }))); |
| 5584 }); | 5603 }); |
| 5585 | 5604 |
| 5586 unittest.test("method--list", () { | 5605 unittest.test("method--list", () { |
| 5587 | 5606 |
| 5588 var mock = new HttpServerMock(); | 5607 var mock = new HttpServerMock(); |
| 5589 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 5608 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 5590 var arg_projectId = "foo"; | 5609 var arg_projectId = "foo"; |
| 5591 var arg_location = "foo"; | 5610 var arg_location = "foo"; |
| 5592 var arg_filter = "foo"; | 5611 var arg_filter = "foo"; |
| 5612 var arg_pageToken = "foo"; |
| 5613 var arg_pageSize = 42; |
| 5593 var arg_view = "foo"; | 5614 var arg_view = "foo"; |
| 5594 var arg_pageSize = 42; | |
| 5595 var arg_pageToken = "foo"; | |
| 5596 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5615 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5597 var path = (req.url).path; | 5616 var path = (req.url).path; |
| 5598 var pathOffset = 0; | 5617 var pathOffset = 0; |
| 5599 var index; | 5618 var index; |
| 5600 var subPart; | 5619 var subPart; |
| 5601 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5620 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5602 pathOffset += 1; | 5621 pathOffset += 1; |
| 5603 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 5622 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5604 pathOffset += 14; | 5623 pathOffset += 14; |
| 5605 index = path.indexOf("/locations/", pathOffset); | 5624 index = path.indexOf("/locations/", pathOffset); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 5627 if (n == null) return null; | 5646 if (n == null) return null; |
| 5628 throw new core.ArgumentError("Invalid boolean: $n"); | 5647 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5629 } | 5648 } |
| 5630 if (query.length > 0) { | 5649 if (query.length > 0) { |
| 5631 for (var part in query.split("&")) { | 5650 for (var part in query.split("&")) { |
| 5632 var keyvalue = part.split("="); | 5651 var keyvalue = part.split("="); |
| 5633 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5652 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5634 } | 5653 } |
| 5635 } | 5654 } |
| 5636 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 5655 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 5656 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5657 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5637 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | 5658 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 5638 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 5639 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
| 5640 | 5659 |
| 5641 | 5660 |
| 5642 var h = { | 5661 var h = { |
| 5643 "content-type" : "application/json; charset=utf-8", | 5662 "content-type" : "application/json; charset=utf-8", |
| 5644 }; | 5663 }; |
| 5645 var resp = convert.JSON.encode(buildListJobsResponse()); | 5664 var resp = convert.JSON.encode(buildListJobsResponse()); |
| 5646 return new async.Future.value(stringResponse(200, h, resp)); | 5665 return new async.Future.value(stringResponse(200, h, resp)); |
| 5647 }), true); | 5666 }), true); |
| 5648 res.list(arg_projectId, arg_location, filter: arg_filter, view: arg_view,
pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((ap
i.ListJobsResponse response) { | 5667 res.list(arg_projectId, arg_location, filter: arg_filter, pageToken: arg_p
ageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((ap
i.ListJobsResponse response) { |
| 5649 checkListJobsResponse(response); | 5668 checkListJobsResponse(response); |
| 5650 }))); | 5669 }))); |
| 5651 }); | 5670 }); |
| 5652 | 5671 |
| 5653 unittest.test("method--update", () { | 5672 unittest.test("method--update", () { |
| 5654 | 5673 |
| 5655 var mock = new HttpServerMock(); | 5674 var mock = new HttpServerMock(); |
| 5656 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; | 5675 api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).proje
cts.locations.jobs; |
| 5657 var arg_request = buildJob(); | 5676 var arg_request = buildJob(); |
| 5658 var arg_projectId = "foo"; | 5677 var arg_projectId = "foo"; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5721 | 5740 |
| 5722 | 5741 |
| 5723 unittest.group("resource-ProjectsLocationsJobsMessagesResourceApi", () { | 5742 unittest.group("resource-ProjectsLocationsJobsMessagesResourceApi", () { |
| 5724 unittest.test("method--list", () { | 5743 unittest.test("method--list", () { |
| 5725 | 5744 |
| 5726 var mock = new HttpServerMock(); | 5745 var mock = new HttpServerMock(); |
| 5727 api.ProjectsLocationsJobsMessagesResourceApi res = new api.DataflowApi(moc
k).projects.locations.jobs.messages; | 5746 api.ProjectsLocationsJobsMessagesResourceApi res = new api.DataflowApi(moc
k).projects.locations.jobs.messages; |
| 5728 var arg_projectId = "foo"; | 5747 var arg_projectId = "foo"; |
| 5729 var arg_location = "foo"; | 5748 var arg_location = "foo"; |
| 5730 var arg_jobId = "foo"; | 5749 var arg_jobId = "foo"; |
| 5750 var arg_endTime = "foo"; |
| 5751 var arg_startTime = "foo"; |
| 5752 var arg_pageToken = "foo"; |
| 5753 var arg_pageSize = 42; |
| 5731 var arg_minimumImportance = "foo"; | 5754 var arg_minimumImportance = "foo"; |
| 5732 var arg_pageSize = 42; | |
| 5733 var arg_pageToken = "foo"; | |
| 5734 var arg_startTime = "foo"; | |
| 5735 var arg_endTime = "foo"; | |
| 5736 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5755 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5737 var path = (req.url).path; | 5756 var path = (req.url).path; |
| 5738 var pathOffset = 0; | 5757 var pathOffset = 0; |
| 5739 var index; | 5758 var index; |
| 5740 var subPart; | 5759 var subPart; |
| 5741 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5760 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5742 pathOffset += 1; | 5761 pathOffset += 1; |
| 5743 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); | 5762 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1b3/projects/")); |
| 5744 pathOffset += 14; | 5763 pathOffset += 14; |
| 5745 index = path.indexOf("/locations/", pathOffset); | 5764 index = path.indexOf("/locations/", pathOffset); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5773 if (n == "false") return false; | 5792 if (n == "false") return false; |
| 5774 if (n == null) return null; | 5793 if (n == null) return null; |
| 5775 throw new core.ArgumentError("Invalid boolean: $n"); | 5794 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5776 } | 5795 } |
| 5777 if (query.length > 0) { | 5796 if (query.length > 0) { |
| 5778 for (var part in query.split("&")) { | 5797 for (var part in query.split("&")) { |
| 5779 var keyvalue = part.split("="); | 5798 var keyvalue = part.split("="); |
| 5780 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5799 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5781 } | 5800 } |
| 5782 } | 5801 } |
| 5802 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; |
| 5803 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); |
| 5804 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5805 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5783 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); | 5806 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg
_minimumImportance)); |
| 5784 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 5785 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
| 5786 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi
me)); | |
| 5787 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime))
; | |
| 5788 | 5807 |
| 5789 | 5808 |
| 5790 var h = { | 5809 var h = { |
| 5791 "content-type" : "application/json; charset=utf-8", | 5810 "content-type" : "application/json; charset=utf-8", |
| 5792 }; | 5811 }; |
| 5793 var resp = convert.JSON.encode(buildListJobMessagesResponse()); | 5812 var resp = convert.JSON.encode(buildListJobMessagesResponse()); |
| 5794 return new async.Future.value(stringResponse(200, h, resp)); | 5813 return new async.Future.value(stringResponse(200, h, resp)); |
| 5795 }), true); | 5814 }), true); |
| 5796 res.list(arg_projectId, arg_location, arg_jobId, minimumImportance: arg_mi
nimumImportance, pageSize: arg_pageSize, pageToken: arg_pageToken, startTime: ar
g_startTime, endTime: arg_endTime).then(unittest.expectAsync(((api.ListJobMessag
esResponse response) { | 5815 res.list(arg_projectId, arg_location, arg_jobId, endTime: arg_endTime, sta
rtTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, minimum
Importance: arg_minimumImportance).then(unittest.expectAsync(((api.ListJobMessag
esResponse response) { |
| 5797 checkListJobMessagesResponse(response); | 5816 checkListJobMessagesResponse(response); |
| 5798 }))); | 5817 }))); |
| 5799 }); | 5818 }); |
| 5800 | 5819 |
| 5801 }); | 5820 }); |
| 5802 | 5821 |
| 5803 | 5822 |
| 5804 unittest.group("resource-ProjectsLocationsJobsWorkItemsResourceApi", () { | 5823 unittest.group("resource-ProjectsLocationsJobsWorkItemsResourceApi", () { |
| 5805 unittest.test("method--lease", () { | 5824 unittest.test("method--lease", () { |
| 5806 | 5825 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6001 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { | 6020 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { |
| 6002 checkJob(response); | 6021 checkJob(response); |
| 6003 }))); | 6022 }))); |
| 6004 }); | 6023 }); |
| 6005 | 6024 |
| 6006 }); | 6025 }); |
| 6007 | 6026 |
| 6008 | 6027 |
| 6009 } | 6028 } |
| 6010 | 6029 |
| OLD | NEW |