Alexander Aprelev
5dc4ce85d9
Revert "Handle abnormal termination of frontend compiler. ( #13982 )" ( #14037 )
...
This reverts commit 9534082fc0
.
Causes hot_mode_dev_cycle__preview_dart_2_benchmark test timeout.
2018-01-10 19:54:08 -08:00
Alexander Aprelev
9534082fc0
Handle abnormal termination of frontend compiler. ( #13982 )
...
* Check frontend_server exit code.
When frontend_server completes abnormally, flutter tools has to stop and let user know.
* Add tests
2018-01-10 17:51:08 -08:00
Alexander Aprelev
27c61eeb50
Explicitly report CFE output(when using --preview-dart-2) ( #13936 )
...
* Explicitly report CFE output(when using --preview-dart-2)
* Fix test so it looks at errorText
* Fix expected text
2018-01-05 18:51:35 -08:00
Alan Russian
30720bd148
Change async stubbing to use thenAnswer. ( #13521 )
...
* 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 e8ab9d37c3
.
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
2017-12-19 13:13:57 -08:00
Alexandre Ardhuin
28366002d9
enable lint prefer_foreach ( #12674 )
...
* enable lint prefer_foreach
* fix tests
2017-10-25 08:25:44 +02:00
Alexander Aprelev
35c47611b9
Recreate outputFileName completer, handle process launch errors. ( #11980 )
...
* Recreate outputFileName completer, handle process launch errors.
* Fix formatting
* Updated comment
2017-09-13 07:33:52 -07:00
Alexander Aprelev
c5750cd7ea
Introduce --preview-dart-2
option to run new frontend compiler in flutter tools. ( #11741 )
...
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
2017-08-31 13:35:55 -07:00