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

Conversation

@mklim
Copy link
Contributor

@mklim mklim commented Jan 15, 2019

Rename PlatformViewsController to StubInAppPurchasePlatform to more
accurately describe what it's stubbing. Remove the overcomplicated
Channel class and just set a mock handler on the const MethodChannel
used by the entire plugin itself.

Rename `PlatformViewsController` to `FakeInAppPurchasePlatform` to more
accurately describe what it's faking. Remove the overcomplicated
`Channel` class and just set a mock handler on the `const MethodChannel`
used by the entire plugin itself.
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.

LGTM

@mklim mklim merged commit 5347e87 into flutter:master Jan 15, 2019
@mklim mklim deleted the iap_test_fixes branch January 15, 2019 23:15
andreidiaconu pushed a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
Rename `PlatformViewsController` to `StubInAppPurchasePlatform` to more
accurately describe what it's stubbing. Remove the overcomplicated
`Channel` class and just set a mock handler on the `const MethodChannel`
used by the entire plugin itself.
andreidiaconu added a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants