756 Commits

Author SHA1 Message Date
Chinmay Garde
f23eeaba7a Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28509)
This reverts commit db55f9274993a34bb6a0c81cc377cde54bb585d7.
2021-09-08 10:33:54 -07:00
Kaushik Iska
db55f92749 Add benchmarks to measure dart -> native time (flutter/engine#28492) 2021-09-08 09:17:01 -07:00
Jim Graham
10d49ea696 Add RasterCache metrics to the FrameTimings (flutter/engine#28439) 2021-09-03 16:26:01 -07:00
Dan Field
01b6571ebc Drop unneded kotlin dep (flutter/engine#28375) 2021-08-31 15:31:02 -07:00
Christopher Crawford
4ac725f85f Fix function definitions in SPIR-V transpiler. (flutter/engine#28352)
Function calls were not tested and the definitions of function parameters were output separately, since the transpiler used to output function declarations before implementations.

Closes issue flutter/flutter#89083
2021-08-30 17:47:01 -07:00
ColdPaleLight
d90a23b4ae Support raw straight RGBA format in Image.toByteData() (flutter/engine#28293) 2021-08-27 10:11:01 -07:00
Brandon DeRosier
5bb761bbe8 Remove overflow suppression (flutter/engine#28317) 2021-08-25 17:00:32 -07:00
Jason Simmons
a00125e2e4 Run the Android Robolectric tests using Gradle (flutter/engine#28084) 2021-08-25 09:11:02 -07:00
ColdPaleLight
138cde7ea8 Correct the return value of the method RunInIsolateScope (flutter/engine#28161) 2021-08-24 11:24:03 -07:00
Brandon DeRosier
bb11686888 Symbolize ASan traces when using run_tests.py (flutter/engine#28274)
* Configure ASan to symbolize on linux

* Supply ASAN_SYMBOLIZER_PATH when running tests, fix problem with line stripping in run_tests
2021-08-23 16:43:01 -07:00
Dan Field
d8ce6688ad No more gradlew, instead get gradle during gclient sync (flutter/engine#28264) 2021-08-23 13:58:22 -07:00
Matej Knopp
b48f5143ac Enable repeat for desktop embedder tests (flutter/engine#28253) 2021-08-23 09:07:02 -07:00
Brandon DeRosier
a5adf663ce Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235) 2021-08-20 14:48:30 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Martin Kustermann
d915f0c519 Normalize the path that ANDROID_HOME uses (flutter/engine#28222)
The gradle/android tooling will validate that ANDROID_HOME and
ANDROID_SDK_ROOT are precisely the same. So if they point to the same
directory but are not normalized this check will fail.

Fixes Dart-Flutter Head-Head-Head bot which failed with
```
Several environment variables and/or system properties contain different paths to the SDK.
  Please correct and use only one way to inject the SDK location.
  
  ANDROID_HOME: /b/s/w/ir/cache/builder/engine/src/flutter/testing/rules/../../../third_party/android_tools/sdk
  ANDROID_SDK_ROOT: /b/s/w/ir/cache/builder/engine/src/third_party/android_tools/sdk
```
2021-08-20 16:03:43 +02:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Brandon DeRosier
792f013ddb Use the suppressions script to source runtime suppressions in run_tests.py (flutter/engine#28140) 2021-08-17 14:34:24 -07:00
Brandon DeRosier
0d81592d40 Add asan flag to run_tests.py (flutter/engine#28082) 2021-08-13 14:26:19 -07:00
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