Commit graph

2673 commits

Author SHA1 Message Date
Ming Lyu (CareF) 51f1c98490
migrate cubic_bezier_perf to e2e (#64487) 2020-09-11 20:02:03 -07:00
Tong Mu 87617e4cc3
New benchmark: bench_mouse_region_mixed_grid_hover (#63808)
* Adds a new web benchmark bench_mouse_region_mixed_grid_hover
2020-09-11 18:05:15 -07:00
Yuqian Li e1eddb401d
Revert the revert (#65602) 2020-09-11 16:20:03 -07:00
godofredoc 53f9653e6b
Add mac builders to try configurations. (#65578) 2020-09-10 20:20:04 -07:00
Ben Konyi 577de1c44e
Roll forward package:test to 1.16.0-nullsafety.4 to prepare for (#65571) 2020-09-10 15:55:03 -07:00
xster 65ae30c8cc
Update create templates to 1.0.0 (#65234) 2020-09-10 12:57:56 -07:00
godofredoc f246a8ce8b
Add mac builder in prod. (#65566) 2020-09-10 12:50:10 -07:00
Chris Yang ad5370e43c
mark as flaky (#65577) 2020-09-10 12:48:00 -07:00
godofredoc 9e315985d0
Remove mac prod builder. (#65481)
This is in preparation to enable the new mac builders.

Bug:
  https://github.com/flutter/flutter/issues/65223
2020-09-09 09:47:46 -07:00
Tong Wu abeaf11829
[devicelab] Remove ~/.gradle after each devicelab task run (#65434) 2020-09-09 01:50:03 -07:00
Yuqian Li 46d1aba2e2
Remove flutter_gallery_ios32__transition_perf test (#65415) 2020-09-08 15:55:12 -07:00
Jonah Williams 29898812d4
[framework] make hit slop based on device pointer kind for drag/pan/scale gestures (#64267)
Currently the framework uses fairly large "hit slop" values to disambiguate taps from drags/pans. This makes sense on touch devices where the interaction is not very precise, on mice however it can feel as if the UI is lagging. This is immediately noticeable on our infra dashboard, where it takes almost half of a grid square of drag before the actual drag kicks in.

One potential solution is to always use smaller constants depending on whether the interaction is mouse or touch based. The only reasonable choice is to use the pointer device kind and not target platform - same platform can have different input sources. This requires exposing the pointer device kind in a few new places in several of the gesture detectors, and using the enum to compute the correct hit slop from an expanded set of constants.

This almost works, however there are a few places (notably ListViews) which uses the touch hit slop as a default value in scroll physics. It does not seem like it will be easy to disambiguate a user provided scroll physics constant from the default and/or adjust it somehow - this might require significant changes to scroll physics which I have left out of this PR.

This PR does not adjust:

kTouchSlop used in scroll_physics.dart's minFlingDistance
kTouchSlop used in PrimaryPointerGestureRecognizer/LongPressGestureRecognizer
2020-09-08 15:53:36 -07:00
Ian Hickson e10bdbbd9d
Fix RangeMaintainingScrollPhysics (#65135) 2020-09-07 11:40:03 -07:00
Jim Graham 9f4d4a5c59
re-enable the post_backdrop_filter test with CPU/GPU measurements (#65201) 2020-09-04 18:00:02 -07:00
Yuqian Li d7d1461f75
Increase simple animation delay and duration (#64002)
Previously, the CPU/GPU measurement using gauge happened after the
driver test is done. Now, the measurement happens within the driver
test. So we need to properly increase the delay and duration to get a
comparable reading as the old gauge measurements.
2020-09-03 13:25:19 -07:00
Yuqian Li 1135002b0f
Mark nonflaky tests as such (#65054)
Those 2 tests have been green for the last 10 runs
2020-09-03 12:46:24 -07:00
Shi-Hao Hong b80b432555
Move gen_l10n into flutter_tools (#65025) 2020-09-03 09:26:58 -07:00
Jenn Magder ace54425e0
Add observatory Bonjour service to built iOS Info.plist bundle (#65138) 2020-09-02 18:47:56 -07:00
Jenn Magder 259deec221
Revert "Add observatory Bonjour service to built iOS Info.plist bundle (#65138)" (#65141)
This reverts commit 5e0aa8b9fc.
2020-09-02 18:31:45 -07:00
Jenn Magder 5e0aa8b9fc
Add observatory Bonjour service to built iOS Info.plist bundle (#65138) 2020-09-02 17:57:43 -07:00
gaaclarke 37de94d7d2
devicelab: started averaging startup time for ios test (#64978) 2020-09-02 16:35:03 -07:00
Jenn Magder 2e67bf2e32
Require xcode_backend.sh arguments (introduced in Flutter v0.0.7) (#65124) 2020-09-02 16:33:26 -07:00
Jenn Magder cb819504f3
Revert "Add observatory Bonjour service to built iOS Info.plist bundle (#64988)" (#65109)
This reverts commit 4fde217dea.
2020-09-02 12:31:17 -07:00
Christopher Fujino 237c0ab424
Delete catalog generator android/ios tests (#64977) 2020-09-02 11:25:04 -07:00
Yuqian Li 484f3f2646
Add FrameTiming delay to watchPerformance (#64780) 2020-09-02 11:15:08 -07:00
Pedro Massango 7fdd9218b0
Proposal: deprecate autovalidate parameter of the Form, FormField and TextFormField widget (#61648) 2020-09-02 11:15:05 -07:00
Jenn Magder 4fde217dea
Add observatory Bonjour service to built iOS Info.plist bundle (#64988) 2020-09-02 11:11:07 -07:00
Dan Field a8281e31af
Mark large_image_changer tests as not flaky (#65033)
They appear to be passing now.
2020-09-01 10:57:59 -07:00
Dan Field e82571a98c
Update large_image_changer_test.dart (#64974)
Fix typo.
2020-09-01 09:09:31 -07:00
Ming Lyu (CareF) 28de49e358
Revert "Reland #61998 and update complex_layout ios files (#64885)" (#64990)
This reverts commit df83398687.
2020-08-31 18:47:08 -07:00
Ming Lyu (CareF) df83398687
Reland #61998 and update complex_layout ios files (#64885) 2020-08-31 17:23:06 -07:00
Dan Field b5ed913ecc
Memory/cpu/gpu benchmark for showing large images in succession (#64762) 2020-08-31 10:03:57 -07:00
Casey Hillers ef3440b8d8
[fuchsia] Test wait for device to be up after pave (#64819) 2020-08-31 09:48:05 -07:00
Shi-Hao Hong fd22fc3e35
[gen_l10n] Synthetic package generation by default (#62395)
* synthetic packages by default in gen_l10n tool

* Refactor default path for synthetic package

* Remove unused import

* Code cleanup

* Further improvements to help text

* Refactor synthetic package path

* Remove newlines

* Test cleanup

* clean up logic in inputs and outputs list function

* Update l10n.yaml usage

* only add option if value is non-null

* Update stocks app as proof of concept for synthetic package usage

* Address nits

* print pubspec contents

* add print statements

* Do not allow null value for useSyntheticPackage

* +

* +

* +

* +

* Cleanup

* Add test

* Fix text

* Dont parse pubspec directly

* Test using context

* WIP: generate synthetic packages on pub get -- needs tests

* Allow null value

* Update null handling

* Refactor to properly handle null case

* Fix yamlMap condition

* Fix yaml node for real

* WIP: struggling to write tests

* WIP - take absolute path as an option

* Add tests

* Use environment project directory for synthetic package generation pathway

* Fix typo

* Improve help text

* Update defaults

* Remove unauthorized path import

* Fix pathing issues at synthetic package generation

* Fix typo in test

* Use path.join so projectDir matches up based on OS

* Fix Windows pathing in test

* Remove unnecessary replaceApp code for projectDir.path

* Use globals.fs.currentDirectory.path in resident_runner_test.dart

* Fix merge conflict

* Add test to ensure that synthetic package is generated on pub get

* Fix resident_runner_test.dart tests

* Fix tests

* Use package:file instead of dart:io

* WIP - exploration

* Remove synthetic package use from stocks example

* Update integration test to not use synthetic packages

* Remove trailing whitespace

* flutter pub get runs synth package generation

* Remove more print statements

* Add license header

* WIP - minimally working pub.get

* Use own MockBuildSystem

* Modify test and implementation to be a little cleaner

* Fix flutter pub get invocation

* Use synthetic packages in stocks app

* Revert "Use synthetic packages in stocks app"

This reverts commit 45bf24903c.

* Add environment and buildSystem params to flutter test

* Address code review feedback

* +

* Isolate codegen into its own API

* Fix imports

* Slight refactor

* Add one more test for no l10n.yaml file

* Remove unneeded mock class and import in pub_get_test.dart

* More code review feedback

* Remove unnecessary imports

* Remove `return await`s that I missed

* use arrow functions instead
2020-08-31 13:19:41 +08:00
Shi-Hao Hong 34541c3073
Revert "A benchmark test case for measuring scroll smoothness (#61998)" (#64883)
This reverts commit 12b7355da1.
2020-08-30 18:42:10 +08:00
Ming Lyu (CareF) 12b7355da1
A benchmark test case for measuring scroll smoothness (#61998) 2020-08-29 04:28:03 -07:00
Tong Wu 8c2d1c49a2
[Devicelab] Temporarily remove testonly_devicelab_tests builder. (#64837) 2020-08-28 20:13:03 -07:00
Zachary Anderson dff7ea1c4f
Revert "Avoid thinning frameworks in iOS extensions (#64674)" (#64829)
This reverts commit ce9cde8c4e.
2020-08-28 15:23:22 -07:00
Zachary Anderson 6f02c0b231
Revert "Roll new gallery to help flaky Crane test (#64676)" (#64824)
This reverts commit e825281745.
2020-08-28 13:54:51 -07:00
Ming Lyu (CareF) 3579f1c33e
remove flaky flag (#64770) 2020-08-28 11:08:04 -07:00
Casey Hillers 4a33ce7d53
[fuchsia] Refactor fuchsia_ctl use to a function (#64736) 2020-08-28 10:53:04 -07:00
Yuqian Li e825281745
Roll new gallery to help flaky Crane test (#64676) 2020-08-28 10:48:03 -07:00
Jenn Magder ce9cde8c4e
Avoid thinning frameworks in iOS extensions (#64674) 2020-08-28 10:43:04 -07:00
Tong Wu 162d82db1b
Temporarily disable the mac/android test on LUCI. (#64729)
Because the test bed's CPU is too hot.

Bug: https://github.com/flutter/flutter/issues/64723
2020-08-27 10:18:36 -07:00
Casey Hillers f35a8b7470
Sync with engine run_tests script (#64670) 2020-08-26 21:33:03 -07:00
Dan Field dd9015c21e
Use Pixel4 for better wait times (#64609)
* Use Pixel4 for better wait times

According to the firebase team, these have lower wait times for tests.
2020-08-26 08:56:39 -07:00
Jonah Williams 3f6c862177
[null-safety] remove sound-null-safety by default, remove experiment flag (#64594)
To allow tests to begin migrating to null safety, sound null safety needs to be disabled. Also removes the experiment flag that is unnecessary since the framework is on the SDK allowlist.
2020-08-25 15:57:54 -07:00
Alexander Aprelev ed65f5e96c
Re-enable image_list test with updated certificate(good for 3650 days). (#64519)
Added instructions on how to regenerate certificate too.
2020-08-25 11:30:27 -07:00
Jenn Magder bd7e2eeee9
Bump Cirrus image Xcode version (#63252) 2020-08-25 10:34:33 -07:00
Ming Lyu (CareF) 13d1ff8c67
update manifest (#64079) 2020-08-25 13:17:20 -04:00