• 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
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
data Loading commit data...
ios Loading commit data...
replay Loading commit data...
runner Loading commit data...
src Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_package_fonts_test.dart Loading commit data...
asset_bundle_package_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
asset_bundle_variant_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
compile_test.dart Loading commit data...
config_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
dart_dependencies_test.dart Loading commit data...
dependency_checker_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
flutter_manifest_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
resident_runner_test.dart Loading commit data...
stop_test.dart Loading commit data...
trace_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...
vmservice_test.dart Loading commit data...