Commit 62f3d4d
Remove semantics_tester import from cupertino/slider_test.dart (#184805)
Part of #182636
## Summary
Remove the `semantics_tester.dart` cross-import from
`cupertino/slider_test.dart`.
## What changed
* Replaced the deprecated `SemanticsTester`/`TestSemantics` assertion in
the slider semantics test with `tester.getSemantics(...)` and
`matchesSemantics(...)`
* Removed the `../widgets/semantics_tester.dart` import
## Testing
* `../../bin/flutter analyze test/cupertino/slider_test.dart`
* `../../bin/flutter test test/cupertino/slider_test.dart`
---------
Co-authored-by: Victor Sanni <victorsanniay@gmail.com>1 parent 7b9f28c commit 62f3d4d
1 file changed
Lines changed: 12 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
437 | | - | |
| 435 | + | |
438 | 436 | | |
439 | 437 | | |
440 | 438 | | |
| |||
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
467 | 457 | | |
468 | 458 | | |
469 | 459 | | |
| |||
478 | 468 | | |
479 | 469 | | |
480 | 470 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 471 | + | |
493 | 472 | | |
494 | | - | |
| 473 | + | |
495 | 474 | | |
496 | 475 | | |
497 | 476 | | |
| |||
0 commit comments