Jonah Williams
cb7770b3a5
[flutter_tools] add support for enable null safety asserts ( #61114 )
...
Enable null safety asserts for web debug mode. This induces runtime asserts at the boundaries between null safe and non-null safe libraries. Adds integration test that validates assertion error is thrown.
#61042
2020-07-15 09:54:39 -07:00
Jenn Magder
1e510ff636
Turn on add-to-app iOS platform unit tests ( #61007 )
2020-07-09 15:52:49 -07:00
Jonah Williams
80b5ee4e7c
Roll tester ( #61128 )
...
landing to unblock meta rollback
2020-07-08 14:39:55 -07:00
Jonah Williams
de205ec13c
Roll tester version ( #60668 )
...
Includes a fix to a startup race condition and log truncation that should make sure strings aren't cut off
2020-07-06 10:36:05 -07:00
Jonah Williams
f2f48df3af
Experiment with tester on the flutter_tools general shard ( #60490 )
...
Use tester (disclaimer, written by me) to unit test the flutter tools general shard. Since these tests are designed to be hermetic, the single compilation/single isolate model offers a tremendous speedup over the default pub run test workflow. On previous linux shard, test execution alone took 10:30, while now it takes only 1:30.
2020-06-29 22:19:55 -07:00
Jenn Magder
6a2bc2617e
Replace ANDROID_HOME user messages with ANDROID_SDK_ROOT ( #59867 )
2020-06-22 18:43:04 -07:00
Jonah Williams
958f7c5b55
[flutter_tools] ensure generated entrypoint matches test and web entrypoint language version ( #59291 )
...
Ensure that the language version of the test/web generated entrypoint matches the language version of the test file to run, or the overall package language version if no annotation is provided.
2020-06-16 09:17:12 -07:00
Michael Goderbauer
584fd5f913
Word substitutions ( #59484 )
...
* Word substitutions
* ++
2020-06-16 09:15:43 -07:00
Alexandre Ardhuin
65ef1f94bb
test flutter framework with null-safety ( #59280 )
2020-06-11 16:40:02 -07:00
Jenn Magder
9037ccd355
Add per-test timeout to Cirrus tool general tests ( #58649 )
2020-06-09 12:38:01 -07:00
Jonah Williams
b1d75fc99d
[flutter_tools] add flag for sound-null-safety, unify with experiments ( #58533 )
...
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
Jonah Williams
01b9bf8ea6
[flutter_tools] deprecate flutter generate and codegen ( #58328 )
2020-06-03 09:28:02 -07:00
Jonah Williams
6bd156b8ed
[null-safety] disable tests until framework has migrated ( #57235 )
2020-05-14 12:34:53 -07:00
Jonah Williams
3ccb160da3
[flutter_tools] re-enable non-nullable test ( #57075 )
2020-05-13 09:32:03 -07:00
Jenn Magder
fab03bd1e2
Shard Cirrus build_tests ( #56735 )
2020-05-11 12:49:18 -07:00
Jenn Magder
3cb04ff9aa
Shard firebase_test_lab_tests ( #56594 )
2020-05-08 16:32:17 -07:00
Dan Field
22239f4183
Test engine version hash, but skip for Dart HHH bot ( #55223 )
2020-05-04 11:19:02 -07:00
Jonah Williams
2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file ( #56094 )
...
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
f7ad30b777
Temporarily disable nnbd flutter test test ( #55873 )
2020-04-28 10:45:36 -07:00
Jonah Williams
1ab3878996
[flutter_tools] support --enable-experiment in flutter test ( #55564 )
...
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00
Dan Field
6a490ed497
Revert "validate engine hash ( #55057 )" ( #55220 )
...
This reverts commit 98651c0252
.
2020-04-20 10:56:39 -07:00
Dan Field
98651c0252
validate engine hash ( #55057 )
2020-04-17 16:30:26 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db21
.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Yegor
14cceefe2b
Make Web shard count configurable via WEB_SHARD_COUNT ( #54678 )
2020-04-13 16:05:02 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55:03 -07:00
Christopher Fujino
19c8948e61
Fix frameworkVersionFor
for flutter doctor and usage ( #54217 )
2020-04-08 12:47:05 -07:00
Anisov Aleksey
be6234d56e
Read custom app project name from gradle.properties ( #52791 )
2020-04-05 20:46:44 -07:00
adityapstar
a57feac62e
fixed typo in HttpClient failure message ( #53211 )
2020-03-25 15:26:01 -07:00
Yegor
2e36be7691
Enable more material and cupertino tests on the Web ( #52961 )
2020-03-20 11:36:24 -07:00
Yegor
5ea13b8493
fix KeySet.hashCode; enable multiple web tests ( #52861 )
...
fix KeySet.hashCode; enable multiple web tests
2020-03-20 08:49:19 -07:00
Yegor
7b4c195f99
Fix web test flakiness; enable web golden tests ( #52789 )
...
* Fix web test flakiness; enable web golden tests
The fix is three-part:
- Only allow one test to load _and_ test at any point in time.
- Use a fresh Chrome instance for each test file.
- Increase Cirrus resources.
The first two changes only fix the "Unknown error loading" error, but not hanging tests. The resource increase also prevents hanging tests.
Other minor changes:
- Remove test batching (it's no longer necessary)
- Fix the Chrome class, which was using the wrong Completer.
2020-03-18 15:11:48 -07:00
Jonah Williams
b7101b45f5
[flutter_tools] disable added integration test due to Cirrus flakes ( #52782 )
2020-03-17 19:07:22 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Michael Thomsen
e167181444
Move flutter_gallery to the testing folder ( #52532 )
...
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery .
2020-03-16 10:31:42 +01:00
Ben Konyi
66b978a197
Update pub dependencies to roll forward package:test ( #52273 )
2020-03-10 13:26:02 -07:00
Jonah Williams
9437639590
[flutter_tools] fix coverage measurement to report on lib and not test ( #52093 )
2020-03-06 10:24:23 -08:00
Jonah Williams
bbf913bc4c
[flutter_tools] resolve requests to web directory in debug mode ( #51995 )
2020-03-05 12:34:03 -08:00
Jonah Williams
124aa6f8b1
[flutter_tools] use package:test for coverage and remove build_runner test precompilation ( #51966 )
2020-03-04 17:12:58 -08:00
Jonah Williams
9b4159c5ee
[flutter_tools] support run -d chrome test scripts ( #51658 )
2020-02-28 14:21:02 -08:00
Alexandre Ardhuin
85ab331c82
fix unnecessary_string_interpolations lint ( #50790 )
2020-02-14 10:41:23 +01:00
Yegor
b34046903b
Fix stack trace parsing on non-debug builds; add e2e tests ( #50652 )
...
* Fix stack trace parsing on non-debug builds; add e2e tests
2020-02-13 18:34:08 -08:00
Dan Field
766bd70598
Image tracing ( #50648 )
2020-02-13 14:04:02 -08:00
Jenn Magder
13e30aaec6
Remove android directory from platform_channel_swift example project ( #50213 )
2020-02-06 11:39:55 -08:00
Dan Field
b2a27c109c
Be clearer about when and why we override HttpClient in tests ( #49844 )
2020-01-31 09:22:30 -08:00
Yegor
423459da18
Initial web benchmark harness and 3 benchmarks ( #49460 )
...
Initial web benchmark harness and 3 benchmarks
2020-01-30 14:19:17 -08:00
Greg Spencer
4b4cff94bf
Move stocks example app into dev/benchmarks/test_apps ( #49559 )
...
The stocks example app is outdated and deprecated, but we still use it for some benchmark tests. Moving it into the benchmarks directory to indicate its status.
2020-01-30 09:31:07 -08:00
Jonah Williams
dd98046fe5
Revert "[flutter_tools] remove alternative build aot code path ( #49577 )" ( #49641 )
...
This reverts commit d1e25bf233
.
2020-01-28 13:21:56 -08:00