You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. See code below
2. Second test works as expected
3. First test should fail, because not all fields are used
What is the code (equals method, hashCode method, relevant fields) that
triggers the problem?
public class Dummy {
private final String name;
public Dummy(final String name) {
this.name = name;
}
}
Test 1:
EqualsVerifier.forClass(Dummy.class).allFieldsShouldBeUsed().usingGetClass().ver
ify();
Test 2:
EqualsVerifier.forClass(Dummy.class).allFieldsShouldBeUsed().verify();
What error message does EqualsVerifier give?
What stacktrace does EqualsVerifier print, when called with the debug()
method?
What did you expect?
Both tests should fail
What version of EqualsVerifier are you using?
1.1.3
Please provide any additional information below.
https://groups.google.com/forum/?fromgroups=&hl=de#!topic/equalsverifier/MxuGgfg
hyE4
Original issue reported on code.google.com by [email protected] on 12 Sep 2012 at 6:58
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 12 Sep 2012 at 6:58The text was updated successfully, but these errors were encountered: