- 24 Apr, 2018 1 commit
-
-
Chris Bracken authored
Wraps the compile function in a class injected via the global context, which makes it easier to mock in unit tests -- specifically tests for AOT snapshotting, which already require pretty significant amounts of mock inputs.
-
- 12 Apr, 2018 1 commit
-
-
Alexander Aprelev authored
* Handle error count reported by frontend. Extend compilation result from single string to a structure(string filename and integer error count). * Use ?. * Include engine roll with dart sdk roll. * parse(onError) -> tryParse * Make '?? throw' more readable and avoid issue with analyzer * Fix test so it mocks compiler output including errors count
-
- 09 Apr, 2018 1 commit
-
-
Sam Rawlins authored
* Bump mockito to 3.0.0-alpha+3 * Type annotation
-
- 28 Mar, 2018 1 commit
-
-
Alexander Aprelev authored
* Revert "Revert "Move mockito to 3.0.0-alpha. (#15949)" (#15979)" This reverts commit e59651f9. * More thenReturn to thenAnswer when mocking Futures * Revert "More thenReturn to thenAnswer when mocking Futures" This reverts commit 194d2cf41754ad171efd6bb5898cf73bce5a75ab as we are reverting engine roll. * Revert "Revert "More thenReturn to thenAnswer when mocking Futures"" This reverts commit 52c9e96b304b220f66d78a252fccea0c8e0ef24c. * Add dependency override * Fix issue
-
- 27 Mar, 2018 2 commits
-
-
Alexander Aprelev authored
This reverts commit a7e62258 as there are failing tests.
-
Alexander Aprelev authored
* Move mockito to 3.0.0-alpha. This is needed so it matches mockito version used internally. * Pick up +2 for the fixes * Fix whenReturn in fuchsia_remote_debug_protocol * more thenReturn becomes thenAnswer * more thenReturn becomes thenAnswer * more thenReturn becomes thenAnswer
-
- 19 Mar, 2018 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/15361
-
- 17 Mar, 2018 3 commits
-
-
Alexander Aprelev authored
* Revert "Revert "Reland pass filesystem options (#15622)" (#15651)" This reverts commit 0f3eada0. * Fix for windows failing test * !isEmpty -> isNotEmpty
-
Alexander Aprelev authored
This reverts commit bbcf55a5 as it breaks hot reload on Windows.
-
Alexander Aprelev authored
* Revert "Revert "Pass filesystem-root, filesystem-scheme options through `flutter run, build` and gradle. (#15592)" (#15621)" This reverts commit c663e336. * Check whether filesystem-root is emtpy. * Restore broken merge * Fix windows test * Adjust regex in test. Invalidate files by file path.
-
- 16 Mar, 2018 2 commits
-
-
Alexander Aprelev authored
Revert "Pass filesystem-root, filesystem-scheme options through `flutter run, build` and gradle. (#15592)" (#15621) This reverts commit 0f659fb1 as it breaks bin/tasks/gradle_plugin_test.dart.
-
Alexander Aprelev authored
* Pass filesystem-root, filesystem-scheme options through flutter run/build/gradle.
-
- 12 Mar, 2018 1 commit
-
-
Jason Simmons authored
-
- 11 Jan, 2018 3 commits
-
-
Alexander Aprelev authored
* Reland 9534082f with fix for incremental compilation. When in incremental mode, awaiting exitCode won't work because compiler is not expected to exit after compilation. Instead listen for stdout stream closing and report error if outputFilename has not been received. * Fix lints
-
Alexander Aprelev authored
This reverts commit 9534082f. Causes hot_mode_dev_cycle__preview_dart_2_benchmark test timeout.
-
Alexander Aprelev authored
* Check frontend_server exit code. When frontend_server completes abnormally, flutter tools has to stop and let user know. * Add tests
-
- 06 Jan, 2018 1 commit
-
-
Alexander Aprelev authored
* Explicitly report CFE output(when using --preview-dart-2) * Fix test so it looks at errorText * Fix expected text
-
- 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
-
- 25 Oct, 2017 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_foreach * fix tests
-
- 13 Sep, 2017 1 commit
-
-
Alexander Aprelev authored
* Recreate outputFileName completer, handle process launch errors. * Fix formatting * Updated comment
-
- 31 Aug, 2017 1 commit
-
-
Alexander Aprelev authored
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
-