flutter/packages/flutter_tools/test/commands
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
..
analyze_continuously_test.dart flutter_tools: ensure the context value passed to pub is consistent (#13366) 2017-12-06 08:10:56 -08:00
analyze_duplicate_names_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
analyze_once_test.dart One more timeout. Centralize definitions. (#12970) 2017-11-10 15:56:17 +01:00
analyze_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
config_test.dart pass the value of the android sdk (#11268) 2017-07-18 18:47:20 -07:00
create_test.dart Bump test timeout threshold (#13661) 2017-12-18 23:04:07 +01:00
daemon_test.dart Inject iOS, Android workflows via context (#10750) 2017-06-15 16:11:08 -07:00
devices_test.dart Use idevice_id, ideviceinfo for iOS device listing (#11883) 2017-09-01 10:10:49 -07:00
doctor_test.dart IntelliJ and Flutter plugin version checks (#10454) 2017-06-02 15:23:36 -07:00
drive_test.dart Change async stubbing to use thenAnswer. (#13521) 2017-12-19 13:13:57 -08:00
format_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
fuchsia_reload_test.dart [fuchsia_reload] Use ssh instead of netcp/netruncmd (#10436) 2017-06-22 22:08:20 -07:00
ide_config_test.dart Fixed a typo that I forgot to push before committing ide-config change. (#12998) 2017-11-13 15:27:16 -08:00
install_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
packages_test.dart One more timeout. Centralize definitions. (#12970) 2017-11-10 15:56:17 +01:00
run_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
test_test.dart Have the framework in charge of scheduling frames. (#13344) 2017-12-08 16:51:59 -08:00
upgrade_test.dart Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00