Commit Graph

464 Commits

Author SHA1 Message Date
Michael Goderbauer
c757df3bfa Remove unnecessary null checks in dev/bots (#118846) 2023-01-21 01:39:19 +00:00
Jonah Williams
1d2e62b764 remove unsound mode web test (#118256) 2023-01-10 19:03:27 +00:00
Kenzie Davisson
725c1415df Fix screenshot testing for flutter web integration_test (#117114)
* Fix screenshot testing for flutter web integration_test

* update packages

* fix method signature and todo

* Run tests on CI

* fix type

* remove silences

* Add docs

* fix comment

* fix whitespace

* review comments
2022-12-22 21:34:04 +00:00
alanwutang11
1970bc919b cacheWidth cacheHeight support for canvaskit on web (#117423)
* cacheWidth cacheHeight support for web canvaskit

* comments

* clarifying comment for loadTestImageProvider class

Co-authored-by: alanwutang11 <alpwu@google.com>
2022-12-21 21:06:06 +00:00
alanwutang11
c0dddacb81 Fix is canvas kit bool (#116944)
* isCanvasKit implement and test

* isCanvasKit implement and test

* ++

* forgot license

* make isCanvasKit a getter

* addressed comments

* forgot to change names of integration test files

* typo

* simplified tests

* comments
2022-12-17 23:33:32 -08:00
Jesús S Guerrero
0fe29f5857 Raise an exception when invalid subshard name (#113222) 2022-10-25 17:41:44 +00:00
David Iglesias
883469229e [web] Use TrustedTypes in flutter.js and other tools (#112969) 2022-10-21 16:03:51 +00:00
pdblasi-google
782baecc50 Resolve 113705: Separated longer running tests from runMisc to prevent flakiness from timeouts (#113784) 2022-10-21 16:02:14 +00:00
Jesús S Guerrero
8fd46ceeac Collect metrics - load balancing tests (#108752) 2022-09-30 19:53:35 +00:00
Jesús S Guerrero
45584b2528 Web subsharding (#112505) 2022-09-28 19:23:35 +00:00
Jonah Williams
cd83477457 [framework] work around to load self packages from packages/ (#111350) 2022-09-12 18:30:00 +00:00
Pierre-Louis
0c2f7bc2a2 Remove errant double spaces (#110758) 2022-09-02 04:00:58 +00:00
Yegor
6e57ed6088 [web] fix hot restart in entrypoint generated by flutter create (#110229) 2022-08-25 20:30:00 +00:00
Ian Hickson
97901da149 Cleaner test.dart output. (#109206) 2022-08-14 08:53:54 +00:00
Ian Hickson
03aa059c3c Do not abort at first error when tests fail. (#108936) 2022-08-05 16:18:54 -07:00
David Iglesias
04f7ea8459 [web] Add onEntrypointLoaded to FlutterLoader. (#108776) 2022-08-03 20:58:06 +00:00
Michael Goderbauer
10a7c9ba22 Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
Yegor
e505529344 [web] define $flutterDriverResult variable early in driver test initalization (#107337) 2022-07-23 00:48:06 +00:00
Alexandre Ardhuin
93a74ca9f2 remove unused members in executable libs (#107464) 2022-07-12 21:41:08 +00:00
David Iglesias
b1b1ee9ca6 [web] Fix JS crash when FF blocks service workers. (#106072) 2022-06-17 02:22:07 +00:00
Jonah Williams
92034482f9 [flutter_tool] partial null safety migration of tool source code (#105798) 2022-06-15 20:02:07 +00:00
Dacian Florea
680bc17cde [web] [fix] Cache resource data only if the fetching succeed (#103816) 2022-05-24 16:23:06 -07:00
Alexandre Ardhuin
d40ee2149c remove unnecessary .toString() (#103226) 2022-05-06 16:04:13 -07:00
Alexandre Ardhuin
07f1c20474 add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
Christopher Fujino
fd5356ff60 [flutter_tools] shard out two integration tests we want to run on macOS arm64 (#101769) 2022-04-13 12:09:11 -07:00
David Iglesias
bee95b6984 [flutter.js] Wait for reg.update, then activate sw (if not active yet). (#101464) 2022-04-11 19:04:08 -07:00
Jenn Magder
68471bbb74 Remove --enable-web and --enable-windows-desktop from tests (#101208) 2022-04-07 15:57:09 -07:00
Jenn Magder
bc0ec85717 Only run test harness tests once instead of every shard (#101218) 2022-04-04 17:27:18 -07:00
Ian Hickson
ab89ce285f Clean up the bindings APIs. (#89451) 2022-02-03 14:55:15 -08:00
Daco Harkes
54f674c23a Migrate bots/test.dart from pub run to dart run (#97575) 2022-02-02 14:40:15 -08:00
Dan Field
ffba5c425c Print a more helpful error if DDS is enabled when running integration_test and enableTimeline is called (#92509) 2022-01-19 17:50:18 -08:00
Jonah Williams
e25e1f9037 [framework] dont null assert in _debugVerifyIllFatedPopulation (#96551) 2022-01-14 13:50:29 -08:00
Ian Hickson
2835c3f116 Consider the FLUTTER_TOOL_ARGS as part of the compilation stamp (#94951) 2022-01-10 15:20:05 -08:00
Darren Austin
78f53bed51 Script to generate widget theme data defaults from the Material token database. (#95370) 2022-01-06 11:15:20 -08:00
Dan Field
ab0a335973 Ban sync*/async* from user facing code (#95050) 2021-12-12 13:05:03 -08:00
Ian Hickson
cd239599e7 Attempt to mitigate flakiness around devtools (#94879) 2021-12-10 14:54:17 -08:00
Ian Hickson
840e109e07 Improve tracing (#93086) 2021-12-10 10:09:24 -08:00
sigmundch
f51d3d7e0c [Web] Detect when running under Dart HHH Web and skip tests under investigation (#93692) 2021-11-18 22:33:04 -08:00
Greg Spencer
52ae102f18 Adds tool warning log level and command line options to fail on warning/error output (#92031) 2021-11-10 16:13:04 -08:00
Yegor
5a123f9710 [web] exclude bitrotten context_menu_action_test.dart from CanvasKit shard (#93268) 2021-11-08 11:21:58 -08:00
Casey Hillers
9d263866e4 [release_dashboard] Remove project (#92516) 2021-10-28 09:13:04 -07:00
Yegor
ad7727a21c [web] enable CanvasKit tests using a local bundle fetched from CIPD (#92134) 2021-10-21 11:13:18 -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
Greg Spencer
983cbb273b Add example test, update example READMEs (#91130) 2021-10-04 13:53:02 -07:00
Ian Hickson
4315cdcf76 Some test cleanup for flutter_tools. (#90227) 2021-10-01 10:38:02 -07:00
Kenzie (Schmoll) Davisson
5a85c0d81c Launch DevTools from the 'dart devtools' command instead of pub (#90894) 2021-09-29 15:32:24 -07:00
Greg Spencer
ab2b0851a2 Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Christopher Fujino
69ae50310b [flutter_conductor] implement UI scaffold (#90621) 2021-09-24 15:30:09 -07:00