Skip to content
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

Improve test case coverage for java.util.Objects #1017

Open
Ao-senXiong opened this issue Dec 14, 2024 · 3 comments
Open

Improve test case coverage for java.util.Objects #1017

Ao-senXiong opened this issue Dec 14, 2024 · 3 comments
Assignees

Comments

@Ao-senXiong
Copy link
Member

API in java.util.Objects are heavily used in industry such as Objects.requireNonNull() and we don't have test case that use it yet.

@wmdietl
Copy link
Member

wmdietl commented Dec 14, 2024

What do you want to test about it?
Tests for a particular type system?
We do not have test cases for every annotation that is in eisop/jdk.

@Ao-senXiong
Copy link
Member Author

I would like add some tests for nullness checker that use the API in jdk.

@wmdietl
Copy link
Member

wmdietl commented Dec 14, 2024

Sure, make a PR if you feel that particular method is worth testing. But again, trying to achieve coverage of all annotations in eisop/jdk seems futile work.

Also note that we have the permit-nullness-assertion-exception.astub stub file that changes the signature of that method.
So, you would need to test with and without that stub file.

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

No branches or pull requests

2 participants