Michael Goderbauer
5491c8c146
Auto-format Framework ( #160545 )
...
This auto-formats all *.dart files in the repository outside of the
`engine` subdirectory and enforces that these files stay formatted with
a presubmit check.
**Reviewers:** Please carefully review all the commits except for the
one titled "formatted". The "formatted" commit was auto-generated by
running `dev/tools/format.sh -a -f`. The other commits were hand-crafted
to prepare the repo for the formatting change. I recommend reviewing the
commits one-by-one via the "Commits" tab and avoiding Github's "Files
changed" tab as it will likely slow down your browser because of the
size of this PR.
---------
Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: LongCatIsLooong <31859944+LongCatIsLooong@users.noreply.github.com>
2024-12-19 20:06:21 +00:00
David Iglesias
1e1b5271f4
[tool] Removes deprecated --web-renderer parameter. ( #159314 )
...
Removes the `--web-renderer` option.
Flutter tool users won't be able to select their web renderer.
In order to not drop test coverage, tests are still run with the HTML
Renderer, until its code is fully removed from the engine.
Part of https://github.com/flutter/flutter/issues/145954
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
2024-12-02 18:33:02 +00:00
Matan Lurey
3a17b67353
Add a tag and assert some state in FlutterTestDriver tests. ( #159099 )
...
Towards https://github.com/flutter/flutter/issues/51421 .
Asserts some state we would not like to be hit by in integration tests
using `Flutter*TestDriver`.
In addition, adds a tag that can be used to run all tests that currently
use this pattern:
```sh
flutter test --tags flutter-test-driver
```
This showcases processes leaking quite a bit:
<https://gist.github.com/matanlurey/190d9084d3a45bc5737b8406bc05b4cd >.
2024-11-18 23:37:05 +00:00
Anna Gringauze
3b6e3a6938
Temporarily remove a bogus warning until fixed by dwds update ( #109793 )
...
* Temporarily remove a bogus warning until fixed by dwds update
* Addressed CR feedback
2022-08-19 11:06:53 -07:00
Jonah Williams
dfaec11ba5
migrate web integration tests to null safety ( #106231 )
2022-06-21 11:19:09 -07:00
Anna Gringauze
29fecb5980
Provide flutter sdk kernel files to dwds launcher instead of dart ones ( #103436 )
...
* Provide flutter sdk kernel files to dwds launcher instead of dart ones
* Update log test to report all warnings
* Update licences for new files
* Addressed CR comments
* Addressed CR comments
2022-05-11 08:52:43 -07:00
Nicholas Shahan
3074c9e04b
Add tests for web library platform defines ( #90620 )
2021-09-28 22:08:04 -07:00
Anna Gringauze
a511c436c9
Fix web_tool_tests failure on dart roll ( #88914 )
...
Helps: https://github.com/flutter/flutter/issues/88911
2021-08-25 18:22:21 -07:00
Anna Gringauze
831d82c8ea
Fix race conditions in test_driver for tool tests ( #88322 )
2021-08-17 18:37:04 -07:00
Anna Gringauze
33fd4f15a9
Fix race causing null dereference on getStack in web_tool_tests and CI flakes ( #87278 )
2021-07-29 16:59:02 -07:00
Jonah Williams
7a0b4669fc
[flutter_tools] switch web integration tests to use html ( #85325 )
2021-07-12 09:01:04 -07:00
Darren Austin
c7bfef6721
Mark flaky tests in 'expression_evaluation_web_test' as skipped. ( #84163 )
...
Turned off all tests in expression_evaluation_web_test.dart as there were several that appeared in flake reports.
2021-06-07 20:20:58 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Alexandre Ardhuin
df3662b15e
use throwsA ( #82238 )
2021-05-11 10:19:01 -07:00
Ben Konyi
75a44a29ad
[ Web ] Register service extensions with DDS, not DWDS ( #79479 )
2021-04-02 18:19:04 -07:00
Sam Rawlins
288b94115d
Remove "unnecessary" imports. ( #78666 )
2021-04-01 19:59:03 -07:00
Jenn Magder
2dbe1ec8fb
Move web tool test per-test timeout to shard ( #78508 )
2021-03-18 11:50:49 -07:00
Anna Gringauze
e8c3ce6bd1
Try fixing web tool tests on windows ( #78386 )
2021-03-17 22:13:13 -07: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
Anna Gringauze
d5b1cc5b9f
Disable failing test due to SDK issue ( #70485 )
...
* Disable failing test due to SDK issue
* Disable failing debugger and hot reload windows tests
2020-11-13 14:15:31 -08:00
Anna Gringauze
edf26e756d
Move web integration tool tests to web.shard ( #70226 )
...
* Move web integration tool tests to web.shard
Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.
In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.
* Enabled verbose mode for flaky web_tool_tests
* Split out the test changes to be commited first
2020-11-11 15:42:15 -08:00
Jonah Williams
a3f6ea6f38
[flutter_tools] split web integration tests into new shard ( #69914 )
2020-11-05 17:21:44 -08:00