673 Commits

Author SHA1 Message Date
godofredoc
fe04881df4 Remove gn. ninja commands from test runner. (flutter/engine#26822)
* Remove gn. ninja commands from test runner.

* Fix formatting issues.

* Remove trailing space.

* Initialize command variable.
2021-06-18 17:18:11 -07:00
Dan Field
0ffc2a12a5 Migrate //testing to nullsafety (flutter/engine#26825) 2021-06-18 16:19:01 -07:00
Dan Field
255c177a14 Delete window_hooks_integration_test.dart (flutter/engine#26756) 2021-06-18 12:24:02 -07:00
godofredoc
f7ececee99 Revert "Remove autoninja calls from the analyze script. (#26752)" (flutter/engine#26812)
This reverts commit 0f363535ba38fb4faed1a17bd9ab8636be258ef4.
2021-06-17 14:56:15 -07:00
godofredoc
0f363535ba Remove autoninja calls from the analyze script. (flutter/engine#26752)
* Remove autoninja calls from the analyze script.

Calling autoninja from this script is preventing the roll of new depot
tools that requires autoninja to run from inside a goma context.

Bug: https://github.com/flutter/flutter/issues/84618

* Also remove gn commands.

* Comment the gn/ninja commands to build java tests.

* Remove the ninja command.

* Remove steps to build host_debug from tests.

* Assert folder exists.

* Remove outdated code.

* Fix path joining instructions.
2021-06-17 14:26:37 -07:00
Dan Field
badba54900 Migrate spirv to nnbd (flutter/engine#26765) 2021-06-15 11:09:01 -07:00
Zachary Anderson
cd45fc09ea Make litetest throw on test failure instead of exit() (flutter/engine#26462) 2021-05-27 18:03:50 -07:00
Christopher Crawford
0ea34941c7 Add Dart SPIR-V transpiler (flutter/engine#25480) 2021-05-25 14:34:03 -07:00
Alexander Aprelev
67abe0b333 Reland "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26400)
This reverts commit 6b463d837e120c70fc3c5dbf4535e19bbba5d228 as dart sdk with corresponding changes has landed in internal repo.
2021-05-25 09:08:23 -07:00
Jason Simmons
141c942b3d Use -rdynamic when building test executables in order to improve backtraces (flutter/engine#26382)
See https://github.com/flutter/flutter/issues/83286
2021-05-24 21:40:56 -07:00
Alexander Aprelev
6b463d837e Revert "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26371)
This reverts commit fbd8d578c659d0fd5c4bc268b2c95ca275187bd3 because it breaks g3 Fuchsia tests since g3 fuchsia doesn't have updated dart sdk.
2021-05-24 11:13:37 -07:00
Zachary Anderson
0d73194a5c Remove group() support from package:litetest (flutter/engine#26342) 2021-05-22 11:12:44 -07:00
Zachary Anderson
263c0a9cf9 Clean up upload_metrics.sh (flutter/engine#26329) 2021-05-22 09:06:09 -07:00
Zachary Anderson
996427a9ea Clean up Dart scripts in ci/ (flutter/engine#26325) 2021-05-21 13:29:23 -07:00
Darren Chan
d67fdf5256 Provide the following information to the inspect tree: (flutter/engine#26179) 2021-05-21 11:09:02 -07:00
Alexander Aprelev
fbd8d578c6 Provide better messaging when user attempts to use non-secure http connection. (flutter/engine#26226)
* Provide better message when user attempts to use non-secure http connection.

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-05-21 10:46:25 -07:00
Zachary Anderson
ac61a5fea8 Clean up testing/benchmark (flutter/engine#26313) 2021-05-21 09:49:05 -07:00
Brandon DeRosier
a83c8ab61d Refactor: Group together externally-managed UIDartState. (flutter/engine#26247)
Group together externally-managed UIDartState.

It's a frequent pattern to enable access to shell resources from the
framework via UIDartState. These handles are passed through several
other objects, where they lay mostly dormant. This refactor just aims
to ease maintenance of this state.

UIDartState is essentially just an easy to extend bus for dropping
off the shell kids in UIDartState, with constructors/operators that
remove the need for providing a full initializer lists in unittests.
2021-05-20 18:01:53 -07:00
Zachary Anderson
485954071d Use 'pub get --offline' for scenario_app deps (flutter/engine#26254) 2021-05-20 12:02:12 -07:00
Zachary Anderson
16371c3379 Use path dependencies for testing/symbols (flutter/engine#26261) 2021-05-20 09:23:21 -07:00
Dan Field
f5d97c4397 Drop package:image dependency from testing harness (flutter/engine#26279) 2021-05-20 09:19:02 -07:00
Zachary Anderson
740a85e9f0 Adds package:litetest, uses it instead of package:test under testing/dart (flutter/engine#26215) 2021-05-19 23:08:23 -07:00
Emmanuel Garcia
562e87e3f4 Fix hybrid composition case and enable test (flutter/engine#26272) 2021-05-19 20:44:03 -07:00
Jonah Williams
75017d4e26 plumb frame number through to framework (flutter/engine#26233) 2021-05-19 09:59:01 -07:00
Brandon DeRosier
b9982cdec7 Add image generator registry (flutter/engine#25987)
Add image generator protocol and priority registry.

The protocol supports multi-frame images as well as optional
subpixel/downsampled decoding.
2021-05-17 12:12:46 -07:00
Dan Field
e5527c55a9 Revert "SceneBuilder.addPicture returns the layer (#26074)" (flutter/engine#26133) 2021-05-13 15:44:02 -07:00
Felipe Archondo
2043d0839a [fuchsia] rename SessionConnection to DefaultSessionConnection (flutter/engine#26104)
In preparation for #25551, rename SessionConnection to
DefaultSessionConnection. The plan is to have SessionConnection be an
interface we can create a fake of for testing purposes.
2021-05-13 17:59:16 -04:00
Dan Field
51f1eb4284 SceneBuilder.addPicture returns the layer (flutter/engine#26074) 2021-05-11 20:11:30 -07:00
Jason Simmons
4d71fc5b8b Ensure that AutoIsolateShutdown drops its reference to the DartIsolate on the intended task runner (flutter/engine#25899) 2021-05-06 20:24:02 -07:00
Dan Field
5a4efab2a4 Get FTL test running again (flutter/engine#25771) 2021-04-26 22:09:02 -07:00
Chinmay Garde
e9527be661 Ensure stdout and stderr from failed test runs are reported from run_tests.py. (flutter/engine#25758) 2021-04-24 19:29:01 -07:00
George Wright
6978395603 Add Metal to the FlutterCompositor struct in the Embedder API (flutter/engine#25612) 2021-04-23 15:52:54 -07:00
Dan Field
ea35899927 Provide a stub platform view embedder for tester to avoid emitting errors (flutter/engine#25661) 2021-04-21 13:04:01 -07:00
David Worsham
f3cd053795 Revert "[fuchsia] Use scenic allocator service (#25385)" (flutter/engine#25655)
This reverts commit f0cf6ac1a8488f12722a5be77f0ef5fe8d0d4411.
2021-04-19 15:06:58 -07:00
LongCatIsLooong
fe01e1acbb [libTxt] resolve null leading distribution in dart:ui. (flutter/engine#25510) 2021-04-19 13:49:01 -07:00
chandarrengoog
62f12e5fbc Update gtest_filters to disable TimeSensitiveTest. (flutter/engine#25649)
Fix typo.
2021-04-19 10:22:38 -07:00
David Reveman
f0cf6ac1a8 [fuchsia] Use scenic allocator service (flutter/engine#25385)
Switch to scenic allocator and Image3 API.

Co-authored-by: David Reveman <reveman@google.com>
2021-04-16 17:12:48 -04:00
Dan Field
446b6a6a61 Support SKP captures in flutter_tester (flutter/engine#25566) 2021-04-14 09:39:01 -07:00
gaaclarke
e5a0923572 Made sure not to delete handles of dart objects if the isolate has been deleted (flutter/engine#25506) 2021-04-13 17:42:28 -07:00
Emmanuel Garcia
1bad6de1da Reland Dart plugin registrant (flutter/engine#25496) 2021-04-12 13:30:01 -07:00
chandarrengoog
26574f5de2 Update gtest_filters. (flutter/engine#25309)
Account for https://flutter-review.googlesource.com/c/recipes/+/11700.
2021-04-02 14:32:55 -07:00
Wu Zhong
4450368e6a [iOS][Test] Update scenario test tutorial (flutter/engine#25324) 2021-04-01 14:59:01 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Emmanuel Garcia
c34705f5dd Reland: "Fix memory leak and bug in the RunsOnCreationTaskRun" (flutter/engine#25317) 2021-03-31 15:16:38 -07:00
Yilong Li
eaaa732b80 fuchsia: Allow access to system services in tests. (flutter/engine#25303)
Per https://fuchsia.dev/fuchsia-src/concepts/testing/v1_test_component,
in order to access non-basic system services like Vulkan loader and
sysmem allocator, we need to add "system-services" field to the cmx
metadata file.

Unittests like "shell_test" requires Vulkan to run properly, so we
add Vulkan loader and sysmem services; for Flutter runner tests,
we also need to add fuchsia.ui.scenic.Scenic since the test needs
to create a Scenic session as well.

TEST=shell_tests (SkpWarmupTest.Basic/SkpWarmupTest.Image)
     flutter_runner_tests (EngineTest.SkpWarmUp) on FEMU
2021-03-31 13:43:33 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
chandarrengoog
b730d4b621 Copy gtest_filters from femu_test.py. (flutter/engine#25300)
Start migrating away from hard-coded gtest_filters in femu_test.py
2021-03-30 10:35:15 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
gaaclarke
4ce633698f started cleaning scenario tests before running them (flutter/engine#25222) 2021-03-24 22:49:01 -07:00
Michael Goderbauer
5d4faf7368 Sync analyzer_options.yaml (flutter/engine#25129) 2021-03-23 17:51:01 -07:00