Commit Graph

2605 Commits

Author SHA1 Message Date
Jonah Williams
04f7c9d52e [flutter_tools] update dwds, roll to null-safe file and process (#64195)
Update to latest dwds, file-nullsafety, and process-nullsafety for #62886
2020-08-19 16:59:52 -07:00
Jonah Williams
829ef147d1 [null-safety] roll to null-safe platform (#64160) 2020-08-19 15:47:08 -07:00
Greg Spencer
041a3eaa84 Standardize the nullability of arguments to raw key data constructors. (#63523)
This standardizes the handling of nullability for the LogicalKeyboardKey.keyLabel and RawKeyEventData.keyLabel accessors so that they are non-nullable, but can be empty.

Before this change, the keyLabel could be either null or an empty string to indicate that there wasn't a label, which makes it harder to test for, since both need to be checked for. Since an empty string is sufficient, there is no need for it to be nullable.

Also, in raw_keyboard.dart, the web and Windows implementations wouldn't accept null values for parameters in the Map coming from the message, but tests were supplying null for some of them. This makes web and Windows creation of events match the other platforms, and makes the migration of tests to non-nullability easier.
2020-08-19 15:03:17 -07:00
Jonah Williams
69fd5c50a2 [flutter_tools] null assertions off by default for web (#64186)
Like Android/iOS, only enable --null-assertions if asked. Previously this was enabled by default for web, but in general this has proved to be too breaking to enable by default.

#61042
2020-08-19 14:52:47 -07:00
Yuqian Li
6eb45d35da Rename needsMeasureCpuGpu to measureCpuGpu (#64000) 2020-08-19 13:26:07 -07:00
Jonah Williams
38e0c25823 [flutter_tools] reland: enable --null-assertions for flutter framework tests (#64120)
Reland of acdb909 with fixes to semantics.dart

#61042
2020-08-19 13:25:42 -07:00
Yuqian Li
266b9f99a9 Mark tests as nonflaky (#64077)
These tests look quite stable for the last 10 runs.
2020-08-19 10:37:12 -07:00
Tong Wu
430e3cf08c [devicelab] Enable a LUCI try builder. (#64004) 2020-08-19 08:36:04 -07:00
Jonah Williams
1b69983c6d [versions] update gallery, roll versions (#64067) 2020-08-19 08:07:15 -07:00
LongCatIsLooong
db705b81e3 Restore the original name of the velocity tracker microbenchmark (#64060) 2020-08-19 00:41:06 -07:00
godofredoc
86d2fe9f20 Remove windows docs from list of try jobs. (#64125)
Bug:
  https://github.com/flutter/flutter/issues/64121
2020-08-18 21:48:04 -07:00
Michael Goderbauer
3e867f78db Fix assert in dartdoc_checker and enable asserts (#64111) 2020-08-18 19:11:05 -07:00
Jenn Magder
1b47759528 Revert "[null-safety] enable null assertions for framework tests (#64071)" (#64118)
This reverts commit acdb909fcb.
2020-08-18 18:08:51 -07:00
Tong Wu
d6c254be4e Fix a data issue in prod_builder.json (#64116) 2020-08-18 17:51:29 -07:00
Michael Goderbauer
e1a09622df Bump dartdoc to 0.30.4 (#64112) 2020-08-18 17:31:04 -07:00
Jonah Williams
acdb909fcb [null-safety] enable null assertions for framework tests (#64071) 2020-08-18 17:21:04 -07:00
xster
b92f80e22a Incorrect path.join usage might be causing Windows test failures (#64056) 2020-08-18 17:16:04 -07:00
Ming Lyu (CareF)
48287750d0 remove duplicate e2e driver (#64015) 2020-08-18 17:06:05 -07:00
godofredoc
d504437d88 Make cirrus tests presubmit only and add new luci tests. (#63995) 2020-08-18 17:01:09 -07:00
Jonah Williams
39c735f408 [flutter_tools] correctly forward error only stdout in non-verbose modes (#63815) 2020-08-18 16:56:05 -07:00
Ming Lyu (CareF)
3313df9b13 ensureVisible => scrollUntilVisible (#63983) 2020-08-17 14:11:02 -07:00
Yuqian Li
c08ce78374 Mark nonflaky tests as such (#63801) 2020-08-17 12:23:01 -07:00
Ming Lyu (CareF)
fe94267604 add ios tests (#63797) 2020-08-17 12:16:03 -07:00
Dan Field
d1583fc39b drop xcpretty for tests (#63804) 2020-08-14 20:09:41 -07:00
Remi Rousselet
2b25e29192 add benchmark for ChangeNotifier.notifyListeners (#62715) 2020-08-14 17:06:03 -07:00
Ming Lyu (CareF)
6f26e806ab bug fix for flutter_gallery__transition_perf(_with_semantics) (#63799)
* report failure for semantics test

* bug fix
2020-08-14 19:37:08 -04:00
keyonghan
8d4aef0d51 Add enabled flag for try builders (#63783)
* add enabled flag

* remove flaky flag for try builders

* remove trailing space
2020-08-14 13:22:49 -07:00
godofredoc
58feba8edd Update task_names to add the platform. (#63736) 2020-08-13 21:16:04 -07:00
MH Johnson
bee9522f18 [Text Scaling][Material] Update BottomNavigationBar to show tooltips on long press. (#59127) 2020-08-13 22:53:27 -04:00
godofredoc
89f004e0d3 Add windows builders to presubmit. (#63726) 2020-08-13 19:00:20 -07:00
Ming Lyu (CareF)
360023e2bc Clean up flutter_gallery__transition_perf (#63609) 2020-08-13 14:41:04 -07:00
godofredoc
0ec50a8e63 Add win (#63594) 2020-08-13 14:31:09 -07:00
Kate Lovett
eb60849e93 Pin goldctl (#63593) 2020-08-13 11:16:04 -07:00
Greg Spencer
21f4096267 Revert: Update prepare_package.dart to use the process_runner package instead having duplicate code. #62710 (#63608)
This reverts #62710, since it has a noSuchMethodError in some circumstances.

This isn't just a straight git revert, because I had to resolve the conflicts in the reverted pubspec.yaml files and re-run flutter update-packages --force-upgrade to make the checksums match.
2020-08-13 08:43:20 -07:00
Konstantin Scheglov
bd1a58a991 Add arguments for required parameters. (#63598) 2020-08-13 08:16:33 -07:00
Shi-Hao Hong
0a7c6243fa [gen_l10n] Absolute project path parameter (#63368) 2020-08-13 05:11:05 -07:00
Ming Lyu (CareF)
0629030a05 WidgetTester.drag with time duration (#63410) 2020-08-12 21:01:03 -07:00
Emmanuel Garcia
febcbcb885 Print dex when analyzing the APK (#63538) 2020-08-12 17:56:04 -07:00
Dan Field
bc74ae5437 Remove unused files (#63532) 2020-08-12 15:41:05 -07:00
Jenn Magder
6b2ef0df7b Fix App.framework path in Podfile (#63412) 2020-08-12 13:36:12 -07:00
Ming Lyu (CareF)
2384376f64 Migrate gallery/transitions_perf test to e2e (#62064) 2020-08-12 13:36:07 -07:00
LongCatIsLooong
cea055ef00 Make Scrollable's free scroll initial velocity matches that of iOS (#60501) 2020-08-12 13:31:05 -07:00
Jonah Williams
9225d8d5b7 [flutter_tools] move to fake_async, skip failing tests (#63536) 2020-08-11 19:36:05 -07:00
Shi-Hao Hong
c36b75e45b Remove Special Handling of Norwegian Locales (#63034)
* Regenerate _no.arb and _nb.arb from scratch

* Revert no <--> nb synonym logic
2020-08-12 07:29:17 +08:00
godofredoc
8bef71b910 Update prod builders. (#63492)
* Update prod builders.

This is to make the builders show up in the flutter dashboard.

Bug:
  https://github.com/flutter/flutter/issues/63256

* Add mac and windows bots.

* Fix flaky flag.

* Rename taskName as task_name.
2020-08-11 15:52:20 -07:00
xster
df8e537f96 move compile/target sdk versions to 29 (#62799) (#63008) 2020-08-11 14:51:02 -07:00
Greg Spencer
a344fb1e2c Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710)
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Hans Muller
d06c8fa54e Updated old button references in dev/integration_tests/flutter_gallery ... full_screen_dialog_demo (#63491) 2020-08-11 11:39:20 -07:00
Hans Muller
e13b929e61 Updated old button references in dev/integration_tests/flutter_gallery ... transformation_demo (#63432) 2020-08-11 10:05:19 -07:00
Hans Muller
c13b354a02 Updated old button references in dev/integration_tests/flutter_gallery leave_behind_demo (#63430) 2020-08-11 10:03:34 -07:00