| OLD | NEW |
| 1 library googleapis_beta.toolresults.v1beta3.test; | 1 library googleapis_beta.toolresults.v1beta3.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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 checkInconclusiveDetail(api.InconclusiveDetail o) { | 232 checkInconclusiveDetail(api.InconclusiveDetail o) { |
| 233 buildCounterInconclusiveDetail++; | 233 buildCounterInconclusiveDetail++; |
| 234 if (buildCounterInconclusiveDetail < 3) { | 234 if (buildCounterInconclusiveDetail < 3) { |
| 235 unittest.expect(o.abortedByUser, unittest.isTrue); | 235 unittest.expect(o.abortedByUser, unittest.isTrue); |
| 236 unittest.expect(o.infrastructureFailure, unittest.isTrue); | 236 unittest.expect(o.infrastructureFailure, unittest.isTrue); |
| 237 unittest.expect(o.nativeCrash, unittest.isTrue); | 237 unittest.expect(o.nativeCrash, unittest.isTrue); |
| 238 } | 238 } |
| 239 buildCounterInconclusiveDetail--; | 239 buildCounterInconclusiveDetail--; |
| 240 } | 240 } |
| 241 | 241 |
| 242 buildUnnamed3706() { | 242 buildUnnamed3191() { |
| 243 var o = new core.List<api.Execution>(); | 243 var o = new core.List<api.Execution>(); |
| 244 o.add(buildExecution()); | 244 o.add(buildExecution()); |
| 245 o.add(buildExecution()); | 245 o.add(buildExecution()); |
| 246 return o; | 246 return o; |
| 247 } | 247 } |
| 248 | 248 |
| 249 checkUnnamed3706(core.List<api.Execution> o) { | 249 checkUnnamed3191(core.List<api.Execution> o) { |
| 250 unittest.expect(o, unittest.hasLength(2)); | 250 unittest.expect(o, unittest.hasLength(2)); |
| 251 checkExecution(o[0]); | 251 checkExecution(o[0]); |
| 252 checkExecution(o[1]); | 252 checkExecution(o[1]); |
| 253 } | 253 } |
| 254 | 254 |
| 255 core.int buildCounterListExecutionsResponse = 0; | 255 core.int buildCounterListExecutionsResponse = 0; |
| 256 buildListExecutionsResponse() { | 256 buildListExecutionsResponse() { |
| 257 var o = new api.ListExecutionsResponse(); | 257 var o = new api.ListExecutionsResponse(); |
| 258 buildCounterListExecutionsResponse++; | 258 buildCounterListExecutionsResponse++; |
| 259 if (buildCounterListExecutionsResponse < 3) { | 259 if (buildCounterListExecutionsResponse < 3) { |
| 260 o.executions = buildUnnamed3706(); | 260 o.executions = buildUnnamed3191(); |
| 261 o.nextPageToken = "foo"; | 261 o.nextPageToken = "foo"; |
| 262 } | 262 } |
| 263 buildCounterListExecutionsResponse--; | 263 buildCounterListExecutionsResponse--; |
| 264 return o; | 264 return o; |
| 265 } | 265 } |
| 266 | 266 |
| 267 checkListExecutionsResponse(api.ListExecutionsResponse o) { | 267 checkListExecutionsResponse(api.ListExecutionsResponse o) { |
| 268 buildCounterListExecutionsResponse++; | 268 buildCounterListExecutionsResponse++; |
| 269 if (buildCounterListExecutionsResponse < 3) { | 269 if (buildCounterListExecutionsResponse < 3) { |
| 270 checkUnnamed3706(o.executions); | 270 checkUnnamed3191(o.executions); |
| 271 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 271 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 272 } | 272 } |
| 273 buildCounterListExecutionsResponse--; | 273 buildCounterListExecutionsResponse--; |
| 274 } | 274 } |
| 275 | 275 |
| 276 buildUnnamed3707() { | 276 buildUnnamed3192() { |
| 277 var o = new core.List<api.History>(); | 277 var o = new core.List<api.History>(); |
| 278 o.add(buildHistory()); | 278 o.add(buildHistory()); |
| 279 o.add(buildHistory()); | 279 o.add(buildHistory()); |
| 280 return o; | 280 return o; |
| 281 } | 281 } |
| 282 | 282 |
| 283 checkUnnamed3707(core.List<api.History> o) { | 283 checkUnnamed3192(core.List<api.History> o) { |
| 284 unittest.expect(o, unittest.hasLength(2)); | 284 unittest.expect(o, unittest.hasLength(2)); |
| 285 checkHistory(o[0]); | 285 checkHistory(o[0]); |
| 286 checkHistory(o[1]); | 286 checkHistory(o[1]); |
| 287 } | 287 } |
| 288 | 288 |
| 289 core.int buildCounterListHistoriesResponse = 0; | 289 core.int buildCounterListHistoriesResponse = 0; |
| 290 buildListHistoriesResponse() { | 290 buildListHistoriesResponse() { |
| 291 var o = new api.ListHistoriesResponse(); | 291 var o = new api.ListHistoriesResponse(); |
| 292 buildCounterListHistoriesResponse++; | 292 buildCounterListHistoriesResponse++; |
| 293 if (buildCounterListHistoriesResponse < 3) { | 293 if (buildCounterListHistoriesResponse < 3) { |
| 294 o.histories = buildUnnamed3707(); | 294 o.histories = buildUnnamed3192(); |
| 295 o.nextPageToken = "foo"; | 295 o.nextPageToken = "foo"; |
| 296 } | 296 } |
| 297 buildCounterListHistoriesResponse--; | 297 buildCounterListHistoriesResponse--; |
| 298 return o; | 298 return o; |
| 299 } | 299 } |
| 300 | 300 |
| 301 checkListHistoriesResponse(api.ListHistoriesResponse o) { | 301 checkListHistoriesResponse(api.ListHistoriesResponse o) { |
| 302 buildCounterListHistoriesResponse++; | 302 buildCounterListHistoriesResponse++; |
| 303 if (buildCounterListHistoriesResponse < 3) { | 303 if (buildCounterListHistoriesResponse < 3) { |
| 304 checkUnnamed3707(o.histories); | 304 checkUnnamed3192(o.histories); |
| 305 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 305 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 306 } | 306 } |
| 307 buildCounterListHistoriesResponse--; | 307 buildCounterListHistoriesResponse--; |
| 308 } | 308 } |
| 309 | 309 |
| 310 buildUnnamed3708() { | 310 buildUnnamed3193() { |
| 311 var o = new core.List<api.Image>(); | 311 var o = new core.List<api.Image>(); |
| 312 o.add(buildImage()); | 312 o.add(buildImage()); |
| 313 o.add(buildImage()); | 313 o.add(buildImage()); |
| 314 return o; | 314 return o; |
| 315 } | 315 } |
| 316 | 316 |
| 317 checkUnnamed3708(core.List<api.Image> o) { | 317 checkUnnamed3193(core.List<api.Image> o) { |
| 318 unittest.expect(o, unittest.hasLength(2)); | 318 unittest.expect(o, unittest.hasLength(2)); |
| 319 checkImage(o[0]); | 319 checkImage(o[0]); |
| 320 checkImage(o[1]); | 320 checkImage(o[1]); |
| 321 } | 321 } |
| 322 | 322 |
| 323 core.int buildCounterListStepThumbnailsResponse = 0; | 323 core.int buildCounterListStepThumbnailsResponse = 0; |
| 324 buildListStepThumbnailsResponse() { | 324 buildListStepThumbnailsResponse() { |
| 325 var o = new api.ListStepThumbnailsResponse(); | 325 var o = new api.ListStepThumbnailsResponse(); |
| 326 buildCounterListStepThumbnailsResponse++; | 326 buildCounterListStepThumbnailsResponse++; |
| 327 if (buildCounterListStepThumbnailsResponse < 3) { | 327 if (buildCounterListStepThumbnailsResponse < 3) { |
| 328 o.nextPageToken = "foo"; | 328 o.nextPageToken = "foo"; |
| 329 o.thumbnails = buildUnnamed3708(); | 329 o.thumbnails = buildUnnamed3193(); |
| 330 } | 330 } |
| 331 buildCounterListStepThumbnailsResponse--; | 331 buildCounterListStepThumbnailsResponse--; |
| 332 return o; | 332 return o; |
| 333 } | 333 } |
| 334 | 334 |
| 335 checkListStepThumbnailsResponse(api.ListStepThumbnailsResponse o) { | 335 checkListStepThumbnailsResponse(api.ListStepThumbnailsResponse o) { |
| 336 buildCounterListStepThumbnailsResponse++; | 336 buildCounterListStepThumbnailsResponse++; |
| 337 if (buildCounterListStepThumbnailsResponse < 3) { | 337 if (buildCounterListStepThumbnailsResponse < 3) { |
| 338 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 338 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 339 checkUnnamed3708(o.thumbnails); | 339 checkUnnamed3193(o.thumbnails); |
| 340 } | 340 } |
| 341 buildCounterListStepThumbnailsResponse--; | 341 buildCounterListStepThumbnailsResponse--; |
| 342 } | 342 } |
| 343 | 343 |
| 344 buildUnnamed3709() { | 344 buildUnnamed3194() { |
| 345 var o = new core.List<api.Step>(); | 345 var o = new core.List<api.Step>(); |
| 346 o.add(buildStep()); | 346 o.add(buildStep()); |
| 347 o.add(buildStep()); | 347 o.add(buildStep()); |
| 348 return o; | 348 return o; |
| 349 } | 349 } |
| 350 | 350 |
| 351 checkUnnamed3709(core.List<api.Step> o) { | 351 checkUnnamed3194(core.List<api.Step> o) { |
| 352 unittest.expect(o, unittest.hasLength(2)); | 352 unittest.expect(o, unittest.hasLength(2)); |
| 353 checkStep(o[0]); | 353 checkStep(o[0]); |
| 354 checkStep(o[1]); | 354 checkStep(o[1]); |
| 355 } | 355 } |
| 356 | 356 |
| 357 core.int buildCounterListStepsResponse = 0; | 357 core.int buildCounterListStepsResponse = 0; |
| 358 buildListStepsResponse() { | 358 buildListStepsResponse() { |
| 359 var o = new api.ListStepsResponse(); | 359 var o = new api.ListStepsResponse(); |
| 360 buildCounterListStepsResponse++; | 360 buildCounterListStepsResponse++; |
| 361 if (buildCounterListStepsResponse < 3) { | 361 if (buildCounterListStepsResponse < 3) { |
| 362 o.nextPageToken = "foo"; | 362 o.nextPageToken = "foo"; |
| 363 o.steps = buildUnnamed3709(); | 363 o.steps = buildUnnamed3194(); |
| 364 } | 364 } |
| 365 buildCounterListStepsResponse--; | 365 buildCounterListStepsResponse--; |
| 366 return o; | 366 return o; |
| 367 } | 367 } |
| 368 | 368 |
| 369 checkListStepsResponse(api.ListStepsResponse o) { | 369 checkListStepsResponse(api.ListStepsResponse o) { |
| 370 buildCounterListStepsResponse++; | 370 buildCounterListStepsResponse++; |
| 371 if (buildCounterListStepsResponse < 3) { | 371 if (buildCounterListStepsResponse < 3) { |
| 372 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 372 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 373 checkUnnamed3709(o.steps); | 373 checkUnnamed3194(o.steps); |
| 374 } | 374 } |
| 375 buildCounterListStepsResponse--; | 375 buildCounterListStepsResponse--; |
| 376 } | 376 } |
| 377 | 377 |
| 378 core.int buildCounterOutcome = 0; | 378 core.int buildCounterOutcome = 0; |
| 379 buildOutcome() { | 379 buildOutcome() { |
| 380 var o = new api.Outcome(); | 380 var o = new api.Outcome(); |
| 381 buildCounterOutcome++; | 381 buildCounterOutcome++; |
| 382 if (buildCounterOutcome < 3) { | 382 if (buildCounterOutcome < 3) { |
| 383 o.failureDetail = buildFailureDetail(); | 383 o.failureDetail = buildFailureDetail(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 | 416 |
| 417 checkProjectSettings(api.ProjectSettings o) { | 417 checkProjectSettings(api.ProjectSettings o) { |
| 418 buildCounterProjectSettings++; | 418 buildCounterProjectSettings++; |
| 419 if (buildCounterProjectSettings < 3) { | 419 if (buildCounterProjectSettings < 3) { |
| 420 unittest.expect(o.defaultBucket, unittest.equals('foo')); | 420 unittest.expect(o.defaultBucket, unittest.equals('foo')); |
| 421 unittest.expect(o.name, unittest.equals('foo')); | 421 unittest.expect(o.name, unittest.equals('foo')); |
| 422 } | 422 } |
| 423 buildCounterProjectSettings--; | 423 buildCounterProjectSettings--; |
| 424 } | 424 } |
| 425 | 425 |
| 426 buildUnnamed3710() { | 426 buildUnnamed3195() { |
| 427 var o = new core.List<api.FileReference>(); | 427 var o = new core.List<api.FileReference>(); |
| 428 o.add(buildFileReference()); | 428 o.add(buildFileReference()); |
| 429 o.add(buildFileReference()); | 429 o.add(buildFileReference()); |
| 430 return o; | 430 return o; |
| 431 } | 431 } |
| 432 | 432 |
| 433 checkUnnamed3710(core.List<api.FileReference> o) { | 433 checkUnnamed3195(core.List<api.FileReference> o) { |
| 434 unittest.expect(o, unittest.hasLength(2)); | 434 unittest.expect(o, unittest.hasLength(2)); |
| 435 checkFileReference(o[0]); | 435 checkFileReference(o[0]); |
| 436 checkFileReference(o[1]); | 436 checkFileReference(o[1]); |
| 437 } | 437 } |
| 438 | 438 |
| 439 core.int buildCounterPublishXunitXmlFilesRequest = 0; | 439 core.int buildCounterPublishXunitXmlFilesRequest = 0; |
| 440 buildPublishXunitXmlFilesRequest() { | 440 buildPublishXunitXmlFilesRequest() { |
| 441 var o = new api.PublishXunitXmlFilesRequest(); | 441 var o = new api.PublishXunitXmlFilesRequest(); |
| 442 buildCounterPublishXunitXmlFilesRequest++; | 442 buildCounterPublishXunitXmlFilesRequest++; |
| 443 if (buildCounterPublishXunitXmlFilesRequest < 3) { | 443 if (buildCounterPublishXunitXmlFilesRequest < 3) { |
| 444 o.xunitXmlFiles = buildUnnamed3710(); | 444 o.xunitXmlFiles = buildUnnamed3195(); |
| 445 } | 445 } |
| 446 buildCounterPublishXunitXmlFilesRequest--; | 446 buildCounterPublishXunitXmlFilesRequest--; |
| 447 return o; | 447 return o; |
| 448 } | 448 } |
| 449 | 449 |
| 450 checkPublishXunitXmlFilesRequest(api.PublishXunitXmlFilesRequest o) { | 450 checkPublishXunitXmlFilesRequest(api.PublishXunitXmlFilesRequest o) { |
| 451 buildCounterPublishXunitXmlFilesRequest++; | 451 buildCounterPublishXunitXmlFilesRequest++; |
| 452 if (buildCounterPublishXunitXmlFilesRequest < 3) { | 452 if (buildCounterPublishXunitXmlFilesRequest < 3) { |
| 453 checkUnnamed3710(o.xunitXmlFiles); | 453 checkUnnamed3195(o.xunitXmlFiles); |
| 454 } | 454 } |
| 455 buildCounterPublishXunitXmlFilesRequest--; | 455 buildCounterPublishXunitXmlFilesRequest--; |
| 456 } | 456 } |
| 457 | 457 |
| 458 core.int buildCounterSkippedDetail = 0; | 458 core.int buildCounterSkippedDetail = 0; |
| 459 buildSkippedDetail() { | 459 buildSkippedDetail() { |
| 460 var o = new api.SkippedDetail(); | 460 var o = new api.SkippedDetail(); |
| 461 buildCounterSkippedDetail++; | 461 buildCounterSkippedDetail++; |
| 462 if (buildCounterSkippedDetail < 3) { | 462 if (buildCounterSkippedDetail < 3) { |
| 463 o.incompatibleAppVersion = true; | 463 o.incompatibleAppVersion = true; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 490 } | 490 } |
| 491 | 491 |
| 492 checkStackTrace(api.StackTrace o) { | 492 checkStackTrace(api.StackTrace o) { |
| 493 buildCounterStackTrace++; | 493 buildCounterStackTrace++; |
| 494 if (buildCounterStackTrace < 3) { | 494 if (buildCounterStackTrace < 3) { |
| 495 unittest.expect(o.exception, unittest.equals('foo')); | 495 unittest.expect(o.exception, unittest.equals('foo')); |
| 496 } | 496 } |
| 497 buildCounterStackTrace--; | 497 buildCounterStackTrace--; |
| 498 } | 498 } |
| 499 | 499 |
| 500 buildUnnamed3711() { | 500 buildUnnamed3196() { |
| 501 var o = new core.List<api.Any>(); | 501 var o = new core.List<api.Any>(); |
| 502 o.add(buildAny()); | 502 o.add(buildAny()); |
| 503 o.add(buildAny()); | 503 o.add(buildAny()); |
| 504 return o; | 504 return o; |
| 505 } | 505 } |
| 506 | 506 |
| 507 checkUnnamed3711(core.List<api.Any> o) { | 507 checkUnnamed3196(core.List<api.Any> o) { |
| 508 unittest.expect(o, unittest.hasLength(2)); | 508 unittest.expect(o, unittest.hasLength(2)); |
| 509 checkAny(o[0]); | 509 checkAny(o[0]); |
| 510 checkAny(o[1]); | 510 checkAny(o[1]); |
| 511 } | 511 } |
| 512 | 512 |
| 513 core.int buildCounterStatus = 0; | 513 core.int buildCounterStatus = 0; |
| 514 buildStatus() { | 514 buildStatus() { |
| 515 var o = new api.Status(); | 515 var o = new api.Status(); |
| 516 buildCounterStatus++; | 516 buildCounterStatus++; |
| 517 if (buildCounterStatus < 3) { | 517 if (buildCounterStatus < 3) { |
| 518 o.code = 42; | 518 o.code = 42; |
| 519 o.details = buildUnnamed3711(); | 519 o.details = buildUnnamed3196(); |
| 520 o.message = "foo"; | 520 o.message = "foo"; |
| 521 } | 521 } |
| 522 buildCounterStatus--; | 522 buildCounterStatus--; |
| 523 return o; | 523 return o; |
| 524 } | 524 } |
| 525 | 525 |
| 526 checkStatus(api.Status o) { | 526 checkStatus(api.Status o) { |
| 527 buildCounterStatus++; | 527 buildCounterStatus++; |
| 528 if (buildCounterStatus < 3) { | 528 if (buildCounterStatus < 3) { |
| 529 unittest.expect(o.code, unittest.equals(42)); | 529 unittest.expect(o.code, unittest.equals(42)); |
| 530 checkUnnamed3711(o.details); | 530 checkUnnamed3196(o.details); |
| 531 unittest.expect(o.message, unittest.equals('foo')); | 531 unittest.expect(o.message, unittest.equals('foo')); |
| 532 } | 532 } |
| 533 buildCounterStatus--; | 533 buildCounterStatus--; |
| 534 } | 534 } |
| 535 | 535 |
| 536 buildUnnamed3712() { | 536 buildUnnamed3197() { |
| 537 var o = new core.List<api.StepDimensionValueEntry>(); | 537 var o = new core.List<api.StepDimensionValueEntry>(); |
| 538 o.add(buildStepDimensionValueEntry()); | 538 o.add(buildStepDimensionValueEntry()); |
| 539 o.add(buildStepDimensionValueEntry()); | 539 o.add(buildStepDimensionValueEntry()); |
| 540 return o; | 540 return o; |
| 541 } | 541 } |
| 542 | 542 |
| 543 checkUnnamed3712(core.List<api.StepDimensionValueEntry> o) { | 543 checkUnnamed3197(core.List<api.StepDimensionValueEntry> o) { |
| 544 unittest.expect(o, unittest.hasLength(2)); | 544 unittest.expect(o, unittest.hasLength(2)); |
| 545 checkStepDimensionValueEntry(o[0]); | 545 checkStepDimensionValueEntry(o[0]); |
| 546 checkStepDimensionValueEntry(o[1]); | 546 checkStepDimensionValueEntry(o[1]); |
| 547 } | 547 } |
| 548 | 548 |
| 549 buildUnnamed3713() { | 549 buildUnnamed3198() { |
| 550 var o = new core.List<api.StepLabelsEntry>(); | 550 var o = new core.List<api.StepLabelsEntry>(); |
| 551 o.add(buildStepLabelsEntry()); | 551 o.add(buildStepLabelsEntry()); |
| 552 o.add(buildStepLabelsEntry()); | 552 o.add(buildStepLabelsEntry()); |
| 553 return o; | 553 return o; |
| 554 } | 554 } |
| 555 | 555 |
| 556 checkUnnamed3713(core.List<api.StepLabelsEntry> o) { | 556 checkUnnamed3198(core.List<api.StepLabelsEntry> o) { |
| 557 unittest.expect(o, unittest.hasLength(2)); | 557 unittest.expect(o, unittest.hasLength(2)); |
| 558 checkStepLabelsEntry(o[0]); | 558 checkStepLabelsEntry(o[0]); |
| 559 checkStepLabelsEntry(o[1]); | 559 checkStepLabelsEntry(o[1]); |
| 560 } | 560 } |
| 561 | 561 |
| 562 core.int buildCounterStep = 0; | 562 core.int buildCounterStep = 0; |
| 563 buildStep() { | 563 buildStep() { |
| 564 var o = new api.Step(); | 564 var o = new api.Step(); |
| 565 buildCounterStep++; | 565 buildCounterStep++; |
| 566 if (buildCounterStep < 3) { | 566 if (buildCounterStep < 3) { |
| 567 o.completionTime = buildTimestamp(); | 567 o.completionTime = buildTimestamp(); |
| 568 o.creationTime = buildTimestamp(); | 568 o.creationTime = buildTimestamp(); |
| 569 o.description = "foo"; | 569 o.description = "foo"; |
| 570 o.deviceUsageDuration = buildDuration(); | 570 o.deviceUsageDuration = buildDuration(); |
| 571 o.dimensionValue = buildUnnamed3712(); | 571 o.dimensionValue = buildUnnamed3197(); |
| 572 o.hasImages = true; | 572 o.hasImages = true; |
| 573 o.labels = buildUnnamed3713(); | 573 o.labels = buildUnnamed3198(); |
| 574 o.name = "foo"; | 574 o.name = "foo"; |
| 575 o.outcome = buildOutcome(); | 575 o.outcome = buildOutcome(); |
| 576 o.runDuration = buildDuration(); | 576 o.runDuration = buildDuration(); |
| 577 o.state = "foo"; | 577 o.state = "foo"; |
| 578 o.stepId = "foo"; | 578 o.stepId = "foo"; |
| 579 o.testExecutionStep = buildTestExecutionStep(); | 579 o.testExecutionStep = buildTestExecutionStep(); |
| 580 o.toolExecutionStep = buildToolExecutionStep(); | 580 o.toolExecutionStep = buildToolExecutionStep(); |
| 581 } | 581 } |
| 582 buildCounterStep--; | 582 buildCounterStep--; |
| 583 return o; | 583 return o; |
| 584 } | 584 } |
| 585 | 585 |
| 586 checkStep(api.Step o) { | 586 checkStep(api.Step o) { |
| 587 buildCounterStep++; | 587 buildCounterStep++; |
| 588 if (buildCounterStep < 3) { | 588 if (buildCounterStep < 3) { |
| 589 checkTimestamp(o.completionTime); | 589 checkTimestamp(o.completionTime); |
| 590 checkTimestamp(o.creationTime); | 590 checkTimestamp(o.creationTime); |
| 591 unittest.expect(o.description, unittest.equals('foo')); | 591 unittest.expect(o.description, unittest.equals('foo')); |
| 592 checkDuration(o.deviceUsageDuration); | 592 checkDuration(o.deviceUsageDuration); |
| 593 checkUnnamed3712(o.dimensionValue); | 593 checkUnnamed3197(o.dimensionValue); |
| 594 unittest.expect(o.hasImages, unittest.isTrue); | 594 unittest.expect(o.hasImages, unittest.isTrue); |
| 595 checkUnnamed3713(o.labels); | 595 checkUnnamed3198(o.labels); |
| 596 unittest.expect(o.name, unittest.equals('foo')); | 596 unittest.expect(o.name, unittest.equals('foo')); |
| 597 checkOutcome(o.outcome); | 597 checkOutcome(o.outcome); |
| 598 checkDuration(o.runDuration); | 598 checkDuration(o.runDuration); |
| 599 unittest.expect(o.state, unittest.equals('foo')); | 599 unittest.expect(o.state, unittest.equals('foo')); |
| 600 unittest.expect(o.stepId, unittest.equals('foo')); | 600 unittest.expect(o.stepId, unittest.equals('foo')); |
| 601 checkTestExecutionStep(o.testExecutionStep); | 601 checkTestExecutionStep(o.testExecutionStep); |
| 602 checkToolExecutionStep(o.toolExecutionStep); | 602 checkToolExecutionStep(o.toolExecutionStep); |
| 603 } | 603 } |
| 604 buildCounterStep--; | 604 buildCounterStep--; |
| 605 } | 605 } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 checkTestCaseReference(api.TestCaseReference o) { | 681 checkTestCaseReference(api.TestCaseReference o) { |
| 682 buildCounterTestCaseReference++; | 682 buildCounterTestCaseReference++; |
| 683 if (buildCounterTestCaseReference < 3) { | 683 if (buildCounterTestCaseReference < 3) { |
| 684 unittest.expect(o.className, unittest.equals('foo')); | 684 unittest.expect(o.className, unittest.equals('foo')); |
| 685 unittest.expect(o.name, unittest.equals('foo')); | 685 unittest.expect(o.name, unittest.equals('foo')); |
| 686 unittest.expect(o.testSuiteName, unittest.equals('foo')); | 686 unittest.expect(o.testSuiteName, unittest.equals('foo')); |
| 687 } | 687 } |
| 688 buildCounterTestCaseReference--; | 688 buildCounterTestCaseReference--; |
| 689 } | 689 } |
| 690 | 690 |
| 691 buildUnnamed3714() { | 691 buildUnnamed3199() { |
| 692 var o = new core.List<api.TestIssue>(); | 692 var o = new core.List<api.TestIssue>(); |
| 693 o.add(buildTestIssue()); | 693 o.add(buildTestIssue()); |
| 694 o.add(buildTestIssue()); | 694 o.add(buildTestIssue()); |
| 695 return o; | 695 return o; |
| 696 } | 696 } |
| 697 | 697 |
| 698 checkUnnamed3714(core.List<api.TestIssue> o) { | 698 checkUnnamed3199(core.List<api.TestIssue> o) { |
| 699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
| 700 checkTestIssue(o[0]); | 700 checkTestIssue(o[0]); |
| 701 checkTestIssue(o[1]); | 701 checkTestIssue(o[1]); |
| 702 } | 702 } |
| 703 | 703 |
| 704 buildUnnamed3715() { | 704 buildUnnamed3200() { |
| 705 var o = new core.List<api.TestSuiteOverview>(); | 705 var o = new core.List<api.TestSuiteOverview>(); |
| 706 o.add(buildTestSuiteOverview()); | 706 o.add(buildTestSuiteOverview()); |
| 707 o.add(buildTestSuiteOverview()); | 707 o.add(buildTestSuiteOverview()); |
| 708 return o; | 708 return o; |
| 709 } | 709 } |
| 710 | 710 |
| 711 checkUnnamed3715(core.List<api.TestSuiteOverview> o) { | 711 checkUnnamed3200(core.List<api.TestSuiteOverview> o) { |
| 712 unittest.expect(o, unittest.hasLength(2)); | 712 unittest.expect(o, unittest.hasLength(2)); |
| 713 checkTestSuiteOverview(o[0]); | 713 checkTestSuiteOverview(o[0]); |
| 714 checkTestSuiteOverview(o[1]); | 714 checkTestSuiteOverview(o[1]); |
| 715 } | 715 } |
| 716 | 716 |
| 717 core.int buildCounterTestExecutionStep = 0; | 717 core.int buildCounterTestExecutionStep = 0; |
| 718 buildTestExecutionStep() { | 718 buildTestExecutionStep() { |
| 719 var o = new api.TestExecutionStep(); | 719 var o = new api.TestExecutionStep(); |
| 720 buildCounterTestExecutionStep++; | 720 buildCounterTestExecutionStep++; |
| 721 if (buildCounterTestExecutionStep < 3) { | 721 if (buildCounterTestExecutionStep < 3) { |
| 722 o.testIssues = buildUnnamed3714(); | 722 o.testIssues = buildUnnamed3199(); |
| 723 o.testSuiteOverviews = buildUnnamed3715(); | 723 o.testSuiteOverviews = buildUnnamed3200(); |
| 724 o.testTiming = buildTestTiming(); | 724 o.testTiming = buildTestTiming(); |
| 725 o.toolExecution = buildToolExecution(); | 725 o.toolExecution = buildToolExecution(); |
| 726 } | 726 } |
| 727 buildCounterTestExecutionStep--; | 727 buildCounterTestExecutionStep--; |
| 728 return o; | 728 return o; |
| 729 } | 729 } |
| 730 | 730 |
| 731 checkTestExecutionStep(api.TestExecutionStep o) { | 731 checkTestExecutionStep(api.TestExecutionStep o) { |
| 732 buildCounterTestExecutionStep++; | 732 buildCounterTestExecutionStep++; |
| 733 if (buildCounterTestExecutionStep < 3) { | 733 if (buildCounterTestExecutionStep < 3) { |
| 734 checkUnnamed3714(o.testIssues); | 734 checkUnnamed3199(o.testIssues); |
| 735 checkUnnamed3715(o.testSuiteOverviews); | 735 checkUnnamed3200(o.testSuiteOverviews); |
| 736 checkTestTiming(o.testTiming); | 736 checkTestTiming(o.testTiming); |
| 737 checkToolExecution(o.toolExecution); | 737 checkToolExecution(o.toolExecution); |
| 738 } | 738 } |
| 739 buildCounterTestExecutionStep--; | 739 buildCounterTestExecutionStep--; |
| 740 } | 740 } |
| 741 | 741 |
| 742 core.int buildCounterTestIssue = 0; | 742 core.int buildCounterTestIssue = 0; |
| 743 buildTestIssue() { | 743 buildTestIssue() { |
| 744 var o = new api.TestIssue(); | 744 var o = new api.TestIssue(); |
| 745 buildCounterTestIssue++; | 745 buildCounterTestIssue++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 | 847 |
| 848 checkTimestamp(api.Timestamp o) { | 848 checkTimestamp(api.Timestamp o) { |
| 849 buildCounterTimestamp++; | 849 buildCounterTimestamp++; |
| 850 if (buildCounterTimestamp < 3) { | 850 if (buildCounterTimestamp < 3) { |
| 851 unittest.expect(o.nanos, unittest.equals(42)); | 851 unittest.expect(o.nanos, unittest.equals(42)); |
| 852 unittest.expect(o.seconds, unittest.equals('foo')); | 852 unittest.expect(o.seconds, unittest.equals('foo')); |
| 853 } | 853 } |
| 854 buildCounterTimestamp--; | 854 buildCounterTimestamp--; |
| 855 } | 855 } |
| 856 | 856 |
| 857 buildUnnamed3716() { | 857 buildUnnamed3201() { |
| 858 var o = new core.List<core.String>(); | 858 var o = new core.List<core.String>(); |
| 859 o.add("foo"); | 859 o.add("foo"); |
| 860 o.add("foo"); | 860 o.add("foo"); |
| 861 return o; | 861 return o; |
| 862 } | 862 } |
| 863 | 863 |
| 864 checkUnnamed3716(core.List<core.String> o) { | 864 checkUnnamed3201(core.List<core.String> o) { |
| 865 unittest.expect(o, unittest.hasLength(2)); | 865 unittest.expect(o, unittest.hasLength(2)); |
| 866 unittest.expect(o[0], unittest.equals('foo')); | 866 unittest.expect(o[0], unittest.equals('foo')); |
| 867 unittest.expect(o[1], unittest.equals('foo')); | 867 unittest.expect(o[1], unittest.equals('foo')); |
| 868 } | 868 } |
| 869 | 869 |
| 870 buildUnnamed3717() { | 870 buildUnnamed3202() { |
| 871 var o = new core.List<api.FileReference>(); | 871 var o = new core.List<api.FileReference>(); |
| 872 o.add(buildFileReference()); | 872 o.add(buildFileReference()); |
| 873 o.add(buildFileReference()); | 873 o.add(buildFileReference()); |
| 874 return o; | 874 return o; |
| 875 } | 875 } |
| 876 | 876 |
| 877 checkUnnamed3717(core.List<api.FileReference> o) { | 877 checkUnnamed3202(core.List<api.FileReference> o) { |
| 878 unittest.expect(o, unittest.hasLength(2)); | 878 unittest.expect(o, unittest.hasLength(2)); |
| 879 checkFileReference(o[0]); | 879 checkFileReference(o[0]); |
| 880 checkFileReference(o[1]); | 880 checkFileReference(o[1]); |
| 881 } | 881 } |
| 882 | 882 |
| 883 buildUnnamed3718() { | 883 buildUnnamed3203() { |
| 884 var o = new core.List<api.ToolOutputReference>(); | 884 var o = new core.List<api.ToolOutputReference>(); |
| 885 o.add(buildToolOutputReference()); | 885 o.add(buildToolOutputReference()); |
| 886 o.add(buildToolOutputReference()); | 886 o.add(buildToolOutputReference()); |
| 887 return o; | 887 return o; |
| 888 } | 888 } |
| 889 | 889 |
| 890 checkUnnamed3718(core.List<api.ToolOutputReference> o) { | 890 checkUnnamed3203(core.List<api.ToolOutputReference> o) { |
| 891 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
| 892 checkToolOutputReference(o[0]); | 892 checkToolOutputReference(o[0]); |
| 893 checkToolOutputReference(o[1]); | 893 checkToolOutputReference(o[1]); |
| 894 } | 894 } |
| 895 | 895 |
| 896 core.int buildCounterToolExecution = 0; | 896 core.int buildCounterToolExecution = 0; |
| 897 buildToolExecution() { | 897 buildToolExecution() { |
| 898 var o = new api.ToolExecution(); | 898 var o = new api.ToolExecution(); |
| 899 buildCounterToolExecution++; | 899 buildCounterToolExecution++; |
| 900 if (buildCounterToolExecution < 3) { | 900 if (buildCounterToolExecution < 3) { |
| 901 o.commandLineArguments = buildUnnamed3716(); | 901 o.commandLineArguments = buildUnnamed3201(); |
| 902 o.exitCode = buildToolExitCode(); | 902 o.exitCode = buildToolExitCode(); |
| 903 o.toolLogs = buildUnnamed3717(); | 903 o.toolLogs = buildUnnamed3202(); |
| 904 o.toolOutputs = buildUnnamed3718(); | 904 o.toolOutputs = buildUnnamed3203(); |
| 905 } | 905 } |
| 906 buildCounterToolExecution--; | 906 buildCounterToolExecution--; |
| 907 return o; | 907 return o; |
| 908 } | 908 } |
| 909 | 909 |
| 910 checkToolExecution(api.ToolExecution o) { | 910 checkToolExecution(api.ToolExecution o) { |
| 911 buildCounterToolExecution++; | 911 buildCounterToolExecution++; |
| 912 if (buildCounterToolExecution < 3) { | 912 if (buildCounterToolExecution < 3) { |
| 913 checkUnnamed3716(o.commandLineArguments); | 913 checkUnnamed3201(o.commandLineArguments); |
| 914 checkToolExitCode(o.exitCode); | 914 checkToolExitCode(o.exitCode); |
| 915 checkUnnamed3717(o.toolLogs); | 915 checkUnnamed3202(o.toolLogs); |
| 916 checkUnnamed3718(o.toolOutputs); | 916 checkUnnamed3203(o.toolOutputs); |
| 917 } | 917 } |
| 918 buildCounterToolExecution--; | 918 buildCounterToolExecution--; |
| 919 } | 919 } |
| 920 | 920 |
| 921 core.int buildCounterToolExecutionStep = 0; | 921 core.int buildCounterToolExecutionStep = 0; |
| 922 buildToolExecutionStep() { | 922 buildToolExecutionStep() { |
| 923 var o = new api.ToolExecutionStep(); | 923 var o = new api.ToolExecutionStep(); |
| 924 buildCounterToolExecutionStep++; | 924 buildCounterToolExecutionStep++; |
| 925 if (buildCounterToolExecutionStep < 3) { | 925 if (buildCounterToolExecutionStep < 3) { |
| 926 o.toolExecution = buildToolExecution(); | 926 o.toolExecution = buildToolExecution(); |
| (...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1998 res.list(arg_projectId, arg_historyId, arg_executionId, arg_stepId, pageSi
ze: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.List
StepThumbnailsResponse response) { | 1998 res.list(arg_projectId, arg_historyId, arg_executionId, arg_stepId, pageSi
ze: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.List
StepThumbnailsResponse response) { |
| 1999 checkListStepThumbnailsResponse(response); | 1999 checkListStepThumbnailsResponse(response); |
| 2000 }))); | 2000 }))); |
| 2001 }); | 2001 }); |
| 2002 | 2002 |
| 2003 }); | 2003 }); |
| 2004 | 2004 |
| 2005 | 2005 |
| 2006 } | 2006 } |
| 2007 | 2007 |
| OLD | NEW |