Commit Graph

2386 Commits

Author SHA1 Message Date
Yegor
be5b5c898c
add a backward variant of BenchCardInfiniteScroll (#58140) 2020-05-28 12:28:17 -07:00
Jonah Williams
52db5e29f1
[release] remove .dart_tool directory from uploaded zip (#58135)
Fixes #58003

The .dart_tool directory can contain build assets, as well as the package_config.json file - the replacement for .packages. Remove it for the same reason we remove .packages
2020-05-28 12:07:11 -07:00
Shi-Hao Hong
39ffce3e36
Update stocks example to use l10n.yaml workflow (#58121) 2020-05-28 12:03:02 -07:00
Jonah Williams
e05a67f068
[devicelab] less sensitivity to whitespace in flutter_performance_test testing (#58175) 2020-05-28 11:12:52 -07:00
Emmanuel Garcia
4465ff9e3d
Prevent building non-android plugins in build aar (#58018) 2020-05-27 10:11:36 -07:00
Jenn Magder
d9adfe3f7e
Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) 2020-05-27 10:08:09 -07:00
Jenn Magder
03d22501a6
Remove unused integration test iOS directory (#57624) 2020-05-27 10:07:45 -07:00
Greg Spencer
af9b6a6efa
Update snippets README.md to include more detail (#57152)
Just adding some more details to the snippets README.md file about testing snippets.
2020-05-26 09:17:55 -07:00
Devon Carew
9d58a87066
fix a typo in trace events for the image cache (#57821) 2020-05-22 22:37:01 -07:00
liyuqian
721927efd3
Use pub inside the Flutter directory (#57704) 2020-05-21 17:52:02 -07:00
liyuqian
a635765116
Reland "Add DevTools memory test (#55486)" (#57340) 2020-05-19 18:02:03 -07:00
Justin McCandless
53d7f24521
Fix Web asking for clipboard permissions (#57324) 2020-05-19 17:57:04 -07:00
stuartmorgan
e384757fac
Remove MaterialControls from examples/flutter_view (#57621)
Co-authored-by: Jenn Magder <magder@google.com>
2020-05-19 16:57:27 -07:00
Tianguang
5a3104b36a
Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
Zachary Anderson
859f2f9bd4
Update packages (#57321) 2020-05-16 15:02:06 -07:00
Jonah Williams
631087d83b
[flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
nturgut
32547dcc7e
Revert " Bring back paste button hide behavior 3 (#57139)" (#57286)
This reverts commit 8de07d5527.
2020-05-15 10:42:37 -07:00
Yegor
c81449e5ab
Allow Recorder override shouldContinue (#57039) 2020-05-14 15:17:02 -07:00
Ferhat
1fa90ecc2a
[web] Add path construction benchmark (#57016)
* Add path construction benchmark

* Fix analyzer warnings

* Split file into test+generated code. Add comment

* Add license to new file

* remove unused import
2020-05-14 12:35:20 -07:00
Jonah Williams
6bd156b8ed
[null-safety] disable tests until framework has migrated (#57235) 2020-05-14 12:34:53 -07:00
Justin McCandless
8de07d5527
Bring back paste button hide behavior 3 (#57139) 2020-05-14 11:37:02 -07:00
Darren Austin
b4788f290c
Updated gen_missing_localizations to copy the english strings instead of using 'TBD' for other locales. (#57053) 2020-05-14 11:12:05 -07:00
Jenn Magder
93d7af7314
Mark gallery tests as flaky (#57231) 2020-05-14 10:55:47 -07:00
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