Skip to content

Make FlutterPlatform public so we can start testing/refactoring it - #31616

Merged
jonahwilliams merged 1 commit into
flutter:masterfrom
jonahwilliams:flutter_platform_refactor
Apr 25, 2019
Merged

jonahwilliams merged 1 commit into
flutter:masterfrom
jonahwilliams:flutter_platform_refactor

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Description

Makes FlutterPlatform public (though really still an implementation detail) so we can test it. Adds two test cases to verify behavior wrt explicit observatory ports and precompiled entry-points.

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

cc @collinjackson

@zanderso zanderso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm w/ some comments.

class _FlutterPlatform extends PlatformPlugin {
_FlutterPlatform({
/// The flutter test platform used to integrate with package:test.
class FlutterPlatform extends PlatformPlugin {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Consider adding docs for the public fields/methods.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'd like to significantly refactor this configuration so these will likely move around a bit over the next few weeks. I will ensure each field is documented once moved

@jonahwilliams
jonahwilliams merged commit 52415cb into flutter:master Apr 25, 2019
@jonahwilliams
jonahwilliams deleted the flutter_platform_refactor branch April 25, 2019 21:01
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants