Skip to content

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented Apr 7, 2023

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. labels Apr 7, 2023
@zanderso
Copy link
Member Author

zanderso commented Apr 7, 2023

cc @Rexios80

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@goderbauer
Copy link
Member

goderbauer commented Apr 7, 2023

@Rexios80 Looks like your branch may have been outdated and didn't have these deprecations yet.

   info • 'handlePlatformMessage' is deprecated and shouldn't be used. Instead of calling this method, use ServicesBinding.instance.channelBuffers.push. In tests, consider using tester.binding.defaultBinaryMessenger.handlePlatformMessage or TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.handlePlatformMessage. This feature was deprecated after v3.9.0-19.0.pre • packages/flutter_test/lib/src/test_default_binary_messenger.dart:365:46 • deprecated_member_use
   info • 'handlePlatformMessage' is deprecated and shouldn't be used. Instead of calling this method, use ServicesBinding.instance.channelBuffers.push. In tests, consider using tester.binding.defaultBinaryMessenger.handlePlatformMessage or TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.handlePlatformMessage. This feature was deprecated after v3.9.0-19.0.pre • packages/flutter_test/lib/src/test_default_binary_messenger.dart:376:31 • deprecated_member_use
   info • 'handlePlatformMessage' is deprecated and shouldn't be used. Instead of calling this method, use ServicesBinding.instance.channelBuffers.push. In tests, consider using tester.binding.defaultBinaryMessenger.handlePlatformMessage or TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.handlePlatformMessage. This feature was deprecated after v3.9.0-19.0.pre • packages/flutter_test/lib/src/test_default_binary_messenger.dart:386:46 • deprecated_member_use

@Rexios80
Copy link
Member

Rexios80 commented Apr 7, 2023

I thought I avoided the deprecated methods. How do we continue? Do I need to make a new PR?

@pdblasi-google
Copy link
Contributor

@Rexios80

It was likely an indirect conflict with a different recent merge that only became apparent after merging. You'll have to make a new PR that avoids the method mentioned in the analyzer.

Relands typically move a lot faster though as the main code usually doesn't need to change much to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants