Commit graph

141 commits

Author SHA1 Message Date
Zachary Anderson a84e369bd2
Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902)
This reverts commit 53e6876226.
2022-11-08 09:26:55 -08:00
Kate Lovett 53e6876226
Allow Flutter golden file tests to be flaky (#114450)
* allow marking a golden check as flaky

* add matchesFlutterGolden to analyze.dart; no tags for flutter_goldens/lib

* Pause

* ++

* ++

* Analyzer therapy

* Once more with feeling

* Nits

* Review feedback

* Silly oops

* Test progress

* More tests

* Finish

* Nits

* Analyzer

* Review feedback

Co-authored-by: Yegor Jbanov <yjbanov@google.com>
2022-11-08 01:14:03 +00:00
Flutter GitHub Bot 37af038303
Roll pub packages (#113574) 2022-10-20 21:39:12 +00:00
Christopher Fujino db51e5d944
[flutter_tools] unpin path_provider_android and roll (#110216) 2022-08-25 19:42:21 +00:00
eggfly cf309b61b4
Fix some typos (#110077) 2022-08-24 21:56:09 +08:00
Alexander Aprelev bfdc9a6cfa
Introduce stubbed exclusive parameter to File.create-overridden method (#109646)
* Introduce stubbed `exclusive` parameter to `File.create`-overridden method.

This is to soften landing of a breaking change https://github.com/dart-lang/sdk/issues/49647
2022-08-17 13:26:08 -07:00
Kate Lovett abbc0bedca
Add more logs to diagnose Gold flake (#108930) 2022-08-04 00:11:23 +00:00
Anna Gringauze 5cd979e441
Retry getting tabs in chrome launcher on ConnectionException (#104218) 2022-05-26 15:20:11 -07:00
Pierre-Louis 74cfc3db67
Use curly_braces_in_flow_control_structures for non-flutter packages (#104629)
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_driver`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens_client`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_localizations`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_test`

* Use `curly_braces_in_flow_control_structures` for `packages/flutter_web_plugins`

* fix comments

* Use `curly_braces_in_flow_control_structures` for `packages/integration_test`

* fix indentation
2022-05-25 20:01:11 +02:00
Chris Bracken 27c6cdb416
Roll dependendencies (#103771)
Roll dependendencies

This rolls depdendencies to latest using
flutter update-packages --force-upgrade

This change includes three code changes:

* Removes charcode from the dependencies allowlist since it no longer
  appears in the transitive closure of dependencies of the flutter,
  flutter_test, flutter_driver, flutter_localizations, and
  integration_test packages.

* Uses Resolver.create instead of the deprecated Resolver constructor.
  The default Resolver constructor has been deprecated in favour of the
  static Resolver.create() factory function, which unfortunately happens
  to be async. Propagated the async-ness up the chain.
  This change was partially reverted and the deprecation ignored in this
  patch until package:coverage can be rolled internally at Google.

* Eliminates the use of the deprecated packagesPath parameter to
  HitMap.parseJson. This parameter was deprecated and replaced with
  packagePath in https://github.com/dart-lang/coverage/pull/370 which
  was part of the overall deprecation of the .packages file in Dart
  itself https://github.com/dart-lang/sdk/issues/48272. The overall goal
  being that end-user code shouldn't need to know about implementation
  details such as whether dependency information is stored in a
  .packages file or a package_info.json file, but rather use the
  package_config package to obtain the package metadata and perform
  other functions such as resolving its dependencies to filesystem
  paths. packagesPath was replaced by packagePath, which takes the path
  to the package directory itself. Internally, package:coverage then
  uses package_config to do the rest of the package/script URI
  resolution to filesystem paths.
  This change was partially reverted and the deprecation ignored in this
  patch until package:coverage can be rolled internally at Google.

This is a pre-update prior to updating flutter_template_images in
https://github.com/flutter/flutter/pull/103739

Issue: https://github.com/flutter/flutter/issues/103371
Issue: https://github.com/flutter/flutter/issues/103775
Issue: https://github.com/flutter/flutter/issues/103830

When re-applying the partially-reverted changes to code coverage,
we'll need to patch host_entrypoint.dart internally to await the Future
that we'll be returning rather than a non-async value.
2022-05-14 16:34:10 -07:00
Christopher Fujino e8c01a8aa8
[flutter_tools] pub roll (#103220)
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2022-05-10 10:26:54 -07:00
Yegor 3fe2cbabc4
[web] allow small golden deltas in HTML renderer (#102791) 2022-04-29 11:49:05 -07:00
Kate Lovett 324e6d9d4e
Re-enable Gold post-submit fail state (#101528) 2022-04-07 15:36:09 -07:00
Michael Goderbauer 3e406c6781
Prepare packages (minus tools,framework) for use_super_parameters (#100510) 2022-03-30 15:31:59 -07:00
Kate Lovett 8e7b361651
Add back Gold passfail (#100576) 2022-03-22 14:00:20 -07:00
Kate Lovett 2386fd90c9
Disable post-submit Gold failures entirely (#100332) 2022-03-17 17:07:02 -05:00
Kate Lovett 7f241ba3fa
Disable post-submit failures (#100308) 2022-03-17 11:58:26 -05:00
Ben Konyi 1880066dd3
Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
Jenn Magder 3e6e996f9e
Run update-packages --force-upgrade (#96325) 2022-01-10 13:55:16 -08:00
Kate Lovett 895beb04bb
Initialize the Skia client more efficiently (#95055) 2021-12-10 18:54:10 -08:00
Michael Thomsen bb906b6b4f
Roll packages to pick up new platform package (#94603) 2021-12-06 10:34:56 +01:00
Kate Lovett ea52013895
Close tree if unapproved golden images get in (#93516) 2021-11-15 12:40:32 -08:00
Greg Spencer 5883a6628d
Differentiate between TalkBack versions for semantics tests. (#92602)
Makes the android_semantics_testing test not fail for newer versions of Talkback.

Also, since the test now depends on pub_semver, upgraded the pubspec files.

The only substantive changes in the PR are in dev/integration_tests/android_semantics_testing/test_driver/main_test.dart
2021-10-29 16:38:09 -07:00
Yegor ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD (#92134) 2021-10-21 11:13:18 -07:00
Ian Hickson 299d484903
Enable more lints (#91642) 2021-10-14 22:03:03 -07:00
Ian Hickson f25b833f27
Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Mouad Debbar c2ea78d231
Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e.
2021-10-07 16:16:17 -04:00
Ian Hickson cb378edc9e
Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Kate Lovett 65d8dd988d
Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -07:00
Kate Lovett 8587b609a6
Update local gold api (#90072) 2021-09-14 14:53:33 -05:00
Christopher Fujino 81eb54bf78
update-packages (#88387) 2021-08-17 18:49:32 -07:00
Anna Gringauze cc63c81408
Update all packages (#87579)
- Update dwds and and the rest of the packages

Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -07:00
Yegor 78e06e716b
[web] move e2e tests from flutter/engine to flutter/flutter (#86119)
* [web] move e2e tests from flutter/engine to flutter/flutter
* flutter update-packages --force-upgrade
2021-07-09 15:31:49 -07:00
Alexandre Ardhuin 80990c21e2
code formatting (#85783) 2021-07-07 23:06:05 -07:00
Jonah Williams cd13c91119
[versions] update dependencies (#84639) 2021-06-15 11:08:57 -07:00
Alexandre Ardhuin 34059eec2c
enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
Jonah Williams 025a3a7da3
[versions] roll package test redux (#83367) 2021-05-26 17:22:28 -07:00
Jenn Magder d7e49e559b
Run update packages, pick up file 6.1.1 (#82770) 2021-05-18 13:09:03 -07:00
Alexandre Ardhuin 9bca38c5e5
remove unnecessary String.toString() (#81859) 2021-05-07 14:54:02 -07:00
Jonah Williams dfc134dd9a
[versions] roll many versions (#79088) 2021-03-25 15:43:44 -07:00
Jenn Magder 6b22834699
Update packages to pick up new process version (#78910) 2021-03-23 17:30:49 -07:00
Michael Goderbauer 0f91f0d48a
Clean-up analysis_options files (#77098) 2021-03-02 21:14:03 -08:00
Jonah Williams db1e9f053f
update all packages (#76254) 2021-02-17 17:33:56 -08:00
Jonah Williams 7088c5ba2a
Update all packages (#76143) 2021-02-16 15:29:12 -08:00
Dan Field bc1cf49458
roll packages (#75370) 2021-02-04 11:41:03 -08:00
Dan Field 1747adb630
Drop mockito for flutter_goldens (#74782) 2021-01-27 13:09:46 -08:00
Ian Hickson 544a41eb55
Remove an obsolete comment from pubspec.yaml (#73505) 2021-01-07 15:59:04 -08:00
Jonah Williams 0823d625bc
[null-safety] update version constraint (#69900) 2020-11-05 11:39:26 -08:00
Jason Simmons 9470a7e864
Revert "[null-safety] update Dart SDK constraints (#69831)" (#69854)
This reverts commit e375651cc5.
2020-11-04 21:49:59 -08:00
Jonah Williams e375651cc5
[null-safety] update Dart SDK constraints (#69831) 2020-11-04 16:50:24 -08:00