-
Notifications
You must be signed in to change notification settings - Fork 4k
🐛 [cloud_firestore] 'Object.==' and Mockito #5288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is also relevant to With # pubspec.yaml
dependencies:
flutter:
sdk: flutter # 2.0.2
firebase_auth: ^1.0.1
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^1.12.2
mockito: ^5.0.2 $ dart run build_runner build // my_test_mocks.dart
// Mocks generated by Mockito 5.0.2 from annotations
// in my_test.dart.
// Do not manually edit this file.
...
class _FakeFirebaseApp extends _i1.Fake implements _i2.FirebaseApp {}
dart-lang/mockito#354 (comment)
|
this is an encouraging |
@markusaksli-nc Can you please explain what next ? do you have any remedy/workaround/plan to resolve it ? |
I'm not really the person to ask for that. It would help if you permalink some code lines where this is an issue (following the recent null-safety updates) |
See link, above. Object's PR incoming. |
@markusaksli-nc given @mockturtl has done as you ask can you provide us with an eta at all? Ah I can see movement in the issue, so will park this for time being ;) |
I am trying to mock flutter fire plugin using Mockito, however generation fails because of using 'Object.==' inside many flutter fire classes. I reported it to Mockito plugin, however they doubt you should be using it.
Any input from your end ?
dart-lang/mockito#354
The text was updated successfully, but these errors were encountered: