733 Commits

Author SHA1 Message Date
Justin McCandless
87882e782a Fix getLineBoundary for TextAffinity (flutter/engine#28008)
Fix a bug in a calculation when selection is at a wordwrap
2021-08-11 16:04:30 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
Jason Simmons
5126dfe55e Python 3 compatibility fix for running Java tests using run_tests.py (flutter/engine#27970)
(Note that LUCI is currently still running this script using Python 2)
2021-08-11 11:00:57 -07:00
Chris Bracken
82fdaae8a6 Use runtime checks for arguments, out directory (flutter/engine#27978)
Since verify_exported.dart is not run with assertions enabled, replace
the assertions with runtime checks and appropriate error messages:

* Adds a check for valid arguments and emits usage otherwise
* Adds a check for the presence of the out/ directory and exits with
  error if it does not exist.
2021-08-09 17:13:53 -07:00
Jenn Magder
693dd0381c Support iOS universal links route deep linking (flutter/engine#27874) 2021-08-09 14:35:11 -07:00
Jenn Magder
66134f5875 Embed OCMock and iOS tests into IosUnitTests app (flutter/engine#27899) 2021-08-05 09:50:02 -07:00
Michael Ludwig
8910b2bfc6 Remove references to deprecated SkClipOps (flutter/engine#27900) 2021-08-05 08:25:01 -07:00
Jenn Magder
ef50866478 Unskip iOS launch URL tests (flutter/engine#27854) 2021-08-04 18:37:05 -07:00
Jonah Williams
2cc2854964 Add GestureSettings and configure touch slop from Android ViewConfiguration (flutter/engine#27836) 2021-08-03 12:55:02 -07:00
Emmanuel Garcia
afbc9be3aa Add lockfiles in the scenario app (flutter/engine#27852) 2021-08-03 11:08:20 -07:00
A Reyes
8c563154db Added assertion up to cv99 for FontFeature.characterVariant (flutter/engine#27745)
* Added assertion up to cv99 for FontFeature.characterVariant

* Added FontFeature.characterVariant(99) test
2021-08-02 19:59:18 -07:00
Jenn Magder
b5409c0989 Allow iOS unit tests to run on Xcode 13 (flutter/engine#27850) 2021-08-02 14:25:02 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Zachary Anderson
5c4431a610 Use a pool for dart actions to avoid OOMs (flutter/engine#27781)
* Use a pool for dart actions to avoid OOMs

* Add Windows support
2021-07-29 23:43:49 -07:00
Jason Simmons
497e812a04 Add a run_tests flag that captures core dumps from engine unit tests and runs a GDB script (flutter/engine#27742) 2021-07-29 23:09:04 -07:00
Jason Simmons
4b035cec90 Specify the output paths of the scenario app lint task (flutter/engine#27684) 2021-07-26 13:43:02 -07:00
eggfly
a869375cd7 Re-enable fml_unittests (flutter/engine#27664) 2021-07-26 09:38:01 -07:00
Dan Field
b14a9f832b Bump leakcanary to latest version (flutter/engine#27677) 2021-07-23 14:56:02 -07:00
George Wright
868320cb91 Update test scripts for coverage (flutter/engine#27659) 2021-07-23 13:13:34 -07:00
Dan Field
298ab24bf5 Reland use a pbuffer surface when in the background (flutter/engine#27629)
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (#27607)"

This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.

* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Brandon DeRosier
e2c58529b5 Add native Android image decoder supported by API 28+ (flutter/engine#26746) 2021-07-21 13:52:29 -07:00
Dan Field
e251a228f2 Delete unused CI scripts (flutter/engine#27606) 2021-07-20 21:46:01 -07:00
Dan Field
7866392474 Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (flutter/engine#27607)
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Dan Field
9520cdc6c4 Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (flutter/engine#27141) 2021-07-20 16:05:54 -07:00
David Worsham
934eced2e4 fuchsia: Add hermetic SessionConnection tests; rename (flutter/engine#27327) 2021-07-20 13:52:09 -07:00
gaaclarke
61d6663a04 Added a test filter for objc tests (flutter/engine#27566) 2021-07-19 19:51:01 -07:00
Darren Chan
cbcbbf7102 Migrate non-scenic-based fuchsia tests to cfv2. (flutter/engine#27241)
This PR also wraps up the soft transition for #27417.

Because some unit tests depend on the real Scenic which isn't hermetic, `flutter_runner_tests` and `flutter_runner_scenic_tests` aren't currently compatible with cfv2.
This will change once a FakeScenic is created (https://fxbug.dev/79873).

See https://fxbug.dev/79691.
2021-07-16 23:41:41 -04:00
Dan Field
e257d0326c Lint android scenario app (flutter/engine#27409) 2021-07-15 14:21:01 -07:00
Darren Chan
8c6b37209c Add flutter test suites to test_suites.yaml. (flutter/engine#27417)
See https://fxbug.dev/80614 and https://fxbug.dev/79691
2021-07-15 15:37:47 -04:00
Dan Field
b63739d641 Use python to run firebase testlab, do not expect recipe to know location of APK (flutter/engine#27434) 2021-07-14 23:46:02 -07:00
Dan Field
9cceca7161 make it work on <API 24 (flutter/engine#27398) 2021-07-14 09:37:40 -07:00
Darren Chan
f90417a377 Switch test_suites to yaml. (flutter/engine#27368)
This will allow us to include package, url, and argument information in the engine repo, requiring less infra soft transitions.

The schema of this file should be something like:
```yaml
test_suites:
 - package: tests-0.far
 - url: fuchsia-pkg://fuchsia.com/tests/meta#tests.cm
 - test_args: -- --gtest_filter=-Test.Disabled
```

test_args is optional.

See https://fxbug.dev/79691.
2021-07-14 05:00:56 -04:00
Dan Field
b15aea39f1 Set ANDROID_HOME in run_gradle.py (flutter/engine#27371) 2021-07-13 14:36:13 -07:00
Dan Field
0e6c8fa761 Scenario nnbd (flutter/engine#27365)
* Revert "Revert "NNBD migration for scenario_app (#27362)" (#27364)"

This reverts commit 919219937bdebdc126383991202e5a883831998e.

* analysis issues

* no sound null safety because frontend_server is not
2021-07-13 13:46:53 -07:00
Zachary Anderson
919219937b Revert "NNBD migration for scenario_app (#27362)" (flutter/engine#27364)
This reverts commit 43e7fb916c676e23ae47a39bf53f00bc9f16e498.
2021-07-13 11:15:12 -07:00
Dan Field
43e7fb916c NNBD migration for scenario_app (flutter/engine#27362) 2021-07-13 10:56:06 -07:00
Dan Field
46caf79429 Reland build rules for scenario app (flutter/engine#27360)
* Revert "Revert "Build rules for scenario_app (#27302)" (#27358)"

This reverts commit 3b10f73c0171d6dfa965d2a50a117798d10de7f5.

* Ignore *.*framework in copy_trees
2021-07-13 10:23:08 -07:00
Zachary Anderson
3b10f73c01 Revert "Build rules for scenario_app (#27302)" (flutter/engine#27358)
This reverts commit 43495d91c23ea16cfa6074f3948776cf0d2e8647.
2021-07-13 09:22:08 -07:00
Dan Field
43495d91c2 Build rules for scenario_app (flutter/engine#27302) 2021-07-13 09:11:21 -07:00
Dan Field
bf96d4bbc8 Fix the firebase scenario app run and assert that it does good things (flutter/engine#27295) 2021-07-12 16:56:02 -07:00
Zachary Anderson
ac95dbd5bc Build testing/dart snapshots with GN instead of in run_tests.py (flutter/engine#27292) 2021-07-09 14:27:48 -07:00
Zachary Anderson
778fcfff51 Fix host_release tests for prebuilt Dart SDK (flutter/engine#27284) 2021-07-09 11:58:57 -07:00
Zachary Anderson
9b78f2cd77 Use the prebuilt SDK's VM to run its frontend_server (flutter/engine#27274) 2021-07-09 08:04:22 -07:00
Dan Field
7c17b68e0d Remove sky_services, flutter_services (flutter/engine#27238) 2021-07-08 13:12:12 -07:00
Zachary Anderson
83066bd45d Add an option to use a prebuilt Dart SDK (flutter/engine#26931) 2021-07-08 10:36:34 -07:00
Dan Field
f314bfb910 pub get offline for scenario_app (flutter/engine#27240) 2021-07-08 09:16:02 -07:00
Greg Spencer
185d8601c5 Hardware Keyboard: iOS (flutter/engine#25961)
Implement new keyboard event system for iOS.
2021-07-07 16:52:04 -07:00
gaaclarke
901e066ae8 Follow up cleanup of some unit tests for right click handling. (flutter/engine#27152) 2021-07-02 18:21:01 -07:00
Callum Moffat
764f2e1137 Support right-clicking on iPadOS (flutter/engine#27019) 2021-07-02 13:52:24 -07:00
Darren Chan
cc3f93e26d Prepare for cfv2 unittests. (flutter/engine#27036) 2021-07-01 13:11:01 -07:00