Commit 14d9648
Reverts "refactor: remove material in context_menu_controller_test, icon_test, list_wheel_scroll_view_test, media_query_test, platform_menu_bar_test (flutter#182697)" (flutter#182879)
<!-- start_original_pr_link -->
Reverts: flutter#182697
<!-- end_original_pr_link -->
<!-- start_initiating_author -->
Initiated by: dkwingsmt
<!-- end_initiating_author -->
<!-- start_revert_reason -->
Reason for reverting: I think this PR is causing redness, possibly by
forgetting to import `button_tester.dart`.
```
error • Undefined name 'testTextSelectionHandleControls' • packages/flutter/test/widgets/context_menu_controller_test.dart:205:36 • undefined_identifier
error • The function 'TestButton' isn't defined • packages/flutter/test/widgets/media_query_test.dart:1700:17 • undefined_function
error •
<!-- end_revert_reason -->
<!-- start_original_pr_author -->
Original PR Author: rkishan516
<!-- end_original_pr_author -->
<!-- start_reviewers -->
Reviewed By: {victorsanni}
<!-- end_reviewers -->
<!-- start_revert_body -->
This change reverts the following previous change:
This PR removes Material imports from context_menu_controller_test, icon_test, list_wheel_scroll_view_test, media_query_test, platform_menu_bar_test.
part of: flutter#177415
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is [test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
- [x] All existing and new tests are passing.
<!-- end_revert_body -->
Co-authored-by: auto-submit[bot] <flutter-engprod-team@google.com>1 parent b524e6e commit 14d9648
6 files changed
Lines changed: 139 additions & 129 deletions
File tree
- dev/bots
- packages/flutter/test/widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
Lines changed: 43 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
| |||
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
248 | | - | |
249 | | - | |
250 | | - | |
| 244 | + | |
251 | 245 | | |
252 | 246 | | |
253 | 247 | | |
| |||
277 | 271 | | |
278 | 272 | | |
279 | 273 | | |
280 | | - | |
| 274 | + | |
281 | 275 | | |
282 | 276 | | |
283 | 277 | | |
| |||
286 | 280 | | |
287 | 281 | | |
288 | 282 | | |
289 | | - | |
| 283 | + | |
290 | 284 | | |
291 | 285 | | |
292 | 286 | | |
| |||
316 | 310 | | |
317 | 311 | | |
318 | 312 | | |
319 | | - | |
| 313 | + | |
320 | 314 | | |
321 | 315 | | |
322 | 316 | | |
| |||
330 | 324 | | |
331 | 325 | | |
332 | 326 | | |
333 | | - | |
| 327 | + | |
334 | 328 | | |
335 | 329 | | |
336 | 330 | | |
| |||
352 | 346 | | |
353 | 347 | | |
354 | 348 | | |
355 | | - | |
| 349 | + | |
356 | 350 | | |
357 | 351 | | |
358 | 352 | | |
| |||
374 | 368 | | |
375 | 369 | | |
376 | 370 | | |
377 | | - | |
| 371 | + | |
378 | 372 | | |
379 | 373 | | |
380 | 374 | | |
| |||
410 | 404 | | |
411 | 405 | | |
412 | 406 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
419 | 413 | | |
420 | 414 | | |
421 | 415 | | |
422 | 416 | | |
423 | 417 | | |
424 | 418 | | |
425 | | - | |
| 419 | + | |
426 | 420 | | |
427 | 421 | | |
428 | 422 | | |
| |||
Lines changed: 4 additions & 5 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 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
2046 | 2045 | | |
2047 | 2046 | | |
2048 | 2047 | | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
2052 | 2051 | | |
2053 | 2052 | | |
2054 | 2053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
1697 | 1694 | | |
1698 | 1695 | | |
1699 | 1696 | | |
1700 | | - | |
| 1697 | + | |
1701 | 1698 | | |
1702 | 1699 | | |
1703 | 1700 | | |
1704 | 1701 | | |
1705 | 1702 | | |
1706 | 1703 | | |
1707 | 1704 | | |
1708 | | - | |
| 1705 | + | |
1709 | 1706 | | |
1710 | 1707 | | |
1711 | 1708 | | |
| |||
1720 | 1717 | | |
1721 | 1718 | | |
1722 | 1719 | | |
1723 | | - | |
| 1720 | + | |
1724 | 1721 | | |
1725 | 1722 | | |
1726 | 1723 | | |
| |||
1763 | 1760 | | |
1764 | 1761 | | |
1765 | 1762 | | |
1766 | | - | |
| 1763 | + | |
1767 | 1764 | | |
1768 | 1765 | | |
1769 | 1766 | | |
1770 | 1767 | | |
1771 | 1768 | | |
1772 | 1769 | | |
1773 | 1770 | | |
1774 | | - | |
| 1771 | + | |
1775 | 1772 | | |
1776 | 1773 | | |
1777 | 1774 | | |
| |||
1785 | 1782 | | |
1786 | 1783 | | |
1787 | 1784 | | |
1788 | | - | |
| 1785 | + | |
1789 | 1786 | | |
1790 | 1787 | | |
1791 | 1788 | | |
| |||
2012 | 2009 | | |
2013 | 2010 | | |
2014 | 2011 | | |
2015 | | - | |
| 2012 | + | |
2016 | 2013 | | |
2017 | 2014 | | |
2018 | 2015 | | |
2019 | 2016 | | |
2020 | 2017 | | |
2021 | 2018 | | |
2022 | 2019 | | |
2023 | | - | |
| 2020 | + | |
2024 | 2021 | | |
2025 | 2022 | | |
2026 | 2023 | | |
| |||
2035 | 2032 | | |
2036 | 2033 | | |
2037 | 2034 | | |
2038 | | - | |
| 2035 | + | |
2039 | 2036 | | |
2040 | 2037 | | |
2041 | 2038 | | |
| |||
0 commit comments