-
Notifications
You must be signed in to change notification settings - Fork 163
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
GenerateMocks not working on class that GetxController #396
Comments
Mockito should throw instead of generating this library. |
@srawlins Yes exactly. I fork target library and change to the public, then it works!. |
@srawlins So should we rename the title of this issue to "Throw errors If found the private class"? I will help to contribute on this. |
We prefer generally to use type alias names in order to match the user's code; extracting out the type signature may surprise users. However, given a private type alias, we can recover the situation by extracting out the type signature. Fixes #396. PiperOrigin-RevId: 370949384
Thanks for the info @lifez ; fixed in 5.0.7. |
We prefer generally to use type alias names in order to match the user's code; extracting out the type signature may surprise users. However, given a private type alias, we can recover the situation by extracting out the type signature. Fixes dart-lang/mockito#396. PiperOrigin-RevId: 370949384
I have a class that extends GetxController from a library Getx and uses GenerateMocks but I have a problem with the screenshot below. Please advise.
Mockito: 5.0.5
Get: 4.1.4
The text was updated successfully, but these errors were encountered: