- 19 Dec, 2017 1 commit
-
-
Alan Russian authored
* Change async stubbing to use thenAnswer. Mockito now prohibits calling thenReturn with Futures and Streams. dart-lang/mockito#79 * Update all Mockito deps to 3.0.0. * Revert "Update all Mockito deps to 3.0.0." This reverts commit e8ab9d37c33d3d7fe384abde64ea5b4d72623c75. I did not correctly update the mockito dep, and there's no easy way to update to 3.0 alpha right now. * Change thenAnswer((_) => to thenAnswer((invocation) => * Add Invocation type to thenAnswer lambdas
-
- 23 Nov, 2017 1 commit
-
-
Chris Bracken authored
This patch reorganises flutter_driver's lib/src directory into three subdirectories: * driver: sources transitively imported/exported by flutter_driver.dart, which defines the API used by driver tests executed on the host machine. * extension: sources transitively imported/exported by driver_extension.dart, which defines the API used to instrument a Flutter app running on the target device for use with a driver test. * common: sources common to both driver and extension code. This makes rolling Flutter into repositories that use Bazel (or Bazel-like build systems) significantly more robust, due to the simpler glob patterns involved.
-
- 22 Nov, 2017 1 commit
-
-
Yegor authored
* clear timeline events prior to starting a new action * trailing commas
-
- 06 Sep, 2017 3 commits
-
-
Michael Goderbauer authored
-
Chris Bracken authored
This roll caused performance regressions in benchmarks: * complex_layout_scroll_perf * flutter_gallery_transition_perf This reverts commit f430a45a.
-
Michael Goderbauer authored
* Roll engien to 79332e5c42555875c7070c33810dab3f0012ace1 * Remove deprecated @proxy * Roll engine to ceb6d05c2fb3bd5c31a25d4b08be9fd97b55a446
-
- 10 May, 2017 1 commit
-
-
Yegor authored
-
- 10 Mar, 2017 2 commits
-
-
Todd Volkert authored
-
Yegor authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 28 Feb, 2017 1 commit
-
-
Yegor authored
-
- 10 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jan, 2017 1 commit
-
-
Ian Hickson authored
This remove a very brittle aspect of flutter drive, whereby it would assume a known port instead of explicitly finding out what it was. Fixes #7692 and hopefully fixes the devicelab tests.
-
- 09 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 10 May, 2016 1 commit
-
-
Hans Muller authored
-
- 04 May, 2016 2 commits
-
-
pq authored
As per the recent fix to the `always_specify_types` lint (https://github.com/dart-lang/linter/issues/199), literal maps and lists are now expected to be explicitly typed. Running that lint on the repo identifies quite a few spots to update. This focuses on `flutter_driver` and `flutter_sprites` (somewhat arbitrarily) but the changes are fairly representative. Note there are a number of places where I made a quick judgement on how specific to make the types. Feedback on those is welcome. (Especially as we move forward with more.)
-
Hans Muller authored
* Gallery demo start-time performance test
-
- 19 Apr, 2016 2 commits
-
-
Ian Hickson authored
Bindings now have a debugRegisterServiceExtensions() method that is invoked in debug mode (only). (Once we have a profile mode, there'll be a registerProfileServiceExtensions() method that gets called in that mode only to register extensions that apply then.) The BindingBase class provides convenience methods for registering service extensions that do the equivalent of: ```dart void extension() { ... } bool extension([bool enabled]) { ... } double extension([double extension]) { ... } Map<String, String> extension([Map<String, String> parameters]) { ... } ``` The BindingBase class also itself registers ext.flutter.reassemble, which it has call a function on the binding called reassembleApplication(). The Scheduler binding now exposes the preexisting ext.flutter.timeDilation. The Renderer binding now exposes the preexisting ext.flutter.debugPaint. The Renderer binding hooks reassembleApplication to trigger the rendering tree to be reprocessed (in particular, to fix up the optimisation closures). All the logic from rendering/debug.dart about service extensions is replaced by the above. I moved basic_types to foundation. The FlutterWidgets binding hooks reassembleApplication to trigger the widget tree to be entirely rebuilt. Flutter Driver now uses ext.flutter.driver instead of ext.flutter_driver, and is hooked using the same binding mechanism. Eventually we'll probably move the logic into the Flutter library so that you just get it without having to invoke a special method first.
-
Yegor authored
* [driver] "waitFor" command in place of broken "exits" * [driver] wait using frame callback
-
- 15 Apr, 2016 1 commit
-
-
Yegor authored
-
- 05 Apr, 2016 1 commit
-
-
Yegor authored
Fixes https://github.com/flutter/flutter/issues/2713
-
- 30 Mar, 2016 1 commit
-
-
Devon Carew authored
-
- 29 Mar, 2016 1 commit
-
-
Yegor Jbanov authored
The way we pick observatory port # has changed and we have broken logic that handles port 8181. To fix the buildbot, switch to port 8182. We can later figure out what we want to do when we clean up port handling. The old VM extention for extracting the timeline data is gone. Switch to the new '_getVMTimeline' API.
-
- 14 Mar, 2016 1 commit
-
-
Ian Hickson authored
-
- 10 Mar, 2016 1 commit
-
-
Hixie authored
And fix a zillion omissions this uncovered.
-
- 03 Mar, 2016 1 commit
-
-
yjbanov authored
-
- 02 Mar, 2016 1 commit
-
-
Yegor Jbanov authored
-
- 01 Mar, 2016 1 commit
-
-
Yegor Jbanov authored
-
- 24 Feb, 2016 1 commit
-
-
yjbanov authored
-
- 20 Feb, 2016 1 commit
-
-
yjbanov authored
Runs a test app and a driver test simultaneously, then stops the app. Usage: ``` flutter drive --target=/path/to/test/app.dart ``` This command will look for `/path/to/test/app_test.dart` by convention. We will expand into other ways of discovering tests in the future.
-
- 18 Feb, 2016 2 commits
-
-
yjbanov authored
-
Yegor Jbanov authored
This commit contains: - FlutterDriver API for e2e tests usable in conjunction with package:test - FlutterDriverExtension to be enabled by the application in order to allow an external agent to connect to it and drive user interactions and probe into the element tree - initial implementations of tap, findByValueKey and getText commands (to be expanded in future PRs)
-