• Alan Russian's avatar
    Change async stubbing to use thenAnswer. (#13521) · 30720bd1
    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
    30720bd1
Name
Last commit
Last update
..
analyze_continuously_test.dart Loading commit data...
analyze_duplicate_names_test.dart Loading commit data...
analyze_once_test.dart Loading commit data...
analyze_test.dart Loading commit data...
config_test.dart Loading commit data...
create_test.dart Loading commit data...
daemon_test.dart Loading commit data...
devices_test.dart Loading commit data...
doctor_test.dart Loading commit data...
drive_test.dart Loading commit data...
format_test.dart Loading commit data...
fuchsia_reload_test.dart Loading commit data...
ide_config_test.dart Loading commit data...
install_test.dart Loading commit data...
packages_test.dart Loading commit data...
run_test.dart Loading commit data...
test_test.dart Loading commit data...
upgrade_test.dart Loading commit data...