Created attachment 28502 [details] Unit tests for equals and hashCode on property classes Following the discussion on bug #46962 about testing hashCode and equals for property classes, here is an updated patch with the test cases. I did some clean-up and started the conversion to JUnit 4. See discussion in bug #46962 about the pros and cons of this approach at testing equals and hashCode.
resetting P2 open bugs to P3 pending further review
increase priority due to presence of a patch
vincent, what is the status of this patch? do you intend to commit or can it be withdrawn?
(In reply to comment #3) > vincent, what is the status of this patch? do you intend to commit or can it be > withdrawn? vincent?
This patch is not ready to be committed. I don't think it should be withdrawn either, as it may provide a useful base for more systematically testing equals and hashCode.
(In reply to comment #5) > This patch is not ready to be committed. I don't think it should be withdrawn > either, as it may provide a useful base for more systematically testing equals > and hashCode. ok, in that case, i'm changing severity to enhancement and lowering priority to reflect lack of activity/interest at current time (if activity/interest increases, then we can raise priority)