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

Add equality tests #141

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Add equality tests #141

merged 2 commits into from
Dec 12, 2024

Conversation

51-code
Copy link
Contributor

@51-code 51-code commented Dec 9, 2024

Adds equality tests originally developed to PR #100 . Equals and hashcode methods were overridden in a previous merged PR so the code for the equals and hashcode methods weren't needed anymore from #100.

There were issues in a few objects that were caught by equalsVerifier, fixed those.

elliVM and others added 2 commits December 9, 2024 10:37
make test classes and methods public

fix method reference in equals method, apply spotless

fix missing fields in equals methods, cleanup methods and use equalsverifier library for tests

test bloomTermId in ConditionConfigTest

add ConditionConfigTest

apply spotless

add hash code override methods where equals method is overwritten
@51-code 51-code added the feature Existing feature label Dec 9, 2024
@51-code 51-code requested a review from elliVM December 9, 2024 12:11
@51-code 51-code self-assigned this Dec 9, 2024
Copy link
Contributor

@elliVM elliVM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@51-code 51-code requested a review from kortemik December 11, 2024 07:20
@kortemik
Copy link
Member

good work, merging!

@kortemik kortemik merged commit 9c6c070 into teragrep:main Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants