Commit Graph

417 Commits

Author SHA1 Message Date
Jenn Magder
0d79013a81 Move globals.artifacts to globals_null_migrated, update imports (#83137) 2021-05-21 18:35:02 -07:00
Jonah Williams
5c09eecd0d [flutter_tools] remove special casing of web listview requests (#82826) 2021-05-18 13:19:03 -07:00
Michael Goderbauer
b8a2456737 Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Jonah Williams
e3625706a8 [flutter_tools] remove mocks, globals from golden comparator and test runner tests | Reland
This reverts commit 027d4ecaba.
2021-04-29 22:40:59 -07:00
Michael Goderbauer
027d4ecaba Revert "[flutter_tools] remove mocks, globals from golden comparator and test runner tests (#81423)" (#81487)
This reverts commit 8fe4cc7964.
2021-04-29 10:56:57 -07:00
Jonah Williams
8fe4cc7964 [flutter_tools] remove mocks, globals from golden comparator and test runner tests (#81423) 2021-04-29 07:56:34 -07:00
Ian Hickson
e5414695d4 Change --disable-dds to --no-dds to avoid double negatives (#80900)
Also, refactor internal code to do the same.

See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-double-negatives-in-apis
2021-04-23 16:29:38 -07:00
Emmanuel Garcia
b0a63c4ffe Reland the Dart plugin registry (#79669) 2021-04-23 15:34:04 -07:00
Jonah Williams
b30d97a64c [flutter_tools] split host artifacts out of Artifacts (#80876) 2021-04-22 19:29:02 -07:00
Jonah Williams
895b317e2c [flutter_tools] use package:vm_service types for coverage collection requests (#80526) 2021-04-19 14:59:04 -07:00
Jonah Williams
5a5eb2d963 [flutter_tools] connect devtools deeplink URLs for web target platform / debug mode (#80389) 2021-04-15 10:52:09 -07:00
Jenn Magder
e8d46fea70 Start migrating flutter_tools test src to null safety (#79908) 2021-04-07 14:33:11 -07:00
Jenn Magder
eb9a2f0ca5 Move cache from globals to globals_null_migrated (#79900) 2021-04-06 17:57:40 -07:00
Jia Hao
23015dc501 [flutter_tools] Remove exception for chain stack traces for Integration Tests (#79618) 2021-04-02 14:54:03 -07:00
Jenn Magder
a83abaa3e3 Migrate fingerprint to null safety (#79587) 2021-04-01 18:29:51 -07:00
Jia Hao
06fa590cd9 [flutter_tools] Fix breakage when test main is tagged with @doNotStore (#79501) 2021-04-01 18:29:03 -07:00
Jonah Williams
4ae68a3aa2 [flutter_tools] Move sksl writing out of vm_service (#79455) 2021-04-01 13:23:40 -07:00
Jenn Magder
8ddc27e607 Split globals.dart into null sound and unsound libraries (#79016) 2021-03-31 16:55:20 -07:00
Jia Hao
9e3eadb98d [flutter_tools] Support Integration Tests (#76200) 2021-03-30 19:29:02 -07:00
Jenn Magder
83980ef246 Migrate event_printer and test_config to null safety (#79346) 2021-03-30 16:59:05 -07:00
Jonah Williams
35bd77bb08 [flutter_tools] separate concept of null safe language version from current language version (#79052) 2021-03-25 17:14:34 -07:00
Jia Hao
aa1df71c20 [flutter_tools] throwToolExit should return Never (#78954) 2021-03-24 10:40:03 -07:00
Michael Goderbauer
cec6491838 Remove ignores that are not ignoring anything (#78669) 2021-03-23 18:46:04 -07:00
Jenn Magder
0bde67e734 Migrate flutter_tool tool helper files to null safety (#78845) 2021-03-23 10:02:59 -07:00
Michael Goderbauer
197b440e96 Migrate out custom ignore syntax to flutter_ignore (#78497) 2021-03-19 15:33:05 -07:00
Michael Goderbauer
a7e3b1a35d Clean up ignores that are not ignoring anything (#78493) 2021-03-19 15:32:46 -07:00
Jonah Williams
d20ec4c7d8 [flutter_tools] read expression compilation results into memory before starting next compilation (#77867) 2021-03-11 22:18:51 -08:00
Michael Goderbauer
7b251f5f37 Enable use_function_type_syntax_for_parameters lint (#77163) 2021-03-04 08:59:17 -08:00
Jonah Williams
a3b14c58ae [flutter_tools] replace vm_service extension methods with wrapper class (#76721) 2021-02-24 15:40:33 -08:00
Jia Hao
a341da6e0e [flutter_tools] Don't stringify null values in EventPrinter (#76579) 2021-02-23 17:06:04 -08:00
Daniel Gomez
739adf3d3e Add sharding options to test command line (#76382) 2021-02-23 16:26:03 -08:00
Danny Tuppeny
74b6ce9abb Pass --run-skipped through to package:test (#76133) 2021-02-17 12:51:02 -08:00
Jia Hao
9e55af5246 [flutter_tools] Decouple FlutterPlatform from Process (#74236) 2021-02-17 10:06:04 -08:00
Jonah Williams
021311ed8a Revert "[flutter_tools] move process manager into tool (#75350)" (#75639)
This reverts commit 8b6baae44c.
2021-02-08 09:21:46 -08:00
Jonah Williams
8b6baae44c [flutter_tools] move process manager into tool (#75350)
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Jia Hao
efd487922d [flutter_tools] Merge some test options into DebuggingOptions (#75213) 2021-02-02 19:31:03 -08:00
Jia Hao
234952cf29 [flutter_tools] Simplify flutter test internals (#74176) 2021-01-28 15:24:04 -08:00
Jonah Williams
74bd7b6f6d [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832)
* opt out the flutter tool

* oops EOF

* fix import

* Update tool_backend.dart

* Update daemon_client.dart

* fix more
2021-01-27 15:17:53 -08:00
Dan Field
d1538320d2 Roll packages to null safe (vm_service, test, etc.) (#74671) 2021-01-26 09:15:54 -08:00
Jia Hao
22f1700427 [flutter_tools] Make setting of CWD consistent for flutter test (#74622) 2021-01-25 22:34:03 -08:00
Jia Hao
b362d6f480 [flutter_tools] Fix ignoring of Flutter tester exitCode (#74293) 2021-01-20 18:47:51 +08:00
Jonah Williams
df98145548 [flutter_tools] add API for passing arbitrary flags to tester binary (#73576) 2021-01-08 11:46:15 -08:00
Jia Hao
47bad77287 Support flutter_test_config for flutter test on web platforms (#72488) 2021-01-05 15:49:02 -08:00
Sam Rawlins
0dc80621eb Return null instead of empty in Future.catchError callbacks (#72409) 2020-12-16 10:38:04 -08:00
Jonah Williams
afb6b95593 [flutter_tool] fix incorrect coverage file generation (#71726) 2020-12-04 11:15:11 -08:00
Jonah Williams
9e5c8771d4 [flutter_tools] wire up native-null-assertions for flutter web (#71618) 2020-12-03 08:59:31 -08:00
Jonah Williams
ffbca11f1b [flutter_tools] delete BuildRunnerWebCompilationProxy and WebCompilationProxy (#70914) 2020-12-01 09:54:43 -08:00
Jonah Williams
b1d65e3168 [flutter_tools] support canvaskit unit testing (#70969) 2020-12-01 09:54:09 -08:00
Jonah Williams
e5000f6cea [flutter_tools] Remove usage of --precompiled flag for web tests (#70977) 2020-12-01 09:54:01 -08:00
Jonah Williams
c07661cbc5 [flutter_tools] share bootstrap module between run and test (#70903) 2020-11-20 12:11:24 -08:00