flutter/dev/automated_tests
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
..
flutter_test Manual roll of engine from e0011fa561d6 to 2118a1bb4bf0 (7 revisions) (#84666) 2021-06-16 06:22:34 -07:00
icon Enable widget load assets in its own package in test (#35991) 2019-07-16 09:47:42 -07:00
integration_test Revert "Init licenses for test bindings (#81961)" (#82337) 2021-05-13 21:29:03 -07:00
test_smoke_test Remove our extra timeout logic. (#89952) 2021-09-15 09:42:05 -07:00
pubspec.yaml Add smoke tests for all the examples, fix 17 broken examples. (#89021) 2021-09-28 09:32:06 -07:00
README.md Fix tests (#3977) 2016-05-17 12:45:37 -07:00

This is a fake package for use by automated testing. For example, the flutter_tools package uses this to test flutter test.