Skip to content

Conversation

@Chever-John
Copy link
Contributor

Description

Now our integration test supports the Android platform.
Write an integration test of the share_plus plugin supporting the Android Platform.

Related Issues

This is a GSoC task, so there are no associated issues for now.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated the version in pubspec.yaml and CHANGELOG.md.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • No, this is not a breaking change.

@Chever-John Chever-John marked this pull request as draft August 23, 2022 14:13
expect(Share.share('message', subject: 'title'), completes);
});

testWidgets('Tests if the expected non-null result is returned',
Copy link
Member

Choose a reason for hiding this comment

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

I mean, it is an improvement :) but could you add a reference to the method name shareWithResult?

e.g. "Can launch shareWithResult and result is not null."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes!!!

@Chever-John Chever-John marked this pull request as ready for review August 28, 2022 06:44
@miquelbeltran
Copy link
Member

I think you misunderstood me.

The test descriptions that you set are not valid and must be changed.

Please set the following test descriptions:

  • "Can launch share"
  • "Can launch shareWithResult"

@Chever-John
Copy link
Contributor Author

Sorry, I thought it was to improve my vocabulary.

But it is true that the naming you gave would be a bit more exact. Learned.

So let's see if the latest submission meets the requirements.

@miquelbeltran miquelbeltran merged commit 3ecb028 into fluttercommunity:main Aug 29, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2025
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.

2 participants