-
Notifications
You must be signed in to change notification settings - Fork 41.2k
TestTypeExcludeFilter does not implement hashCode and equals as required by its super-class #23978
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
I'm not sure that I understand the problem you're seeing. Can you please expand a bit on the problem that you're seeing and what it is that isn't working as you expect. A complete yet minimal sample that reproduces the problem would be the ideal way to do that. You can share such a sample with us by pushing it to a separate repository on GitHub or zipping it up and attaching it to this issue. |
The method hashCode in TypeExcludeFilter need be implemented, but
|
Thanks for the additional information. Unfortunately, I can't see the connection between what you've shared and |
I am sorry to provide the code now. you see my test code. Run the test class com.example.demo.DemoApplicationTests, And you can see the exception. |
Thanks for the sample. I've reproduced the failure. Your code is quite unusual, in particular injecting a With all that said, now that I understand the nature of the problem, I think we should implement |
Uh oh!
There was an error while loading. Please reload this page.
Why the class TestTypeExcludeFilter has not implemented hashCode? I have a problem with that, How can I exclude the TestTypeExcludeFilter from my test cases?
best wishes!
The text was updated successfully, but these errors were encountered: