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