Commit Graph

2363 Commits

Author SHA1 Message Date
Jonah Williams
3ccb160da3
[flutter_tools] re-enable non-nullable test (#57075) 2020-05-13 09:32:03 -07:00
Anna Gringauze
e88ef6d554
Updated dwds (and other packages) (#56958) 2020-05-13 09:07:09 -07:00
Jenn Magder
c969b8af7b
Revert "Bring back paste button hide behavior 2 (#56922)" (#56951)
This reverts commit d988226374.
2020-05-11 15:28:10 -07:00
Justin McCandless
d988226374
Bring back paste button hide behavior 2 (#56922)
Unrevert of paste button hides when nothing to paste
2020-05-11 13:23:24 -07:00
Nate Bosch
59a8ef3a21
Remove direct uses of LocalPlatform (#56605)
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Jenn Magder
fab03bd1e2
Shard Cirrus build_tests (#56735) 2020-05-11 12:49:18 -07:00
Tim Sneath
85f9d590eb
Update README.md (#56727) 2020-05-11 12:10:02 -07:00
Christopher Fujino
3e31dbd29d
fix ref (#56721) 2020-05-11 12:05:02 -07:00
Jenn Magder
9c87b32477
Remove Runner target check, prefer schemes (#56620) 2020-05-11 11:56:44 -07:00
Luke Cheng
793e6a48a1
typo fix on the FLUTTER_STORAGE_BASE_URL usage (#56685) 2020-05-09 21:14:01 -07:00
Mehmet Fidanboylu
0786f29ff2
Revert "Bring back paste button hide behavior (#56689)" (#56806)
This reverts commit d56349822d.
2020-05-09 20:22:17 -07:00
Jenn Magder
3cb04ff9aa
Shard firebase_test_lab_tests (#56594) 2020-05-08 16:32:17 -07:00
liyuqian
0e0c1c5ad2
Mark new Gallery test as non-flaky (#56700)
The test has been consistently green for the last few commits.
2020-05-08 14:41:50 -07:00
Justin McCandless
d56349822d
Bring back paste button hide behavior (#56689)
Unreverts #54902 with fixes for a failing integration test.
2020-05-08 13:41:22 -07:00
Yegor
324fdb6b3c
LayoutBuilder: skip calling builder when constraints are the same (#55414)
Avoid calling `builder` in `ConstrainedLayoutBuilder` when layout constraints are the same.

[Design doc](flutter.dev/go/layout-builder-optimization).

## Related Issues

Fixes https://github.com/flutter/flutter/issues/6469
2020-05-08 12:27:59 -07:00
Jonah Williams
ebce82aefd
[devicelab] mark web_enable_twc as non-flaky (#56695) 2020-05-08 11:00:16 -07:00
Yegor
874b2e58b8
add web benchmark that measures efficiency of clipped out pictures (#56596) 2020-05-08 09:51:52 -07:00
Jonah Williams
231a055069
[devicelab] fix web twc task missing display (#56623) 2020-05-08 09:50:46 -07:00
Jim Graham
3519bec6c4
Save results of A/B test runs in a JSON file for future processing (#56416) 2020-05-08 00:34:02 -07:00
liyuqian
a849daf283
Roll new gallery version in the perf test (#56575) 2020-05-07 18:59:02 -07:00
Bogdan Lukin
80a14af582
[flutter_tools] ensure track-widget-creation can be changed on devcompiler (#56564)
Workaround for cached web builds with --[no-]track-widget-creation flags.
Similar PR: #23299
2020-05-07 18:58:43 -07:00
Christopher Fujino
d56af3ca5e
Add --force to roll_dev.dart (#56501) 2020-05-07 18:24:03 -07:00
Jenn Magder
0a4f6cdef0
Add split-debug and obfuscation to build aar (#56342) 2020-05-07 18:14:02 -07:00
Shi-Hao Hong
eadd30eb6c
Improve arb FormatException error message (#56373) 2020-05-07 18:09:03 -07:00
Shi-Hao Hong
13501af6e6
[gen_l10n] Optionally generate list of inputs/outputs (#56490) 2020-05-07 11:46:02 -07:00
xster
f6b47a5f35
let the embedding maven engine dependency reference the storage proxy (#56164) 2020-05-07 11:36:02 -07:00
Jonah Williams
82b635ec04
[devicelab] unmark android_attach, twc tests, remove mac twc test (#56401) 2020-05-06 08:11:03 -07:00
Zachary Anderson
19967e2463
Revert "Add DevTools memory test (#55486)" (#56445)
This reverts commit 9ee6763a66.
2020-05-06 07:53:26 -07:00
liyuqian
9ee6763a66
Add DevTools memory test (#55486) 2020-05-05 15:12:01 -07:00
Jonah Williams
c6a83af54a
[devicelab] add verification print (#56398) 2020-05-05 13:33:16 -07:00
Jonah Williams
f7ed942a70
[devicelab] allow the tool to use the word waiting more than once (#56397) 2020-05-05 13:13:21 -07:00
Jonah Williams
f04d61944a
[devicelab] enable macOS, windows, linux, and web on devicelab bots (#56336)
* enable macOS desktop

* enable all configs on CI

* Update track_widget_creation_enabled_task.dart

* Update framework.dart

* remove FLUTTER_WEB

* remove config environment variables

* configure in correct spot
2020-05-04 18:49:28 -07:00
Jonah Williams
721ce7aa6e
add macOS to ui integration test (#56324)
This is required to run the macOS twc enabled devicelab test.
2020-05-04 15:55:33 -07:00
Jenn Magder
c8c55b4098
Check Xcode build setting FULL_PRODUCT_NAME for bundle name (#55799) 2020-05-04 11:31:08 -07:00
Jonah Williams
6dc1e83f12
[flutter_tools] ensure track-widget-creation can be disabled on Android/macOS (#56203)
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
Dan Field
22239f4183
Test engine version hash, but skip for Dart HHH bot (#55223) 2020-05-04 11:19:02 -07:00
Paul Berry
c32d1387ab
Fix overly specific detection of non-UTF8 files in analyzer bot. (#56295)
An upcoming Dart SDK change
(fa2fd41166)
changes the precise text of the exception generated by `utf8.decode`
if a non-UTF8 file is found.  This is causing a breakage in the Dart
team's `flutter-analyze` bot (and will presumably cause a breakage in
the corresponding Flutter bot as soon as this change is rolled into
Flutter).  To avoid this breakage, the bot shouldn't rely on the exact
exception text; it is sufficient to simply catch a FormatException.
2020-05-04 09:10:20 -07:00
Shi-Hao Hong
c01c46c896
Test to ensure _kn.arb files are properly escaped (#56091)
* Run encode kn character encoding tool when gen_localizations is run

* Add test that ensures *_kn.arb files are properly encoded/escaped in order to be checked in

* Fix *_no.arb test to not incorrectly pass
2020-05-01 18:13:55 -07:00
Hans Muller
b039fc7c09
Fixed a typo (#56146) 2020-05-01 15:39:02 -07:00
Jonah Williams
2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file (#56094)
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
ac2dfcf338
[version] update all versions (#56141) 2020-05-01 15:14:36 -07:00
liyuqian
a065c2cd6e
Temporarily disable new Gallery perf test (#56136)
See https://github.com/flutter/flutter/issues/56135
2020-05-01 11:07:43 -07:00
Ferhat
0d452b8305
[web] Change display mode of PWA default to standalone (#56056)
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
fdc6f38a44
increase eventOrExit timeout to 1 minute (#55988) 2020-04-29 15:33:55 -07:00
Jonah Williams
7ec50ddd66
[devicelab] Explicitly print stack trace from error in android attach test (#55981) 2020-04-29 12:51:38 -07:00
Emmanuel Garcia
9d106bdead
Read correct file for android view benchmark (#55935) 2020-04-28 23:09:50 -07:00
Emmanuel Garcia
b176042c1a
Add benchmark for hybrid composition on Android (#55609) 2020-04-28 19:24:15 -07:00
Jenn Magder
deb0fa374d
Mark flutter_gallery_v2_chrome_run_test and flutter_gallery_v2_web_compile_test not flaky (#55877) 2020-04-28 19:17:27 -07:00
Shi-Hao Hong
de4f052703
[gen_l10n] Fix unintended breaking change introduced by output-dir option (#55909)
* Fix breaking change introduced by gen_l10n output-dir option
2020-04-28 16:25:59 -07:00
Katarina Sheremet
3b067049ad
Support tags in testWidgets (#55141) 2020-04-28 15:49:01 -07:00
Shi-Hao Hong
9d7af39a5b
[gen_l10n] Output directory option (#55792)
* Add new output-dir option for gen_l10n tool
2020-04-28 13:10:27 -07:00
Jonah Williams
42592adb93
Make flutter_attach_test_android test verbose (#55881) 2020-04-28 11:46:19 -07:00
Jonah Williams
f7ad30b777
Temporarily disable nnbd flutter test test (#55873) 2020-04-28 10:45:36 -07:00
Jonah Williams
0663bf5fd4
mark attach test flaky (#55876) 2020-04-28 10:31:37 -07:00
Jonah Williams
c15aa87442
restore quit timeout, adjust some integration test behaviors (#55812) 2020-04-28 10:05:52 -07:00
Jose Alba
4f8634e7d1
Removing Deprecated flag (#55782) 2020-04-27 16:39:02 -07:00
Jose Alba
7eb3df4a11
Default to use V2 Slider (#55599)
* Instead of changing test I just flipped flag so the test uses the proper slider

* Use Depracated annotation

* Updated depracation notice

* Updated depracation notice again

* Ignore analyze issues

* flutter analyze .

* ignore analyzer

* // ignore: deprecated_member_use

* Ignoring notice

* indentation
2020-04-27 17:57:42 -04:00
Jonah Williams
1ab3878996
[flutter_tools] support --enable-experiment in flutter test (#55564)
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Tianguang
f582246af6
Use relative path for flutter. (#55485) 2020-04-23 13:29:02 -07:00
Dan Field
2ae0e5a37a
Roll packages, drop custom timeline parsing for tracing tests (#55433) 2020-04-22 21:43:03 -07:00
liyuqian
a091206ed1
Add performance tests for the new gallery (#55181) 2020-04-22 20:03:01 -07:00
Yegor
6f8945fce6
extract engine sub-metrics; change reported metrics (#55331)
* extract engine sub-metrics; change reported metrics

- Extract sub-metrics reported by the Web engine: "preroll_frame", "apply_frame".
- Add a concept of unreported metrics: displayed on the benchmark UI, but not on the dashboard.
- Make "sceneBuildDuration" and "windowRenderDuration" unreported, which are too fine-grained. They are included in "drawFrameDuration" already.
- Report outlier ratio instead of outlier average. The ratio is more useful of the two.
2020-04-22 17:18:53 -07:00
godofredoc
900c7c166b
Optimize fuchsia test script. (#55401) 2020-04-22 16:48:01 -07:00
Kate Lovett
cbc121e392
ToDo Audit - Cupertino+ Library (#54798) 2020-04-22 16:33:01 -07:00
Jonah Williams
27d11da88f
Revert "[flutter_tools] default tree-shake-icons to enabled and improve performance (#54923)" (#55413)
This reverts commit 0b93a9219b.
2020-04-22 15:43:09 -07:00
Jonah Williams
0b93a9219b
[flutter_tools] default tree-shake-icons to enabled and improve performance (#54923) 2020-04-22 13:17:46 -07:00
Jonah Williams
94ddf56b9e
[flutter_tools] unpin package config and update (#55348) 2020-04-22 10:16:34 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos (#54617) 2020-04-21 20:39:36 -07:00
Janice Collins
d2572c8fb7
Update dartdoc version to 0.31.0 (#55335) 2020-04-21 19:33:02 -07:00
Greg Spencer
36767d01e4
Make Action.enabled be isEnabled(Intent intent) instead. (#55230) 2020-04-21 13:18:04 -07:00
Tianguang
fbf4fa0a05
Devicelab tests (Chrome run, Web compile) for New Flutter Gallery (#53096) 2020-04-21 11:48:03 -07:00
Katarina Sheremet
d8f353af5b
Support tags when running tests from command line (#55152) 2020-04-21 10:35:13 -07:00
Yegor
ca8981b4c1
web benchmarks: handle no outliers case (#55126) 2020-04-21 10:13:02 -07:00
liyuqian
f57197ad23
Remove the unused getFlutter function (#55225) 2020-04-20 12:30:02 -07:00
Dan Field
6a490ed497
Revert "validate engine hash (#55057)" (#55220)
This reverts commit 98651c0252.
2020-04-20 10:56:39 -07:00
Amir Hardon
34895351be
Enable android_views window touch test (#55130) 2020-04-20 09:21:15 -07:00
Jose Alba
3f30b6138d
Migrating old Gallery to new Slider (#55201) 2020-04-20 11:42:46 -04:00
Jim Graham
77ea2da746
benchmark animation performance of Opacity widget (#54903) 2020-04-17 18:34:10 -07:00
Amir Hardon
a0379f45d6
Test touch for Android windows added by platform views (#55068) 2020-04-17 17:21:28 -07:00
Dan Field
98651c0252
validate engine hash (#55057) 2020-04-17 16:30:26 -07:00
Jenn Magder
9fa5e55fc3
Mark ios_app_with_watch_companion as not flaky (#54991) 2020-04-16 15:18:56 -07:00
Yegor
96f80055e4
mark flutter_gallery__memory_nav and flutter_gallery__back_button_memory as flaky (#54994) 2020-04-16 14:58:39 -07:00
Yegor
54cdc26afb
add benchmark for picture recording (#54908) 2020-04-16 14:46:41 -07:00
Yegor
a30c46dc79
Remove outliers in Web benchmarks to reduce noise; add visualization (#54883)
* web benchmarks: separate outliers to reduce noise; add visualization
2020-04-16 14:39:18 -07:00
Yegor
20803507fd
print intermediate and raw A/B results when not silent (#54676)
* print intermediate A/B results when not silent
* print raw A/B results when in loud mode
* add tests; handle missing metrics more gracefully
* use less fancy section header on Windows
2020-04-16 14:36:42 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines (#54973) 2020-04-16 10:56:49 -07:00
Michael Thomsen
fd397e1fc0
Roll pinned package versions (#54952) 2020-04-16 10:55:02 -07:00
Christopher Fujino
2bb361c9f7
[flutter_tools] Fix roll dev script, add tests (#54783) 2020-04-16 10:10:04 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web (#54909)" (#54967)
This reverts commit b8bd09db21.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web (#54909) 2020-04-15 22:25:32 -07:00
Jenn Magder
6f9ee13e7a
Pass in runtime to ios_app_with_watch_companion simctl create (#54899) 2020-04-15 19:44:28 -07:00
Janice Collins
4acc2183d9
Update dartdoc to 0.30.4. (#54894) 2020-04-15 14:20:01 -07:00
Tong Wu
c97f61a452
Fix the stage of ios_app_with_watch_companion (#54893) 2020-04-15 13:12:14 -07:00
Jenn Magder
c89b634b6d
Mark ios_app_with_watch_companion as flaky (#54891) 2020-04-15 12:41:13 -07:00
Jenn Magder
bc42a6c2f6
Specify the devicelab task simulator runtime to support Xcode 11.3 (#54887) 2020-04-15 12:31:59 -07:00
tauu
56b7c93584
[flutter_tools] fix build for projects with watchOS companion app (#51126)
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-15 12:13:06 -07:00
Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead (#54125)
## Description

Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.

## Related Issues

https://github.com/flutter/flutter/issues/53908

## Tests

No changes to tests

## Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.

- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.

## Breaking Change

Did any tests fail when you ran them? Please read [Handling breaking changes].

- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
   - [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
   - [x] I got input from the developer relations team, specifically from: @RedBrogdon
   - [x] I wrote a migration guide:  https://github.com/flutter/website/pull/3932

<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies (#54787)
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration (#54691) 2020-04-14 13:01:54 -07:00
Jonah Williams
6262150796
fix run release test APK location (#54703) 2020-04-13 18:03:50 -07:00