Skip to content

Usage of ComposeExtension flags a false-positive warning in newer IDEs #318

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

Closed
mannodermaus opened this issue Apr 2, 2024 · 1 comment · Fixed by #319
Closed

Usage of ComposeExtension flags a false-positive warning in newer IDEs #318

mannodermaus opened this issue Apr 2, 2024 · 1 comment · Fixed by #319
Assignees
Labels

Comments

@mannodermaus
Copy link
Owner

Screenshot 2024-04-02 at 12 09 52

The underlying issue is that, while createComposeExtension() always returns an AndroidComposeExtension that properly implements several JUnit 5 extension points, its method signature returns the super interface ComposeExtension, which does not. Therefore, newer IDEs flag usages like the above with an annoying warning.

@mannodermaus
Copy link
Owner Author

Scheduled for release in instrumentation library 1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant