Commit f704391
Use local semantics tester in Material button tests (#186667)
Part of #182636.
Switches the Material button test files that already have a local
`semantics_tester.dart` copy from importing
`../widgets/semantics_tester.dart` to importing the local Material test
utility. This removes another small set of cross-library test utility
imports ahead of the Material/Cupertino package split.
Validation:
- dart analyze packages/flutter/test/material/elevated_button_test.dart
packages/flutter/test/material/filled_button_test.dart
packages/flutter/test/material/material_button_test.dart
packages/flutter/test/material/outlined_button_test.dart
packages/flutter/test/material/text_button_test.dart
- flutter test packages/flutter/test/material/elevated_button_test.dart
packages/flutter/test/material/filled_button_test.dart
packages/flutter/test/material/material_button_test.dart
packages/flutter/test/material/outlined_button_test.dart
packages/flutter/test/material/text_button_test.dart
---------
Co-authored-by: Victor Sanni <victorsanniay@gmail.com>1 parent 92ca39b commit f704391
5 files changed
Lines changed: 86 additions & 93 deletions
File tree
- packages/flutter/test/material
Lines changed: 21 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1636 | 1636 | | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1643 | 1642 | | |
1644 | | - | |
| 1643 | + | |
| 1644 | + | |
1645 | 1645 | | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1649 | 1649 | | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
1658 | 1656 | | |
1659 | 1657 | | |
1660 | 1658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1763 | 1763 | | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | | - | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
1770 | 1770 | | |
1771 | | - | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
1775 | | - | |
1776 | | - | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1777 | 1776 | | |
1778 | | - | |
| 1777 | + | |
| 1778 | + | |
1779 | 1779 | | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1783 | 1783 | | |
1784 | | - | |
1785 | | - | |
1786 | | - | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
1791 | | - | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
1792 | 1790 | | |
1793 | 1791 | | |
1794 | 1792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 21 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
1864 | | - | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
1865 | 1865 | | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
1872 | 1871 | | |
1873 | | - | |
| 1872 | + | |
| 1873 | + | |
1874 | 1874 | | |
1875 | | - | |
1876 | | - | |
1877 | | - | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
1878 | 1878 | | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
1887 | 1885 | | |
1888 | 1886 | | |
1889 | 1887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
1575 | | - | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1579 | 1579 | | |
1580 | | - | |
1581 | | - | |
1582 | | - | |
1583 | | - | |
1584 | | - | |
1585 | | - | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1586 | 1585 | | |
1587 | | - | |
| 1586 | + | |
| 1587 | + | |
1588 | 1588 | | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1592 | 1592 | | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1601 | 1599 | | |
1602 | 1600 | | |
1603 | 1601 | | |
| |||
0 commit comments