Ben Konyi
0d023144d9
Fix race condition in flutter test when passing --serve-observatory ( #123556 )
...
`flutter test` wasn't awaiting the `_serveObservatory` request which was
causing a race condition in the `flutter test should respect
--serve-observatory` test in `test/integration.general/test_test.dart`.
Related to https://github.com/flutter/flutter/issues/123516
2023-04-20 13:46:33 -04:00
Ben Konyi
ecd7518df5
Reland "Remove references to Observatory ( #118577 )" ( #121606 )
...
This reverts commit 275ab9c69b
.
2023-02-28 11:57:04 -05:00
Michael Goderbauer
275ab9c69b
Revert "Reland "Remove references to Observatory ( #118577 )" ( #121215 )" ( #121555 )
...
Revert "Reland "Remove references to Observatory (#118577 )""
2023-02-27 23:46:53 +00:00
Ben Konyi
fbae472fc3
Reland "Remove references to Observatory ( #118577 )" ( #121215 )
...
This reverts commit 298d8c76ba
.
2023-02-27 09:26:43 -05:00
Casey Hillers
298d8c76ba
Revert "Remove references to Observatory ( #118577 )" ( #120929 )
...
This reverts commit 2df140f40d
.
2023-02-16 21:28:30 -08:00
Ben Konyi
2df140f40d
Remove references to Observatory ( #118577 )
...
Observatory is being deprecated for Dart 3.0 so it should no longer be
referenced in tooling messaging / flags.
See https://github.com/dart-lang/sdk/issues/50233
2023-02-13 14:29:30 -05:00
Helin Shiah
8842281c29
Use UriConverter from context for test ( #110539 )
...
* Use UriConverter from context for test
* Fix type
* Pass URI converter using installHook
* Fix formatting
* Fix formatting in test
* Add comment about URI converter
2022-08-31 09:20:36 -07:00
Zachary Anderson
c6ec84e978
[flutter_tools] Pull more arm64 artifacts on Apple Silicon ( #110291 )
2022-08-29 10:33:24 -07:00
Jenn Magder
7c7ae991e5
Use hasNoRemainingExpectations
matcher for fake process manager in tool tests ( #108649 )
2022-07-30 02:02:05 +00:00
Jonah Williams
db829c1e20
[flutter_tools] migrate more unit tests to null safety ( #106153 )
2022-06-17 21:34:27 -07:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00:00
Jonah Williams
90a592bf36
[flutter_tools] fix test asset loading ( #103667 )
2022-05-14 10:59:07 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Sigurd Meldgaard
66ed64be4f
Migrate .packages -> package_config.json ( #99677 )
2022-03-30 13:56:03 +02:00
Ben Konyi
2a2f973120
Update flutter_tools to look for new VM service message ( #97683 )
...
* Update flutter_tools to look for new VM service message
The Dart SDK will soon move away from the current Observatory message:
"Observatory listening on ..."
To a new message that no longer references Observatory:
"Dart VM Service listening on ..."
This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.
See https://github.com/dart-lang/sdk/issues/46756
* Fix some parsing locations
* Fix analysis failures
* Update message
* Remove extra comment
* Update message
* Add globals prefix
2022-02-15 07:33:57 -08:00
Jenn Magder
b279ff4178
Run flutter tester with arch -x86_64 on arm64 Mac ( #92508 )
2021-10-27 10:48:03 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
nt4f04uNd
80a2b6b015
Fix typos ( #82589 )
2021-05-20 17:19:09 -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
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Jia Hao
9e3eadb98d
[flutter_tools] Support Integration Tests ( #76200 )
2021-03-30 19:29:02 -07:00
Jenn Magder
d018c24bb8
MockProcessUtils->FakeProcessManager in version_test ( #77985 )
2021-03-12 16:38:04 -08:00
Jenn Magder
e5b5e1475c
Adopt FakeProcess, remove MockProcess ( #76276 )
2021-02-18 11:13:26 -08:00
Jia Hao
9e55af5246
[flutter_tools] Decouple FlutterPlatform from Process ( #74236 )
2021-02-17 10:06:04 -08:00