- 10 Jan, 2017 11 commits
-
-
Adam Barth authored
This patch improves test coverage for a number of files that had low coverage. This patch also fixes a few minor bugs found by these tests.
-
Yegor authored
-
John McCutchan authored
- [x] Wire up dependency checker and plumb flags down to the right place Fixes #7014
-
Adam Barth authored
Fixes #7375
-
Adam Barth authored
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/7351 When a test runs to completion, the test harness closes the stream side of the StreamChannel, causing the sink side to be closed as well. So by the time we receive a test result of completed/harnessBailed, the controller sink has been closed.
-
Ian Hickson authored
- better documentation - verify (at run time) that onNotification doesn't return null, and report copious helpful information if it does. - add a toString/debugFillDescription convention to Notification. - actually test Notification
-
Ian Hickson authored
This confused me briefly the other day.
-
Ian Hickson authored
-
Adam Barth authored
This patch adds a number of tests for previously untested lines.
-
Devon Carew authored
* pass additional named params to daemon run * add a trailing comma
-
- 09 Jan, 2017 6 commits
-
-
Matt Perry authored
Fixes https://github.com/flutter/flutter/issues/7210
-
Michael Goderbauer authored
-
Yegor authored
-
Hans Muller authored
-
Ian Hickson authored
This implements a new RenderViewport2 class to replace the existing RenderViewport class.
-
Todd Volkert authored
This ensures that accidental usages of dart:io's file API don't creep in over time.
-
- 07 Jan, 2017 1 commit
-
-
Todd Volkert authored
This removes direct file access from within flutter_tools in favor of using `package:file` via a `FileSystem` that's accessed via the `ApplicationContext`. This lays the groundwork for us to be able to easily swap out the underlying file system when running Flutter tools, which will be used to provide a record/replay file system, analogous to what we have for process invocations.
-
- 06 Jan, 2017 11 commits
-
-
Adam Barth authored
Fixes #7372
-
Adam Barth authored
Some clients pass null, which was previously allowed by Flexible. Fixes #7383
-
Michael Goderbauer authored
-
Adam Barth authored
Skia calls this BlendMode now and that's a better name. Fixes #7200
-
Ian Hickson authored
LayoutCallback passes constraints to the callback, but the constraints object has a different type for different subclasses. This lets you call invokeLayoutCallback() with a specific type to verify that everything is working as expected. Other changes: Slightly improve the error reporting in RenderObject. Allow toStringShallow on RenderObject to have its separator configured.
-
Ian Hickson authored
The assert helped me debug an issue recently. The TODO is obsolete.
-
Todd Volkert authored
-
Todd Volkert authored
-
Ian Hickson authored
Also, make hasOneLineDescription more discerning. Also, add a test for hasOneLineDescription. Also, add a test for GravitySimulation, to test the toString.
-
Ian Hickson authored
- more dartdocs for the drag typedefs - more toStrings to aid debugging - require the position for DragUpdateDetails since we were omitting it in some places - add the primaryVelocity to DragEndDetails so that consumers don't have to themselves track the axis in question - fix the velocity tracker so that it doesn't walk the null data. Previously, near time t=0 (which pretty much only matters in tests, but it does matter there) we would walk the velocity data and then also walk missing data, treating it as Point.zero with t=0. - simplify some of the velocity tracker; e.g. instead of trying (and failing?) to clear the velocity tracker when the pointer stalls, just drop the data before a stall during the velocity estimation (where we redundantly had another bigger horizon anyway).
-
Ian Hickson authored
Previously, SizeChangedLayoutNotifier fired a notification even for the first layout. Also, previously its test relied on that, and didn't actually change size at all. This fixes the test as well. Also, rename SizeChangedLayoutNotificaion to SizeChangedLayoutNotification.
-
- 05 Jan, 2017 11 commits
-
-
Seth Ladd authored
Closes https://github.com/flutter/flutter/issues/6907
-
Ian Hickson authored
It used to crash when the State never actually used the TickerProvider interface.
-
Ian Hickson authored
```dart expect(x, moreOrLessEquals(0.0)); ``` ...for those cases where `x` might be 1e-11 or whatever. Also, be more resilient when dumping the tree from inside the test framework. Also, add an assert that helped me debug something the other day.
-
Ian Hickson authored
-
Adam Barth authored
This class is just an alias for PlatformMessages. We'll remove it after a short deprecation period.
-
Ian Hickson authored
-
Ian Hickson authored
This lets you use `Listenable.merge` without having to sanitize your incoming list of change notifiers, in case your semantics are that they are optional.
-
Adam Barth authored
We didn't end up using this mechanism.
-
Adam Barth authored
-
Chinmay Garde authored
-
Adam Barth authored
More clearly explain the role of child, childWhenDragging, and feedback. Fixes #6962
-