Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[firebase_analytics]Refactor unit test to use setMockMethodCallHandler #1075

Merged
merged 13 commits into from
Jul 16, 2019

Conversation

truongsinh
Copy link
Contributor

Following the discussion on flutter/flutter#26456 (comment), I figured out we have several places in https://github.com/flutter/plugins using old hacking .private, thus this is an continuingly attempt to clean up

@truongsinh
Copy link
Contributor Author

cc @amirh @jonahwilliams

Copy link
Contributor

@amirh amirh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!

@cyanglaz cyanglaz changed the title Refactor unit test to use setMockMethodCallHandler [firebase_analytics]Refactor unit test to use setMockMethodCallHandler Feb 22, 2019
@truongsinh
Copy link
Contributor Author

@collinjackson I made the change to use isMethodCall, but i'm sorry i not sure what to update pubspec.yaml/CHANGELOG. For observer_test.dart, I think it's good as is.

@collinjackson collinjackson merged commit a19a3fc into flutter:master Jul 16, 2019
@truongsinh truongsinh deleted the chore/refactor-mock-method branch July 16, 2019 13:39
mithun-mondal pushed a commit to bKash-developer/archived_plugins that referenced this pull request Aug 6, 2019
…er` (flutter#1075)

* resolve flutter#1075 (comment) with a more `dynamic` way while keep the change to minimum

* resolve feedback flutter#1075 (comment)
collinjackson pushed a commit to firebase/flutterfire that referenced this pull request Aug 14, 2019
…er` (#1075)

* resolve flutter/plugins#1075 (comment) with a more `dynamic` way while keep the change to minimum

* resolve feedback flutter/plugins#1075 (comment)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants